Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009532/0.0009532, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009392/0.0009392, allocations: 162.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.018/1.018, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.003e-05, allocations: 2.312 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1278/0.1279, allocations: 18.78 MB / 291.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00921/0.1371, allocations: 5.904 MB / 297.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.1392, allocations: 196.7 kB / 297.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006178/0.1453, allocations: 6.276 MB / 304.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.1518, allocations: 3.525 MB / 307.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.1541, allocations: 1.821 MB / 309.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.1652, allocations: 14.8 MB / 324.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007481/0.1727, allocations: 7.724 MB / 332.1 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007014/0.1797, allocations: 5.563 MB / 337.6 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006076/0.1858, allocations: 5.76 MB / 343.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.1869, allocations: 0.7461 MB / 344.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.1892, allocations: 1.666 MB / 345.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003009/0.1922, allocations: 4.583 MB / 350.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.1951, allocations: 2.809 MB / 353.2 MB, free: 1.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.2036, allocations: 8.931 MB / 362.1 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2036, allocations: 0 / 362.1 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2036, allocations: 0 / 362.1 MB, free: 8.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000258/0.2039, allocations: 0 / 362.1 MB, free: 8.473 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01502/0.2189, allocations: 10.62 MB / 372.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2189, allocations: 11.98 kB / 372.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03051/0.2494, allocations: 6.195 MB / 378.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/0.2635, allocations: 6.954 MB / 385.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003497/0.2639, allocations: 423.4 kB / 386.3 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/0.2657, allocations: 0.5859 MB / 386.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/0.2865, allocations: 10.31 MB / 397.2 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002726/0.2868, allocations: 95.3 kB / 397.3 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007058/0.2875, allocations: 267.8 kB / 397.6 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004338/0.2919, allocations: 2.764 MB / 400.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/0.3047, allocations: 5.41 MB / 405.7 MB, free: 11.16 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2455/0.5503, allocations: 70.04 MB / 475.8 MB, free: 64.55 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.5608, allocations: 4.922 MB / 480.7 MB, free: 64.38 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.5626, allocations: 1.394 MB / 482.1 MB, free: 64.31 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008734/0.5714, allocations: 7.402 MB / 489.5 MB, free: 60.92 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.5714, allocations: 68.27 kB / 489.6 MB, free: 60.86 MB / 378.8 MB Notification: Performance of pre-optimization done (n=280): time 5.841e-06/0.5714, allocations: 0 / 489.6 MB, free: 60.86 MB / 378.8 MB Notification: Performance of matching and sorting (n=339): time 0.08401/0.6554, allocations: 39.21 MB / 0.5164 GB, free: 28.04 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6555, allocations: 402 kB / 0.5168 GB, free: 27.56 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006445/0.662, allocations: 6.049 MB / 0.5227 GB, free: 21.7 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001137/0.6631, allocations: 77.7 kB / 0.5227 GB, free: 21.62 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002842/0.666, allocations: 5.451 MB / 0.5281 GB, free: 16.64 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001682/0.6676, allocations: 1.339 MB / 0.5294 GB, free: 15.32 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/0.6693, allocations: 1.943 MB / 0.5313 GB, free: 13.36 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.6694, allocations: 480.7 kB / 0.5317 GB, free: 12.89 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.6714, allocations: 1.521 MB / 0.5332 GB, free: 11.36 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/0.6752, allocations: 8.685 MB / 0.5417 GB, free: 15.48 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009854/0.6851, allocations: 10.96 MB / 0.5524 GB, free: 1.41 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/0.6852, allocations: 44 kB / 0.5524 GB, free: 1.367 MB / 394.8 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02242/0.7076, allocations: 12.28 MB / 0.5644 GB, free: 5.031 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.7077, allocations: 76 kB / 0.5645 GB, free: 4.957 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/0.7079, allocations: 163.9 kB / 0.5647 GB, free: 4.797 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1346/0.8425, allocations: 5.146 MB / 0.5697 GB, free: 126.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/0.8477, allocations: 1.929 MB / 0.5716 GB, free: 126.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.8673, allocations: 14.43 MB / 0.5857 GB, free: 120.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005979/0.8733, allocations: 0.6925 MB / 0.5863 GB, free: 120.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/0.8744, allocations: 0.4917 MB / 0.5868 GB, free: 120.4 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002268/0.8767, allocations: 0.8549 MB / 0.5876 GB, free: 120.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/0.8779, allocations: 0.7186 MB / 0.5883 GB, free: 120.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/0.8929, allocations: 7.304 MB / 0.5955 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.725e-05/0.893, allocations: 38.2 kB / 0.5955 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/0.893, allocations: 24.5 kB / 0.5955 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/0.893, allocations: 13.22 kB / 0.5956 GB, free: 119.7 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03037/0.9234, allocations: 16.89 MB / 0.612 GB, free: 111.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/0.9234, allocations: 11.69 kB / 0.6121 GB, free: 111 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.9248, allocations: 415.3 kB / 0.6125 GB, free: 110.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01453/0.9393, allocations: 4.793 MB / 0.6171 GB, free: 105.9 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005946/0.9399, allocations: 70.61 kB / 0.6172 GB, free: 105.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/0.9572, allocations: 13.64 MB / 0.6305 GB, free: 92.16 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.9572, allocations: 11.94 kB / 0.6305 GB, free: 92.15 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/0.9726, allocations: 9.04 MB / 0.6394 GB, free: 83.27 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/0.9742, allocations: 0.6698 MB / 0.64 GB, free: 82.62 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006748/0.9749, allocations: 60 kB / 0.6401 GB, free: 82.56 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/0.9769, allocations: 403.3 kB / 0.6405 GB, free: 82.16 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006593/0.9776, allocations: 254.4 kB / 0.6407 GB, free: 81.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.9778, allocations: 91.98 kB / 0.6408 GB, free: 81.82 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003157/0.9809, allocations: 2.825 MB / 0.6436 GB, free: 79.01 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9809, allocations: 0 / 0.6436 GB, free: 79.01 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005764/0.9867, allocations: 2.413 MB / 0.6459 GB, free: 76.61 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 208 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005391/0.9872, allocations: 225.8 kB / 0.6461 GB, free: 76.39 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.008324/0.9956, allocations: 6.683 MB / 0.6526 GB, free: 69.65 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.9956, allocations: 0 / 0.6526 GB, free: 69.65 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003553/0.9991, allocations: 2.95 MB / 0.6555 GB, free: 66.62 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/1.002, allocations: 0.9485 MB / 0.6565 GB, free: 65.71 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/1.021, allocations: 15.56 MB / 0.6716 GB, free: 49.95 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/1.023, allocations: 2.339 MB / 0.6739 GB, free: 47.59 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003396/1.026, allocations: 2.156 MB / 0.676 GB, free: 45.42 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008044/1.027, allocations: 384.4 kB / 0.6764 GB, free: 45.05 MB / 410.8 MB Notification: Performance of SimCode: time 3.036e-06/1.027, allocations: 0 / 0.6764 GB, free: 45.05 MB / 410.8 MB Notification: Performance of Templates: time 0.2048/1.232, allocations: 95.54 MB / 0.7697 GB, free: 92.3 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.594882589066401]