Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009289/0.0009289, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009074/0.0009074, allocations: 168.4 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.355e-05, allocations: 5.547 kB / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01412/0.01415, allocations: 19.17 MB / 293.4 MB, free: 1.133 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.02427, allocations: 6.095 MB / 299.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.02596, allocations: 198.9 kB / 299.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005969/0.03193, allocations: 6.705 MB / 306.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004901/0.03683, allocations: 3.639 MB / 310 MB, free: 456 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.03935, allocations: 1.922 MB / 312 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.05112, allocations: 15.09 MB / 327.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006421/0.05754, allocations: 8.09 MB / 335.1 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1562/0.2137, allocations: 8.644 MB / 343.8 MB, free: 31.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008047/0.2218, allocations: 5.927 MB / 349.7 MB, free: 31.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.2238, allocations: 0.7873 MB / 350.5 MB, free: 31.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.2266, allocations: 1.696 MB / 352.2 MB, free: 31.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003107/0.2297, allocations: 4.796 MB / 357 MB, free: 31.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003266/0.233, allocations: 2.93 MB / 359.9 MB, free: 31.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006295/0.2393, allocations: 9.31 MB / 369.2 MB, free: 30.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2393, allocations: 1.031 kB / 369.2 MB, free: 30.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2393, allocations: 0 / 369.2 MB, free: 30.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.225e-05/0.2394, allocations: 3.281 kB / 369.2 MB, free: 30.12 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.01244/0.2518, allocations: 10.31 MB / 379.6 MB, free: 24.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2518, allocations: 9.75 kB / 379.6 MB, free: 24.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02648/0.2783, allocations: 5.088 MB / 384.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007725/0.286, allocations: 5.486 MB / 390.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.2863, allocations: 450.9 kB / 390.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008113/0.2871, allocations: 0.6111 MB / 391.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.2991, allocations: 9.635 MB / 400.8 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000189/0.2993, allocations: 96.92 kB / 400.9 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005668/0.2999, allocations: 275.3 kB / 401.2 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002416/0.3023, allocations: 2.615 MB / 403.8 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008573/0.3108, allocations: 4.189 MB / 408 MB, free: 12.54 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.05764/0.3685, allocations: 71.07 MB / 479.1 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007872/0.3764, allocations: 3.433 MB / 482.5 MB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.3774, allocations: 0.9382 MB / 483.4 MB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009669/0.3871, allocations: 7.152 MB / 490.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.3871, allocations: 71.38 kB / 490.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=260): time 4.058e-06/0.3871, allocations: 0 / 490.7 MB, free: 10.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=316): time 0.183/0.5702, allocations: 18.44 MB / 0.4972 GB, free: 139.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.5702, allocations: 398.1 kB / 0.4975 GB, free: 139.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/0.5754, allocations: 6.253 MB / 0.5036 GB, free: 138.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.5756, allocations: 75.05 kB / 0.5037 GB, free: 138.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002083/0.5777, allocations: 5.81 MB / 0.5094 GB, free: 135.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007154/0.5784, allocations: 1.276 MB / 0.5106 GB, free: 134.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/0.58, allocations: 2.023 MB / 0.5126 GB, free: 134.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.5801, allocations: 480.6 kB / 0.5131 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.5814, allocations: 0.956 MB / 0.514 GB, free: 133.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.5844, allocations: 8.757 MB / 0.5226 GB, free: 123.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004763/0.5891, allocations: 10.28 MB / 0.5326 GB, free: 113.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.237e-05/0.5892, allocations: 52.09 kB / 0.5326 GB, free: 113.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.008516/0.5977, allocations: 7.816 MB / 0.5403 GB, free: 109.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.5978, allocations: 80 kB / 0.5404 GB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.5979, allocations: 176 kB / 0.5405 GB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.6008, allocations: 1.322 MB / 0.5418 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003175/0.6039, allocations: 2.045 MB / 0.5438 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/0.6093, allocations: 6.93 MB / 0.5506 GB, free: 99.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/0.614, allocations: 387.6 kB / 0.5509 GB, free: 99.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005908/0.6146, allocations: 453.2 kB / 0.5514 GB, free: 98.78 MB / 410.7 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.002505/0.6171, allocations: 0.8941 MB / 0.5523 GB, free: 97.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008424/0.6179, allocations: 0.7224 MB / 0.553 GB, free: 97.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.6213, allocations: 2.625 MB / 0.5555 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.6214, allocations: 35.98 kB / 0.5556 GB, free: 94.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6214, allocations: 12 kB / 0.5556 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.6214, allocations: 11.95 kB / 0.5556 GB, free: 94.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.6334, allocations: 10.97 MB / 0.5663 GB, free: 83.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.6334, allocations: 20.56 kB / 0.5663 GB, free: 83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009907/0.6344, allocations: 471.2 kB / 0.5668 GB, free: 82.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.637, allocations: 1.092 MB / 0.5678 GB, free: 81.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.6371, allocations: 79.62 kB / 0.5679 GB, free: 81.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004768/0.6419, allocations: 6.44 MB / 0.5742 GB, free: 74.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.6419, allocations: 31.88 kB / 0.5742 GB, free: 74.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/0.6466, allocations: 4.752 MB / 0.5789 GB, free: 69.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/0.6475, allocations: 0.6712 MB / 0.5795 GB, free: 68.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004916/0.6479, allocations: 87.88 kB / 0.5796 GB, free: 68.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.6493, allocations: 83.98 kB / 0.5797 GB, free: 68.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.6496, allocations: 277 kB / 0.58 GB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.6497, allocations: 92.02 kB / 0.58 GB, free: 68.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002133/0.6518, allocations: 2.711 MB / 0.5827 GB, free: 65.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6518, allocations: 0 / 0.5827 GB, free: 65.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00527/0.6571, allocations: 2.086 MB / 0.5847 GB, free: 63.39 MB / 410.7 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.0003721/0.6575, allocations: 258.4 kB / 0.585 GB, free: 63.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004473/0.662, allocations: 4.585 MB / 0.5894 GB, free: 58.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.662, allocations: 8.062 kB / 0.5895 GB, free: 58.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.6635, allocations: 1.522 MB / 0.5909 GB, free: 56.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/0.6664, allocations: 1.005 MB / 0.5919 GB, free: 56.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.6813, allocations: 14.93 MB / 0.6065 GB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.6833, allocations: 2.389 MB / 0.6088 GB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002314/0.6856, allocations: 0.874 MB / 0.6097 GB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/0.6872, allocations: 1.15 MB / 0.6108 GB, free: 36.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6872, allocations: 0 / 0.6108 GB, free: 36.13 MB / 410.7 MB Notification: Performance of Templates: time 0.2165/0.9037, allocations: 74.33 MB / 0.6834 GB, free: 93.64 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.477171714883298]