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.0008065/0.0008065, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001941, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00162/0.00162, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001891/0.003511, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9164/0.9164, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1416/1.058, allocations: 49.48 MB / 220.5 MB, free: 1.441 MB / 218.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.823e-06/1.823e-06, allocations: 0 / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.334e-05, allocations: 2.312 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02231/0.02233, allocations: 19.5 MB / 241.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01747/0.0398, allocations: 6.435 MB / 247.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004785/0.04459, allocations: 206.8 kB / 248 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.05477, allocations: 6.44 MB / 254.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009781/0.06455, allocations: 3.685 MB / 258.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.0678, allocations: 1.751 MB / 259.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.08308, allocations: 12.32 MB / 272.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007623/0.0907, allocations: 6.999 MB / 279.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1244/0.2151, allocations: 7.309 MB / 286.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008579/0.2237, allocations: 5.677 MB / 292.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003382/0.2271, allocations: 0.7872 MB / 293 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00514/0.2322, allocations: 1.751 MB / 294.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006341/0.2386, allocations: 4.317 MB / 299 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006891/0.2455, allocations: 2.368 MB / 301.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.2567, allocations: 8.681 MB / 310.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.263e-05/0.2567, allocations: 0 / 310.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2567, allocations: 0 / 310.1 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0005663/0.2573, allocations: 0 / 310.1 MB, free: 11.7 MB / 282.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.0178/0.2751, allocations: 11.23 MB / 321.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2751, allocations: 11 kB / 321.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008265/0.2834, allocations: 2.3 MB / 323.6 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009945/0.2933, allocations: 5.281 MB / 328.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.2936, allocations: 449.4 kB / 329.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.2955, allocations: 0.6214 MB / 330 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.3103, allocations: 8.715 MB / 338.7 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004775/0.3108, allocations: 94.05 kB / 338.8 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/0.3121, allocations: 280.7 kB / 339 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003722/0.3158, allocations: 2.62 MB / 341.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.334, allocations: 4.207 MB / 345.9 MB, free: 2.312 MB / 298.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.05065/0.3847, allocations: 51.85 MB / 397.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0068/0.3915, allocations: 3.144 MB / 400.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009072/0.3924, allocations: 0.7404 MB / 401.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009899/0.4023, allocations: 6.716 MB / 408.3 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.4023, allocations: 72.12 kB / 408.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=262): time 5.23e-06/0.4023, allocations: 0 / 408.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=317): time 0.03595/0.4383, allocations: 14.61 MB / 423 MB, free: 6.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.4383, allocations: 170.6 kB / 423.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005404/0.4437, allocations: 5.75 MB / 428.9 MB, free: 1.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.4439, allocations: 73.7 kB / 429 MB, free: 1.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1349/0.5788, allocations: 4.776 MB / 433.8 MB, free: 121.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/0.5802, allocations: 1.231 MB / 435 MB, free: 120.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001982/0.5822, allocations: 1.757 MB / 436.8 MB, free: 120.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.5823, allocations: 305.9 kB / 437.1 MB, free: 120.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.5845, allocations: 1.154 MB / 438.2 MB, free: 120.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.5886, allocations: 6.262 MB / 444.5 MB, free: 113.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006037/0.5946, allocations: 8.021 MB / 452.5 MB, free: 106.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.256e-05/0.5947, allocations: 53.97 kB / 452.6 MB, free: 106.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.008434/0.6031, allocations: 6.491 MB / 459 MB, free: 105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/0.6032, allocations: 79.94 kB / 459.1 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/0.6033, allocations: 177.8 kB / 459.3 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/0.6055, allocations: 1.068 MB / 460.4 MB, free: 104.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003856/0.6093, allocations: 2.276 MB / 462.6 MB, free: 104.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00516/0.6145, allocations: 5.366 MB / 468 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/0.6192, allocations: 384.9 kB / 468.4 MB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005016/0.6198, allocations: 444.6 kB / 468.8 MB, free: 101.9 MB / 378.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.002566/0.6223, allocations: 0.8527 MB / 469.7 MB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/0.6231, allocations: 437.3 kB / 470.1 MB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.6264, allocations: 2.118 MB / 472.2 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.6264, allocations: 31.44 kB / 472.2 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.6264, allocations: 7.844 kB / 472.3 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.6265, allocations: 15.14 kB / 472.3 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.6386, allocations: 9.135 MB / 481.4 MB, free: 95.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/0.6386, allocations: 26.44 kB / 481.4 MB, free: 95.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.6404, allocations: 0.8252 MB / 482.3 MB, free: 94.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.6416, allocations: 0.8929 MB / 483.1 MB, free: 93.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/0.6438, allocations: 0.7999 MB / 483.9 MB, free: 93.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.6439, allocations: 76 kB / 484 MB, free: 93.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/0.6485, allocations: 4.773 MB / 488.8 MB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.497e-05/0.6485, allocations: 31.88 kB / 488.8 MB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.6526, allocations: 3.852 MB / 492.7 MB, free: 84.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006417/0.6532, allocations: 80.64 kB / 492.8 MB, free: 84.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.655, allocations: 87.98 kB / 492.8 MB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.6553, allocations: 281 kB / 493.1 MB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.6555, allocations: 95.97 kB / 493.2 MB, free: 83.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002146/0.6576, allocations: 2.367 MB / 495.6 MB, free: 81.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6576, allocations: 0 / 495.6 MB, free: 81.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006499/0.6641, allocations: 2.11 MB / 497.7 MB, free: 79.29 MB / 378.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.0004309/0.6646, allocations: 257.5 kB / 497.9 MB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005105/0.6697, allocations: 4.133 MB / 0.4903 GB, free: 74.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002393/0.6699, allocations: 160 kB / 0.4905 GB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.6712, allocations: 1.292 MB / 0.4917 GB, free: 73.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004522/0.6758, allocations: 1.875 MB / 0.4935 GB, free: 71.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/0.696, allocations: 15.35 MB / 0.5085 GB, free: 55.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.6977, allocations: 2.4 MB / 0.5109 GB, free: 53.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002004/0.6997, allocations: 0.8664 MB / 0.5117 GB, free: 52.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/0.7013, allocations: 1.058 MB / 0.5128 GB, free: 51.4 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7013, allocations: 0 / 0.5128 GB, free: 51.4 MB / 378.7 MB Notification: Performance of Templates: time 0.2224/0.9237, allocations: 73.58 MB / 0.5846 GB, free: 99.82 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 -ignoreHideResult -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.070887771435082]