Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001394/0.001394, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00103/0.00103, allocations: 165.8 kB / 24.99 MB, free: 8.793 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.9744/0.9744, allocations: 177.1 MB / 205.3 MB, free: 5.594 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 273.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.465e-05, allocations: 2.312 kB / 273.1 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1225/0.1225, allocations: 18.79 MB / 291.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009343/0.1319, allocations: 5.898 MB / 297.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.1339, allocations: 193.9 kB / 298 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005794/0.1397, allocations: 6.285 MB / 304.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.1442, allocations: 3.521 MB / 307.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.1463, allocations: 1.824 MB / 309.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00859/0.1549, allocations: 14.8 MB / 324.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006445/0.1614, allocations: 7.726 MB / 332.1 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00612/0.1675, allocations: 5.563 MB / 337.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.1727, allocations: 5.764 MB / 343.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007487/0.1734, allocations: 0.7422 MB / 344.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.1753, allocations: 1.666 MB / 345.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00284/0.1782, allocations: 4.583 MB / 350.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00207/0.1802, allocations: 2.805 MB / 353.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00639/0.1866, allocations: 8.935 MB / 362.2 MB, free: 8.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1866, allocations: 4 kB / 362.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1866, allocations: 0 / 362.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.325e-05/0.1867, allocations: 0 / 362.2 MB, free: 8.578 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01142/0.1981, allocations: 10.62 MB / 372.8 MB, free: 13.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1982, allocations: 8.031 kB / 372.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02251/0.2207, allocations: 6.199 MB / 379 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/0.2299, allocations: 6.942 MB / 385.9 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.2301, allocations: 427.4 kB / 386.4 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006705/0.2308, allocations: 0.5859 MB / 387 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01445/0.2453, allocations: 10.32 MB / 397.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001988/0.2455, allocations: 95.81 kB / 397.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006027/0.2461, allocations: 267.8 kB / 397.6 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003509/0.2496, allocations: 2.764 MB / 400.4 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.2626, allocations: 5.41 MB / 405.8 MB, free: 11.28 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.2378/0.5004, allocations: 70.04 MB / 475.8 MB, free: 64.54 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009738/0.5102, allocations: 4.923 MB / 480.8 MB, free: 64.36 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.5117, allocations: 1.397 MB / 482.2 MB, free: 64.3 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007438/0.5191, allocations: 7.404 MB / 489.6 MB, free: 60.94 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.5191, allocations: 68.36 kB / 489.6 MB, free: 60.88 MB / 378.8 MB Notification: Performance of pre-optimization done (n=280): time 4.669e-06/0.5191, allocations: 0 / 489.6 MB, free: 60.88 MB / 378.8 MB Notification: Performance of matching and sorting (n=339): time 0.08737/0.6065, allocations: 39.2 MB / 0.5164 GB, free: 28.15 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.6066, allocations: 394.1 kB / 0.5168 GB, free: 27.68 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006148/0.6127, allocations: 6.05 MB / 0.5227 GB, free: 21.82 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.613, allocations: 77.7 kB / 0.5228 GB, free: 21.74 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.6153, allocations: 5.45 MB / 0.5281 GB, free: 16.76 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008423/0.6161, allocations: 1.34 MB / 0.5294 GB, free: 15.43 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002089/0.6182, allocations: 1.943 MB / 0.5313 GB, free: 13.48 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.6182, allocations: 480.7 kB / 0.5318 GB, free: 13 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.6209, allocations: 1.525 MB / 0.5333 GB, free: 11.47 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004596/0.6255, allocations: 8.688 MB / 0.5418 GB, free: 15.6 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.636, allocations: 10.95 MB / 0.5524 GB, free: 1.535 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.075e-05/0.6361, allocations: 52 kB / 0.5525 GB, free: 1.484 MB / 394.8 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.01971/0.6558, allocations: 12.29 MB / 0.5645 GB, free: 5.141 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.829e-05/0.6559, allocations: 72 kB / 0.5646 GB, free: 5.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.796e-05/0.656, allocations: 160 kB / 0.5647 GB, free: 4.914 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1249/0.7809, allocations: 5.159 MB / 0.5698 GB, free: 126.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/0.7854, allocations: 1.921 MB / 0.5716 GB, free: 126.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/0.804, allocations: 14.43 MB / 0.5857 GB, free: 120.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/0.8087, allocations: 0.6912 MB / 0.5864 GB, free: 120.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/0.8093, allocations: 499.5 kB / 0.5869 GB, free: 120.5 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (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 (1048): * Single equations (assignments): 1042 * 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,93,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.001958/0.8112, allocations: 0.8663 MB / 0.5877 GB, free: 120.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.8122, allocations: 0.7127 MB / 0.5884 GB, free: 120.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.8243, allocations: 7.302 MB / 0.5956 GB, free: 119.8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.8243, allocations: 38.25 kB / 0.5956 GB, free: 119.8 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.8243, allocations: 21.09 kB / 0.5956 GB, free: 119.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.8244, allocations: 17.59 kB / 0.5956 GB, free: 119.8 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/0.8449, allocations: 16.89 MB / 0.6121 GB, free: 111.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8449, allocations: 8 kB / 0.6121 GB, free: 111.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009002/0.8458, allocations: 415.4 kB / 0.6125 GB, free: 110.9 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009887/0.8557, allocations: 4.803 MB / 0.6172 GB, free: 106.1 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/0.8559, allocations: 71.92 kB / 0.6173 GB, free: 106.1 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.8709, allocations: 13.64 MB / 0.6306 GB, free: 92.38 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.8709, allocations: 12 kB / 0.6306 GB, free: 92.37 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/0.8847, allocations: 9.041 MB / 0.6394 GB, free: 83.48 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.886, allocations: 0.6645 MB / 0.6401 GB, free: 82.82 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006057/0.8866, allocations: 63.98 kB / 0.6401 GB, free: 82.76 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.8885, allocations: 403.3 kB / 0.6405 GB, free: 82.37 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005832/0.8891, allocations: 258.4 kB / 0.6408 GB, free: 82.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/0.8892, allocations: 84 kB / 0.6409 GB, free: 82.03 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002684/0.8919, allocations: 2.833 MB / 0.6436 GB, free: 79.21 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8919, allocations: 0 / 0.6436 GB, free: 79.21 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.005242/0.8972, allocations: 2.404 MB / 0.646 GB, free: 76.82 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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,87,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.0004519/0.8976, allocations: 231.9 kB / 0.6462 GB, free: 76.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.007343/0.905, allocations: 6.673 MB / 0.6527 GB, free: 69.86 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.905, allocations: 4 kB / 0.6527 GB, free: 69.86 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003251/0.9082, allocations: 2.957 MB / 0.6556 GB, free: 66.82 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.9108, allocations: 0.9412 MB / 0.6565 GB, free: 65.91 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/0.9309, allocations: 15.56 MB / 0.6717 GB, free: 50.16 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.9333, allocations: 2.347 MB / 0.674 GB, free: 47.79 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004225/0.9375, allocations: 2.156 MB / 0.6761 GB, free: 45.62 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008972/0.9384, allocations: 388.4 kB / 0.6765 GB, free: 45.25 MB / 410.8 MB Notification: Performance of SimCode: time 1.423e-06/0.9384, allocations: 4 kB / 0.6765 GB, free: 45.24 MB / 410.8 MB Notification: Performance of Templates: time 0.2139/1.152, allocations: 95.54 MB / 0.7698 GB, free: 92.47 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.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.450293608941138]