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.000939/0.000939, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.001005/0.001005, allocations: 162.1 kB / 25.61 MB, free: 8.582 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 0.9061/0.9061, allocations: 177 MB / 205.9 MB, free: 4.457 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 1.222e-06/1.222e-06, allocations: 0 / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.922e-05, allocations: 2.312 kB / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.0322/0.03222, allocations: 18.2 MB / 292.3 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009848/0.04207, allocations: 5.871 MB / 298.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.044, allocations: 190.9 kB / 298.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005342/0.04934, allocations: 6.183 MB / 304.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.05414, allocations: 3.53 MB / 308.1 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.05623, allocations: 1.821 MB / 309.9 MB, free: 348 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01151/0.06775, allocations: 14.81 MB / 324.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005951/0.0737, allocations: 7.724 MB / 332.5 MB, free: 9.703 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007041/0.08074, allocations: 8.411 MB / 340.9 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.156/0.2367, allocations: 5.716 MB / 346.6 MB, free: 36.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001995/0.2387, allocations: 0.7505 MB / 347.3 MB, free: 36.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.241, allocations: 1.666 MB / 349 MB, free: 36.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002589/0.2436, allocations: 4.601 MB / 353.6 MB, free: 36.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003485/0.2471, allocations: 2.81 MB / 356.4 MB, free: 36.37 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006731/0.2538, allocations: 8.975 MB / 365.4 MB, free: 35.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2538, allocations: 0 / 365.4 MB, free: 35.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2538, allocations: 5.25 kB / 365.4 MB, free: 35.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002501/0.2541, allocations: 0 / 365.4 MB, free: 35.09 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.009863/0.264, allocations: 9.924 MB / 375.3 MB, free: 30.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.264, allocations: 11.78 kB / 375.3 MB, free: 30.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01963/0.2836, allocations: 5.019 MB / 380.4 MB, free: 26.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006341/0.29, allocations: 5.322 MB / 385.7 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.2901, allocations: 430.6 kB / 386.1 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005725/0.2907, allocations: 0.5851 MB / 386.7 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008127/0.2988, allocations: 9.3 MB / 396 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.2989, allocations: 89.58 kB / 396.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.2993, allocations: 270.3 kB / 396.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001596/0.3009, allocations: 2.516 MB / 398.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00601/0.3069, allocations: 4.058 MB / 402.9 MB, free: 3.977 MB / 314.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.05074/0.3577, allocations: 69.56 MB / 472.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009874/0.3676, allocations: 3.217 MB / 475.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.369, allocations: 0.9096 MB / 476.6 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.3805, allocations: 6.926 MB / 483.5 MB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.3806, allocations: 75.03 kB / 483.6 MB, free: 3.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=248): time 5.14e-06/0.3806, allocations: 3.938 kB / 483.6 MB, free: 3.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=298): time 0.1826/0.5632, allocations: 17.54 MB / 0.4894 GB, free: 106.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.5632, allocations: 401 kB / 0.4898 GB, free: 106.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/0.5674, allocations: 6.112 MB / 0.4957 GB, free: 105.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.5676, allocations: 76.55 kB / 0.4958 GB, free: 105.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.5693, allocations: 5.619 MB / 0.5013 GB, free: 102.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005083/0.5698, allocations: 1.211 MB / 0.5025 GB, free: 101.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.5712, allocations: 1.988 MB / 0.5044 GB, free: 101.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.299e-05/0.5712, allocations: 476.8 kB / 0.5049 GB, free: 100.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5725, allocations: 0.9284 MB / 0.5058 GB, free: 100.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/0.5753, allocations: 8.609 MB / 0.5142 GB, free: 91.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/0.5798, allocations: 10.09 MB / 0.5241 GB, free: 81.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-05/0.5798, allocations: 48.09 kB / 0.5241 GB, free: 81.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.0076/0.5874, allocations: 7.617 MB / 0.5315 GB, free: 76.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.5875, allocations: 84.16 kB / 0.5316 GB, free: 76.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.196e-05/0.5876, allocations: 176 kB / 0.5318 GB, free: 76.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/0.5903, allocations: 1.262 MB / 0.533 GB, free: 75.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/0.5933, allocations: 1.988 MB / 0.535 GB, free: 73.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005147/0.5984, allocations: 6.723 MB / 0.5415 GB, free: 67.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/0.6016, allocations: 371.7 kB / 0.5419 GB, free: 67.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/0.602, allocations: 444 kB / 0.5423 GB, free: 66.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * 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 (1106): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * 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,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001664/0.6036, allocations: 0.8842 MB / 0.5432 GB, free: 65.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006056/0.6042, allocations: 0.699 MB / 0.5439 GB, free: 65.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.6075, allocations: 2.483 MB / 0.5463 GB, free: 62.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/0.6075, allocations: 32 kB / 0.5463 GB, free: 62.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.6075, allocations: 8 kB / 0.5463 GB, free: 62.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.6075, allocations: 20.7 kB / 0.5463 GB, free: 62.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.6187, allocations: 10.57 MB / 0.5567 GB, free: 52.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6187, allocations: 20.25 kB / 0.5567 GB, free: 52.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008832/0.6196, allocations: 431.3 kB / 0.5571 GB, free: 52.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.622, allocations: 1.03 MB / 0.5581 GB, free: 51.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.6221, allocations: 80 kB / 0.5582 GB, free: 51.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004329/0.6264, allocations: 5.786 MB / 0.5638 GB, free: 45.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.6265, allocations: 31.88 kB / 0.5639 GB, free: 45.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/0.631, allocations: 4.563 MB / 0.5683 GB, free: 40.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009136/0.6319, allocations: 0.6505 MB / 0.5689 GB, free: 39.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/0.6324, allocations: 83.97 kB / 0.569 GB, free: 39.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.6337, allocations: 79.98 kB / 0.5691 GB, free: 39.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.634, allocations: 261.1 kB / 0.5693 GB, free: 39.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.6342, allocations: 92.02 kB / 0.5694 GB, free: 38.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002369/0.6365, allocations: 2.643 MB / 0.572 GB, free: 36.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6365, allocations: 0 / 0.572 GB, free: 36.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005934/0.6425, allocations: 2.023 MB / 0.574 GB, free: 34.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * 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 (246): * Single equations (assignments): 239 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * 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,38,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004238/0.6429, allocations: 257.8 kB / 0.5742 GB, free: 34.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004683/0.6476, allocations: 4.605 MB / 0.5787 GB, free: 29.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.6476, allocations: 4 kB / 0.5787 GB, free: 29.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.649, allocations: 1.599 MB / 0.5803 GB, free: 28.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.6517, allocations: 0.9658 MB / 0.5812 GB, free: 27.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.6647, allocations: 14.28 MB / 0.5952 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.6662, allocations: 2.29 MB / 0.5974 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001704/0.6679, allocations: 0.8335 MB / 0.5982 GB, free: 9.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.6693, allocations: 1.092 MB / 0.5993 GB, free: 8.25 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6693, allocations: 0 / 0.5993 GB, free: 8.25 MB / 394.7 MB Notification: Performance of Templates: time 0.1999/0.8692, allocations: 71.09 MB / 0.6687 GB, free: 84.7 MB / 410.7 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.124030656181276]