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.0009507/0.0009507, allocations: 88.98 kB / 23 MB, free: 1.5 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.001002/0.001002, allocations: 176.2 kB / 26.39 MB, free: 7.969 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.8872/0.8872, allocations: 158.6 MB / 188.3 MB, free: 2.789 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.703e-06/1.703e-06, allocations: 0 / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.898e-05, allocations: 6.25 kB / 252.3 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01495/0.01498, allocations: 19.34 MB / 271.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.02565, allocations: 6.114 MB / 277.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.02813, allocations: 202.8 kB / 277.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006717/0.03485, allocations: 6.736 MB / 284.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.04008, allocations: 3.697 MB / 288.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.04255, allocations: 1.926 MB / 290.3 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01182/0.05437, allocations: 13.56 MB / 303.9 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008296/0.06266, allocations: 8.114 MB / 312 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008935/0.0716, allocations: 7.638 MB / 319.6 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006722/0.07832, allocations: 5.959 MB / 325.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.07933, allocations: 0.7852 MB / 326.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.08167, allocations: 1.713 MB / 328.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003571/0.08524, allocations: 4.844 MB / 332.9 MB, free: 6.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.08849, allocations: 2.972 MB / 335.9 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008648/0.09714, allocations: 9.386 MB / 345.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.09714, allocations: 0 / 345.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09714, allocations: 0 / 345.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.167e-05/0.09722, allocations: 4 kB / 345.3 MB, free: 9.887 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.2127/0.31, allocations: 10.36 MB / 355.6 MB, free: 94.66 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.31, allocations: 13.42 kB / 355.6 MB, free: 94.66 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02178/0.3318, allocations: 5.087 MB / 360.7 MB, free: 94.16 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009811/0.3416, allocations: 5.612 MB / 366.3 MB, free: 91.71 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002206/0.3418, allocations: 448.6 kB / 366.8 MB, free: 91.32 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008916/0.3427, allocations: 0.6159 MB / 367.4 MB, free: 90.77 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.3569, allocations: 9.636 MB / 377 MB, free: 80.34 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/0.3571, allocations: 95.53 kB / 377.1 MB, free: 80.26 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005853/0.3577, allocations: 282 kB / 377.4 MB, free: 80.03 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002348/0.36, allocations: 2.608 MB / 380 MB, free: 77.43 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.3703, allocations: 4.198 MB / 384.2 MB, free: 73.27 MB / 330.8 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.05297/0.4233, allocations: 70.75 MB / 455 MB, free: 1.52 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00832/0.4316, allocations: 3.305 MB / 458.3 MB, free: 14.18 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.4335, allocations: 0.9238 MB / 459.2 MB, free: 13.24 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/0.4468, allocations: 7.108 MB / 466.3 MB, free: 6.27 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.4469, allocations: 71.33 kB / 466.4 MB, free: 6.191 MB / 346.8 MB Notification: Performance of pre-optimization done (n=262): time 6.172e-06/0.4469, allocations: 3.984 kB / 466.4 MB, free: 6.188 MB / 346.8 MB Notification: Performance of matching and sorting (n=317): time 0.05757/0.5045, allocations: 17.36 MB / 483.7 MB, free: 5.219 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.5046, allocations: 405.8 kB / 484.1 MB, free: 4.734 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006775/0.5114, allocations: 6.329 MB / 490.5 MB, free: 14.42 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005444/0.5119, allocations: 73.7 kB / 490.5 MB, free: 14.34 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003333/0.5153, allocations: 5.802 MB / 496.3 MB, free: 8.492 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001428/0.5167, allocations: 1.279 MB / 497.6 MB, free: 7.203 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/0.5185, allocations: 2.029 MB / 499.6 MB, free: 5.156 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.5186, allocations: 476.8 kB / 0.4884 GB, free: 4.688 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.5202, allocations: 0.9316 MB / 0.4893 GB, free: 3.75 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1335/0.6537, allocations: 8.661 MB / 0.4978 GB, free: 114.4 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.6637, allocations: 10.18 MB / 0.5077 GB, free: 104.6 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000434/0.6641, allocations: 47.59 kB / 0.5077 GB, free: 104.6 MB / 378.8 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0147/0.6788, allocations: 7.608 MB / 0.5152 GB, free: 103.2 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.6789, allocations: 81.47 kB / 0.5152 GB, free: 103.2 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/0.6791, allocations: 177.2 kB / 0.5154 GB, free: 103.2 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.6819, allocations: 1.077 MB / 0.5165 GB, free: 103.1 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004828/0.6867, allocations: 2.029 MB / 0.5185 GB, free: 102.9 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006467/0.6932, allocations: 6.611 MB / 0.5249 GB, free: 99.11 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007635/0.7008, allocations: 384 kB / 0.5253 GB, free: 99.11 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/0.7028, allocations: 445.9 kB / 0.5257 GB, free: 99.11 MB / 378.8 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.003957/0.7068, allocations: 0.8966 MB / 0.5266 GB, free: 98.7 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001889/0.7087, allocations: 0.7288 MB / 0.5273 GB, free: 98.36 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/0.7126, allocations: 2.408 MB / 0.5296 GB, free: 96.98 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.75e-05/0.7126, allocations: 33.64 kB / 0.5297 GB, free: 96.95 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/0.7126, allocations: 23.25 kB / 0.5297 GB, free: 96.93 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.7127, allocations: 14.81 kB / 0.5297 GB, free: 96.93 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/0.7302, allocations: 10.56 MB / 0.54 GB, free: 89.06 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.7302, allocations: 23.39 kB / 0.54 GB, free: 89.04 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.7313, allocations: 470.9 kB / 0.5405 GB, free: 88.63 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.7334, allocations: 0.8183 MB / 0.5413 GB, free: 88.04 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/0.7336, allocations: 79.8 kB / 0.5414 GB, free: 87.96 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004512/0.7381, allocations: 6 MB / 0.5472 GB, free: 82.16 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.7381, allocations: 39.81 kB / 0.5473 GB, free: 82.12 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/0.7435, allocations: 4.523 MB / 0.5517 GB, free: 77.21 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002417/0.7459, allocations: 0.9354 MB / 0.5526 GB, free: 76.28 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009785/0.7469, allocations: 87.97 kB / 0.5527 GB, free: 76.2 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.7483, allocations: 83.98 kB / 0.5528 GB, free: 76.11 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.7487, allocations: 289.7 kB / 0.553 GB, free: 75.83 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/0.7488, allocations: 88 kB / 0.5531 GB, free: 75.75 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002695/0.7515, allocations: 2.77 MB / 0.5558 GB, free: 73 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7515, allocations: 0 / 0.5558 GB, free: 73 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.006447/0.7579, allocations: 2.11 MB / 0.5579 GB, free: 70.89 MB / 378.8 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.0005191/0.7584, allocations: 271.5 kB / 0.5581 GB, free: 70.64 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006235/0.7647, allocations: 4.551 MB / 0.5626 GB, free: 66.06 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/0.7647, allocations: 8.688 kB / 0.5626 GB, free: 66.05 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.7662, allocations: 1.504 MB / 0.5641 GB, free: 64.52 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/0.7708, allocations: 1.011 MB / 0.565 GB, free: 63.54 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/0.7929, allocations: 15.07 MB / 0.5798 GB, free: 47.98 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/0.7958, allocations: 2.399 MB / 0.5821 GB, free: 45.55 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.003541/0.7993, allocations: 0.8742 MB / 0.583 GB, free: 44.68 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/0.8013, allocations: 1.142 MB / 0.5841 GB, free: 43.53 MB / 378.8 MB Notification: Performance of SimCode: time 2.144e-06/0.8014, allocations: 4 kB / 0.5841 GB, free: 43.53 MB / 378.8 MB Notification: Performance of Templates: time 0.2272/1.029, allocations: 73.2 MB / 0.6556 GB, free: 116.8 MB / 394.8 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: 5.437473739031702]