Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001652/0.001652, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001648/0.001648, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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 0.9904/0.9904, allocations: 177 MB / 204.8 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.114e-05, allocations: 2.312 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1265/0.1265, allocations: 19.94 MB / 292.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.1379, allocations: 6.119 MB / 299 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004004/0.1419, allocations: 205.3 kB / 299.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007679/0.1496, allocations: 6.85 MB / 306.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007109/0.1567, allocations: 3.63 MB / 309.7 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.1595, allocations: 1.914 MB / 311.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.1711, allocations: 15.11 MB / 326.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008341/0.1794, allocations: 8.066 MB / 334.8 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.1907, allocations: 8.618 MB / 343.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007004/0.1977, allocations: 5.92 MB / 349.3 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002136/0.1999, allocations: 0.7852 MB / 350.1 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.2037, allocations: 1.705 MB / 351.8 MB, free: 2.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005449/0.2091, allocations: 4.793 MB / 356.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005512/0.2146, allocations: 2.93 MB / 359.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.2288, allocations: 9.309 MB / 368.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.2288, allocations: 0 / 368.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2288, allocations: 0 / 368.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005077/0.2294, allocations: 0 / 368.8 MB, free: 1.371 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02042/0.2498, allocations: 11.11 MB / 380 MB, free: 6.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2498, allocations: 15.98 kB / 380 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02656/0.2764, allocations: 6.035 MB / 386 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009852/0.2862, allocations: 6.315 MB / 392.3 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/0.2866, allocations: 444 kB / 392.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.2879, allocations: 0.6133 MB / 393.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01814/0.3061, allocations: 10.73 MB / 404.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002711/0.3063, allocations: 91.3 kB / 404.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006513/0.307, allocations: 279.8 kB / 404.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002374/0.3093, allocations: 2.769 MB / 407.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.3226, allocations: 5.438 MB / 412.7 MB, free: 3.855 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.2762/0.5988, allocations: 72.33 MB / 485 MB, free: 53.97 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009644/0.6084, allocations: 4.054 MB / 489 MB, free: 53.79 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.6102, allocations: 1.114 MB / 490.2 MB, free: 53.73 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.6218, allocations: 7.641 MB / 497.8 MB, free: 51.92 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.6219, allocations: 68.38 kB / 497.9 MB, free: 51.86 MB / 378.8 MB Notification: Performance of pre-optimization done (n=260): time 6.522e-06/0.6219, allocations: 0 / 497.9 MB, free: 51.86 MB / 378.8 MB Notification: Performance of matching and sorting (n=316): time 0.05525/0.6771, allocations: 25.74 MB / 0.5113 GB, free: 35.23 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.6772, allocations: 397.9 kB / 0.5117 GB, free: 34.76 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006478/0.6837, allocations: 6.349 MB / 0.5179 GB, free: 28.65 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002702/0.684, allocations: 73.7 kB / 0.518 GB, free: 28.57 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002574/0.6865, allocations: 5.753 MB / 0.5236 GB, free: 23.41 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008591/0.6874, allocations: 1.269 MB / 0.5248 GB, free: 22.15 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/0.6892, allocations: 1.982 MB / 0.5268 GB, free: 20.16 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.6893, allocations: 476.8 kB / 0.5272 GB, free: 19.69 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.6912, allocations: 1.076 MB / 0.5283 GB, free: 18.61 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004058/0.6952, allocations: 8.818 MB / 0.5369 GB, free: 6.395 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008691/0.7039, allocations: 10.61 MB / 0.5472 GB, free: 8.723 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/0.704, allocations: 48 kB / 0.5473 GB, free: 8.676 MB / 394.8 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.01546/0.7195, allocations: 8.691 MB / 0.5558 GB, free: 15.93 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.7196, allocations: 80.94 kB / 0.5559 GB, free: 15.85 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001739/0.7198, allocations: 176 kB / 0.556 GB, free: 15.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004396/0.7242, allocations: 1.696 MB / 0.5577 GB, free: 13.97 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/0.7282, allocations: 2.117 MB / 0.5597 GB, free: 11.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007651/0.7358, allocations: 7.442 MB / 0.567 GB, free: 4.172 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/0.7409, allocations: 0.6165 MB / 0.5676 GB, free: 3.555 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008383/0.7417, allocations: 0.5226 MB / 0.5681 GB, free: 3.039 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (1132): * Single equations (assignments): 1125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,46,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002191/0.7439, allocations: 0.9025 MB / 0.569 GB, free: 2.121 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.7451, allocations: 0.7263 MB / 0.5697 GB, free: 1.391 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1349/0.88, allocations: 3.137 MB / 0.5728 GB, free: 124.4 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/0.8801, allocations: 31.12 kB / 0.5728 GB, free: 124.4 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/0.8801, allocations: 11.14 kB / 0.5728 GB, free: 124.4 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-05/0.8802, allocations: 14.61 kB / 0.5728 GB, free: 124.4 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/0.9006, allocations: 11.79 MB / 0.5844 GB, free: 122.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/0.9006, allocations: 21.25 kB / 0.5844 GB, free: 122.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.9022, allocations: 0.5333 MB / 0.5849 GB, free: 122.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004099/0.9063, allocations: 1.438 MB / 0.5863 GB, free: 122.6 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.9065, allocations: 81.05 kB / 0.5864 GB, free: 122.6 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007454/0.914, allocations: 6.912 MB / 0.5931 GB, free: 118.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/0.914, allocations: 30.41 kB / 0.5932 GB, free: 118.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008263/0.9223, allocations: 5.371 MB / 0.5984 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.9238, allocations: 0.6999 MB / 0.5991 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007405/0.9245, allocations: 78.7 kB / 0.5992 GB, free: 116.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/0.9266, allocations: 281.4 kB / 0.5994 GB, free: 116.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/0.9271, allocations: 278.8 kB / 0.5997 GB, free: 116.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.9273, allocations: 105.9 kB / 0.5998 GB, free: 116.1 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.004288/0.9316, allocations: 2.947 MB / 0.6027 GB, free: 115.2 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9316, allocations: 0 / 0.6027 GB, free: 115.2 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007542/0.9391, allocations: 2.087 MB / 0.6047 GB, free: 114.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (260): * Single equations (assignments): 253 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006473/0.9398, allocations: 264.3 kB / 0.605 GB, free: 114.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.008529/0.9483, allocations: 5.077 MB / 0.6099 GB, free: 110.4 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.105e-05/0.9483, allocations: 4 kB / 0.6099 GB, free: 110.4 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.9512, allocations: 1.76 MB / 0.6116 GB, free: 108.9 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/0.9564, allocations: 0.9922 MB / 0.6126 GB, free: 108.1 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/0.9758, allocations: 15.02 MB / 0.6273 GB, free: 92.84 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/0.9779, allocations: 2.385 MB / 0.6296 GB, free: 90.42 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003873/0.9818, allocations: 2.279 MB / 0.6318 GB, free: 88.14 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/0.9828, allocations: 416.4 kB / 0.6322 GB, free: 87.73 MB / 410.8 MB Notification: Performance of SimCode: time 2.505e-06/0.9828, allocations: 0 / 0.6322 GB, free: 87.73 MB / 410.8 MB Notification: Performance of Templates: time 0.08207/1.065, allocations: 69.72 MB / 0.7003 GB, free: 19 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.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.209364512003958]