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.001285/0.001285, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001431/0.001431, allocations: 164.5 kB / 24.99 MB, free: 9.32 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 0.9716/0.9716, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.894e-06/1.894e-06, allocations: 0 / 273.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.848e-05, allocations: 2.312 kB / 273.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1222/0.1222, allocations: 19.87 MB / 293 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009263/0.1315, allocations: 6.104 MB / 299.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002149/0.1336, allocations: 204.5 kB / 299.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00638/0.14, allocations: 6.837 MB / 306.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.146, allocations: 3.624 MB / 309.7 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.1485, allocations: 1.915 MB / 311.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.1604, allocations: 15.1 MB / 326.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008233/0.1687, allocations: 8.071 MB / 334.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.176, allocations: 5.808 MB / 340.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005535/0.1815, allocations: 5.967 MB / 346.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009494/0.1825, allocations: 0.7773 MB / 347.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.1846, allocations: 1.69 MB / 349.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00312/0.1877, allocations: 4.785 MB / 353.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.1903, allocations: 2.922 MB / 356.8 MB, free: 14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008763/0.1991, allocations: 9.274 MB / 366 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1991, allocations: 0 / 366 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1991, allocations: 0 / 366 MB, free: 4.699 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002875/0.1994, allocations: 0 / 366 MB, free: 4.699 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.01717/0.2165, allocations: 11.01 MB / 377.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.2166, allocations: 8.031 kB / 377.1 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03214/0.2487, allocations: 6.257 MB / 383.3 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01422/0.263, allocations: 7.162 MB / 390.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000359/0.2633, allocations: 448 kB / 390.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.2647, allocations: 0.6133 MB / 391.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/0.2848, allocations: 10.68 MB / 402.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003182/0.2851, allocations: 99.23 kB / 402.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008847/0.286, allocations: 279.8 kB / 402.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00438/0.2904, allocations: 2.858 MB / 405.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/0.3118, allocations: 5.575 MB / 411 MB, free: 6.02 MB / 362.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.2637/0.5755, allocations: 71.67 MB / 482.7 MB, free: 62.95 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.5898, allocations: 5.16 MB / 487.8 MB, free: 62.76 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/0.5927, allocations: 1.447 MB / 489.3 MB, free: 62.71 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/0.6055, allocations: 7.656 MB / 496.9 MB, free: 59.13 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.6056, allocations: 68.97 kB / 497 MB, free: 59.07 MB / 378.8 MB Notification: Performance of pre-optimization done (n=293): time 7.163e-06/0.6056, allocations: 0 / 497 MB, free: 59.07 MB / 378.8 MB Notification: Performance of matching and sorting (n=359): time 0.1073/0.7128, allocations: 41.01 MB / 0.5254 GB, free: 23.98 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.7129, allocations: 402.2 kB / 0.5258 GB, free: 23.5 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009125/0.722, allocations: 6.211 MB / 0.5319 GB, free: 17.5 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0011/0.7231, allocations: 77.7 kB / 0.5319 GB, free: 17.42 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004226/0.7274, allocations: 5.644 MB / 0.5374 GB, free: 12.25 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002277/0.7297, allocations: 1.42 MB / 0.5388 GB, free: 10.85 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003914/0.7336, allocations: 1.995 MB / 0.5408 GB, free: 8.84 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.7336, allocations: 476.8 kB / 0.5412 GB, free: 8.371 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004106/0.7377, allocations: 1.588 MB / 0.5428 GB, free: 6.777 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008334/0.746, allocations: 8.891 MB / 0.5515 GB, free: 10.62 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01663/0.7627, allocations: 11.27 MB / 0.5625 GB, free: 12.17 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000203/0.7629, allocations: 48 kB / 0.5625 GB, free: 12.12 MB / 410.8 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.1796/0.9425, allocations: 12.73 MB / 0.5749 GB, free: 123.1 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/0.9427, allocations: 79.12 kB / 0.575 GB, free: 123.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003601/0.943, allocations: 164.5 kB / 0.5752 GB, free: 123.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01875/0.9618, allocations: 5.394 MB / 0.5804 GB, free: 123 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006003/0.9678, allocations: 2.001 MB / 0.5824 GB, free: 122.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.987, allocations: 14.77 MB / 0.5968 GB, free: 117.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/0.9928, allocations: 0.7072 MB / 0.5975 GB, free: 117.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/0.9939, allocations: 0.5019 MB / 0.598 GB, free: 117.1 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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 (1081): * Single equations (assignments): 1075 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,96,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002486/0.9963, allocations: 0.8748 MB / 0.5989 GB, free: 116.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/0.9977, allocations: 0.7458 MB / 0.5996 GB, free: 116.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.011, allocations: 7.685 MB / 0.6071 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/1.011, allocations: 42.81 kB / 0.6071 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/1.011, allocations: 17.94 kB / 0.6072 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/1.011, allocations: 24.34 kB / 0.6072 GB, free: 116.3 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02558/1.036, allocations: 17.63 MB / 0.6244 GB, free: 102.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.036, allocations: 4 kB / 0.6244 GB, free: 102.5 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.038, allocations: 463.3 kB / 0.6248 GB, free: 102.1 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01161/1.049, allocations: 5.07 MB / 0.6298 GB, free: 97.03 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000515/1.05, allocations: 60 kB / 0.6298 GB, free: 96.97 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/1.067, allocations: 13.98 MB / 0.6435 GB, free: 82.88 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.067, allocations: 15.88 kB / 0.6435 GB, free: 82.87 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/1.083, allocations: 9.486 MB / 0.6528 GB, free: 73.53 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/1.085, allocations: 0.6882 MB / 0.6534 GB, free: 72.84 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.086, allocations: 64 kB / 0.6535 GB, free: 72.78 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.089, allocations: 425.3 kB / 0.6539 GB, free: 72.37 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000776/1.089, allocations: 262.6 kB / 0.6542 GB, free: 72.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/1.09, allocations: 95.98 kB / 0.6543 GB, free: 72.02 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003463/1.093, allocations: 2.904 MB / 0.6571 GB, free: 69.13 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.5e-07/1.093, allocations: 0 / 0.6571 GB, free: 69.13 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007401/1.1, allocations: 2.485 MB / 0.6595 GB, free: 66.65 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,90,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007267/1.101, allocations: 236.9 kB / 0.6597 GB, free: 66.42 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.009889/1.111, allocations: 6.932 MB / 0.6665 GB, free: 59.43 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.111, allocations: 4 kB / 0.6665 GB, free: 59.43 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004153/1.115, allocations: 3.086 MB / 0.6695 GB, free: 56.28 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/1.12, allocations: 0.9748 MB / 0.6705 GB, free: 55.34 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.141, allocations: 16.22 MB / 0.6863 GB, free: 38.9 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/1.143, allocations: 2.43 MB / 0.6887 GB, free: 36.45 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00379/1.147, allocations: 2.232 MB / 0.6909 GB, free: 34.21 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000998/1.148, allocations: 404.4 kB / 0.6913 GB, free: 33.81 MB / 410.8 MB Notification: Performance of SimCode: time 2.195e-06/1.148, allocations: 0 / 0.6913 GB, free: 33.81 MB / 410.8 MB Notification: Performance of Templates: time 0.2153/1.363, allocations: 100.1 MB / 0.789 GB, free: 78.53 MB / 410.8 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.826962251914665]