Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 76.81 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 162.9 kB / 25.7 MB, free: 7.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8304/0.8304, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.841e-05, allocations: 6.25 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02317/0.02319, allocations: 19.35 MB / 270.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.03635, allocations: 6.38 MB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.03945, allocations: 202.8 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006718/0.04617, allocations: 6.833 MB / 284.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0064/0.05257, allocations: 3.756 MB / 288.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.05514, allocations: 1.934 MB / 290 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.06701, allocations: 13.51 MB / 303.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008065/0.07507, allocations: 8.285 MB / 311.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009014/0.08409, allocations: 7.564 MB / 319.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006283/0.09037, allocations: 5.698 MB / 325.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.0918, allocations: 0.7891 MB / 325.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.09425, allocations: 1.713 MB / 327.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003426/0.09768, allocations: 4.84 MB / 332.4 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003469/0.1011, allocations: 2.968 MB / 335.4 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008521/0.1097, allocations: 9.39 MB / 344.8 MB, free: 9.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1097, allocations: 0 / 344.8 MB, free: 9.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1097, allocations: 0 / 344.8 MB, free: 9.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003003/0.11, allocations: 0 / 344.8 MB, free: 9.656 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.01145/0.1214, allocations: 9.411 MB / 354.2 MB, free: 168 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1215, allocations: 11.98 kB / 354.2 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.11/0.2314, allocations: 2.272 MB / 356.5 MB, free: 98.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008249/0.2397, allocations: 5.288 MB / 361.7 MB, free: 98.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.24, allocations: 453.4 kB / 362.2 MB, free: 98.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.2411, allocations: 0.6099 MB / 362.8 MB, free: 97.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009767/0.2509, allocations: 8.723 MB / 371.5 MB, free: 89.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/0.2511, allocations: 95.27 kB / 371.6 MB, free: 89.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005041/0.2516, allocations: 280.3 kB / 371.9 MB, free: 89.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001715/0.2533, allocations: 2.608 MB / 374.5 MB, free: 86.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007343/0.2606, allocations: 4.215 MB / 378.7 MB, free: 82.83 MB / 330.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.0428/0.3034, allocations: 51.82 MB / 430.5 MB, free: 30 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007181/0.3106, allocations: 3.22 MB / 433.8 MB, free: 26.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.3118, allocations: 0.7336 MB / 434.5 MB, free: 25.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009817/0.3216, allocations: 6.749 MB / 441.2 MB, free: 19.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3217, allocations: 68.48 kB / 441.3 MB, free: 19.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=262): time 5.009e-06/0.3217, allocations: 0 / 441.3 MB, free: 19.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=317): time 0.03618/0.3578, allocations: 15 MB / 456.3 MB, free: 4.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.3579, allocations: 393.9 kB / 456.7 MB, free: 3.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004749/0.3627, allocations: 5.747 MB / 462.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002635/0.3629, allocations: 77.7 kB / 462.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001977/0.3649, allocations: 4.78 MB / 467.3 MB, free: 9.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008687/0.3658, allocations: 1.235 MB / 468.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.3672, allocations: 1.755 MB / 470.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.3673, allocations: 301.1 kB / 470.6 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.3691, allocations: 1.164 MB / 471.7 MB, free: 4.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/0.3728, allocations: 6.262 MB / 478 MB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005799/0.3786, allocations: 8.019 MB / 486 MB, free: 1.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.04e-05/0.3787, allocations: 52 kB / 486.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.1191/0.4978, allocations: 6.487 MB / 492.6 MB, free: 106.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.4979, allocations: 80.53 kB / 492.6 MB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/0.498, allocations: 175.6 kB / 492.8 MB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/0.5002, allocations: 1.055 MB / 493.9 MB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003736/0.5039, allocations: 2.025 MB / 495.9 MB, free: 106.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/0.5091, allocations: 5.34 MB / 0.4895 GB, free: 103.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/0.5142, allocations: 388.8 kB / 0.4899 GB, free: 103.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006996/0.5149, allocations: 441 kB / 0.4903 GB, free: 103.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * 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],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1133): * Single equations (assignments): 1128 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,46,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002551/0.5175, allocations: 0.8507 MB / 0.4911 GB, free: 103.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009112/0.5184, allocations: 441.7 kB / 0.4915 GB, free: 103.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.5213, allocations: 2.116 MB / 0.4936 GB, free: 102.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.5213, allocations: 32.56 kB / 0.4936 GB, free: 102.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.5213, allocations: 9.781 kB / 0.4936 GB, free: 102.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.5213, allocations: 13.88 kB / 0.4936 GB, free: 102.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.5323, allocations: 9.136 MB / 0.5026 GB, free: 98.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.5323, allocations: 24 kB / 0.5026 GB, free: 98.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009981/0.5333, allocations: 475.2 kB / 0.503 GB, free: 97.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.5355, allocations: 1.087 MB / 0.5041 GB, free: 97.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.5356, allocations: 81.03 kB / 0.5042 GB, free: 96.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004017/0.5396, allocations: 4.759 MB / 0.5088 GB, free: 92.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.5396, allocations: 31.88 kB / 0.5089 GB, free: 92.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/0.5439, allocations: 3.861 MB / 0.5126 GB, free: 88.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/0.5456, allocations: 0.8775 MB / 0.5135 GB, free: 87.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005955/0.5462, allocations: 83.98 kB / 0.5136 GB, free: 87.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.5475, allocations: 90.61 kB / 0.5137 GB, free: 87.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.5478, allocations: 285 kB / 0.5139 GB, free: 87.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.5479, allocations: 87.83 kB / 0.514 GB, free: 87.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002218/0.5502, allocations: 2.367 MB / 0.5163 GB, free: 85.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5502, allocations: 4.031 kB / 0.5163 GB, free: 85.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005294/0.5555, allocations: 2.113 MB / 0.5184 GB, free: 83.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 98 * 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 (265): * Single equations (assignments): 260 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,40,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000474/0.5559, allocations: 250.5 kB / 0.5186 GB, free: 82.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004616/0.5605, allocations: 4.133 MB / 0.5227 GB, free: 78.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001947/0.5607, allocations: 132.2 kB / 0.5228 GB, free: 78.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.562, allocations: 1.281 MB / 0.524 GB, free: 77.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/0.5677, allocations: 1.367 MB / 0.5254 GB, free: 76.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.5884, allocations: 14.8 MB / 0.5398 GB, free: 60.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/0.5909, allocations: 2.39 MB / 0.5422 GB, free: 58.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002942/0.5939, allocations: 0.8703 MB / 0.543 GB, free: 57.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/0.596, allocations: 1.056 MB / 0.544 GB, free: 56.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.874e-06/0.596, allocations: 3.391 kB / 0.544 GB, free: 56.61 MB / 362.7 MB Notification: Performance of Templates: time 0.2007/0.7966, allocations: 71.54 MB / 0.6139 GB, free: 117.3 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.787360473070294]