Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 118.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001637, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 43.92 kB / 358.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1003, allocations: 49.43 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.2177/0.318, allocations: 23.39 MB / 431.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.3323, allocations: 7.073 MB / 438.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005992/0.3384, allocations: 182.3 kB / 438.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01492/0.3533, allocations: 7.934 MB / 446.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009614/0.363, allocations: 3.585 MB / 450.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004693/0.3677, allocations: 2.011 MB / 452.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01956/0.3873, allocations: 13.25 MB / 465.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01488/0.4022, allocations: 10.45 MB / 476 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008798/0.4111, allocations: 4.266 MB / 480.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009657/0.4208, allocations: 5.696 MB / 486 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003195/0.424, allocations: 1 MB / 487 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006044/0.4301, allocations: 2.16 MB / 489.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007464/0.4376, allocations: 5.027 MB / 494.2 MB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.449, allocations: 5.418 MB / 499.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02447/0.4735, allocations: 17.31 MB / 0.5048 GB, free: 11.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.4736, allocations: 0 / 0.5048 GB, free: 11.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4736, allocations: 0 / 0.5048 GB, free: 11.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004783/0.4741, allocations: 0 / 0.5048 GB, free: 11.67 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.02914/0.5032, allocations: 11.49 MB / 0.516 GB, free: 216 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5033, allocations: 11.89 kB / 0.516 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0512/0.5545, allocations: 5.483 MB / 0.5214 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02264/0.5772, allocations: 9.075 MB / 0.5302 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000581/0.5778, allocations: 0.5215 MB / 0.5307 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002887/0.5807, allocations: 0.7237 MB / 0.5314 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04522/0.6259, allocations: 19.52 MB / 0.5505 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005493/0.6265, allocations: 99.23 kB / 0.5506 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002809/0.6294, allocations: 323 kB / 0.5509 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005146/0.6345, allocations: 2.823 MB / 0.5537 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03756/0.6721, allocations: 16.24 MB / 0.5695 GB, free: 8.637 MB / 478.1 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.4993/1.172, allocations: 74.17 MB / 0.642 GB, free: 109.7 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02239/1.194, allocations: 8.508 MB / 0.6503 GB, free: 109 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005794/1.2, allocations: 4.778 MB / 0.6549 GB, free: 108.8 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0221/1.222, allocations: 15.41 MB / 0.67 GB, free: 100.8 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/1.222, allocations: 75.23 kB / 0.67 GB, free: 100.7 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=321): time 5.551e-06/1.222, allocations: 0 / 0.67 GB, free: 100.7 MB / 0.4982 GB Notification: Performance of matching and sorting (n=428): time 0.2/1.422, allocations: 55.11 MB / 0.7239 GB, free: 55.45 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/1.422, allocations: 410.8 kB / 0.7243 GB, free: 54.96 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/1.436, allocations: 7.576 MB / 0.7317 GB, free: 47.54 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001297/1.437, allocations: 89.7 kB / 0.7317 GB, free: 47.44 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004096/1.442, allocations: 5.792 MB / 0.7374 GB, free: 42.23 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002361/1.444, allocations: 1.632 MB / 0.739 GB, free: 40.62 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006874/1.451, allocations: 2.098 MB / 0.741 GB, free: 38.52 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/1.451, allocations: 310.5 kB / 0.7413 GB, free: 38.21 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007798/1.459, allocations: 5.217 MB / 0.7464 GB, free: 32.99 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/1.469, allocations: 10.27 MB / 0.7565 GB, free: 20.31 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/1.487, allocations: 16.32 MB / 0.7724 GB, free: 1.59 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/1.487, allocations: 48 kB / 0.7724 GB, free: 1.543 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1335) (initialization): time 0.05529/1.543, allocations: 21.28 MB / 0.7932 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002704/1.543, allocations: 82.5 kB / 0.7933 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003825/1.543, allocations: 172 kB / 0.7935 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02311/1.567, allocations: 6.658 MB / 0.8 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008444/1.575, allocations: 2.152 MB / 0.8021 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3133/1.888, allocations: 35.05 MB / 0.8363 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008486/1.897, allocations: 0.617 MB / 0.8369 GB, free: 170.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002125/1.899, allocations: 0.5316 MB / 0.8374 GB, free: 170.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1178): * Single equations (assignments): 1173 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008189/1.907, allocations: 4.094 MB / 0.8414 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/1.909, allocations: 0.7314 MB / 0.8421 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02723/1.936, allocations: 14.31 MB / 0.8561 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-05/1.936, allocations: 47.61 kB / 0.8562 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-05/1.937, allocations: 32.48 kB / 0.8562 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.546e-05/1.937, allocations: 19.17 kB / 0.8562 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05291/1.99, allocations: 27.92 MB / 0.8835 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/1.99, allocations: 7.688 kB / 0.8835 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/1.992, allocations: 0.5834 MB / 0.884 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01782/2.01, allocations: 6.34 MB / 0.8902 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009376/2.011, allocations: 87.92 kB / 0.8903 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03794/2.049, allocations: 31.91 MB / 0.9215 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.049, allocations: 15.72 kB / 0.9215 GB, free: 115.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0333/2.083, allocations: 21 MB / 0.942 GB, free: 94.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004154/2.087, allocations: 1.602 MB / 0.9436 GB, free: 93.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/2.089, allocations: 82.52 kB / 0.9436 GB, free: 93.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004535/2.093, allocations: 331.3 kB / 0.944 GB, free: 92.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/2.095, allocations: 306.7 kB / 0.9443 GB, free: 92.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004188/2.095, allocations: 115.7 kB / 0.9444 GB, free: 92.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006988/2.102, allocations: 4.835 MB / 0.9491 GB, free: 87.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/2.102, allocations: 0 / 0.9491 GB, free: 87.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01034/2.112, allocations: 2.431 MB / 0.9515 GB, free: 85.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (296): * Single equations (assignments): 292 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,116,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/2.114, allocations: 290.7 kB / 0.9517 GB, free: 85.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01711/2.131, allocations: 12.76 MB / 0.9642 GB, free: 72.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/2.131, allocations: 4 kB / 0.9642 GB, free: 72.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00748/2.138, allocations: 5.328 MB / 0.9694 GB, free: 67.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007983/2.146, allocations: 1.087 MB / 0.9705 GB, free: 66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03769/2.184, allocations: 23.56 MB / 0.9935 GB, free: 42.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00855/2.193, allocations: 6.312 MB / 0.9996 GB, free: 36.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/2.195, allocations: 491.4 kB / 1 GB, free: 35.59 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/2.195, allocations: 0 / 1 GB, free: 35.59 MB / 0.545 GB Notification: Performance of Templates: time 0.4162/2.611, allocations: 165.4 MB / 1.162 GB, free: 54.86 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.920294575043954]