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.001274/0.001274, allocations: 113 kB / 19.04 MB, free: 3.254 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.001251/0.001251, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.423/1.423, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.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.001504/0.001504, allocations: 56 kB / 368.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2629, allocations: 52.13 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02691/0.2898, allocations: 23.53 MB / 444.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.3062, allocations: 7.127 MB / 451.6 MB, free: 304 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004315/0.3105, allocations: 175.4 kB / 451.7 MB, free: 128 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01483/0.3254, allocations: 8.061 MB / 459.8 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.3356, allocations: 3.688 MB / 463.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005008/0.3406, allocations: 2.005 MB / 465.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0186/0.3592, allocations: 13.26 MB / 478.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.3694, allocations: 7.415 MB / 486.2 MB, free: 13.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007971/0.3773, allocations: 4.289 MB / 490.4 MB, free: 9.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009574/0.3869, allocations: 6.12 MB / 496.6 MB, free: 3.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003272/0.3902, allocations: 1 MB / 497.6 MB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005936/0.3961, allocations: 2.209 MB / 499.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008268/0.4044, allocations: 5.198 MB / 0.4931 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01149/0.4159, allocations: 5.41 MB / 0.4984 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02465/0.4405, allocations: 17.32 MB / 0.5153 GB, free: 3.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4405, allocations: 7.938 kB / 0.5153 GB, free: 3.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4405, allocations: 0 / 0.5153 GB, free: 3.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005411/0.4411, allocations: 4 kB / 0.5153 GB, free: 3.848 MB / 430.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.03008/0.4712, allocations: 11.48 MB / 0.5266 GB, free: 8.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4712, allocations: 15.89 kB / 0.5266 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04438/0.5156, allocations: 5.471 MB / 0.5319 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4574/0.973, allocations: 9.084 MB / 0.5408 GB, free: 96.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.9734, allocations: 0.5223 MB / 0.5413 GB, free: 96.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/0.9761, allocations: 0.7328 MB / 0.542 GB, free: 96.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03571/1.012, allocations: 19.51 MB / 0.5611 GB, free: 82.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/1.012, allocations: 91.19 kB / 0.5611 GB, free: 82.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002043/1.014, allocations: 324.6 kB / 0.5615 GB, free: 82.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003388/1.018, allocations: 2.819 MB / 0.5642 GB, free: 79.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02879/1.046, allocations: 16.24 MB / 0.5801 GB, free: 63.31 MB / 446.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.08488/1.131, allocations: 74.19 MB / 0.6525 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02347/1.155, allocations: 8.236 MB / 0.6606 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006869/1.162, allocations: 4.5 MB / 0.665 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02759/1.189, allocations: 15.42 MB / 0.68 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/1.189, allocations: 68.67 kB / 0.6801 GB, free: 6.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 8.746e-06/1.189, allocations: 0 / 0.6801 GB, free: 6.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=428): time 0.4764/1.666, allocations: 55.01 MB / 0.7338 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.666, allocations: 408.6 kB / 0.7342 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/1.677, allocations: 7.578 MB / 0.7416 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/1.678, allocations: 94.77 kB / 0.7417 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003297/1.682, allocations: 5.786 MB / 0.7473 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002031/1.684, allocations: 1.632 MB / 0.7489 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002944/1.687, allocations: 2.1 MB / 0.751 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.58e-05/1.687, allocations: 306.5 kB / 0.7513 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006156/1.693, allocations: 5.216 MB / 0.7564 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009239/1.702, allocations: 10.27 MB / 0.7664 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/1.72, allocations: 16.32 MB / 0.7823 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002811/1.721, allocations: 48.78 kB / 0.7824 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1335) (initialization): time 0.04565/1.766, allocations: 21.2 MB / 0.8031 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003002/1.767, allocations: 76 kB / 0.8031 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003399/1.767, allocations: 172 kB / 0.8033 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01899/1.786, allocations: 6.666 MB / 0.8098 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007279/1.793, allocations: 2.148 MB / 0.8119 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04854/1.842, allocations: 35.05 MB / 0.8461 GB, free: 84.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/1.854, allocations: 0.6303 MB / 0.8468 GB, free: 83.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/1.856, allocations: 0.5312 MB / 0.8473 GB, free: 83.17 MB / 0.5294 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.00942/1.865, allocations: 4.108 MB / 0.8513 GB, free: 79.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002808/1.868, allocations: 0.7257 MB / 0.852 GB, free: 78.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/1.899, allocations: 14.22 MB / 0.8659 GB, free: 64.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.841e-05/1.899, allocations: 40 kB / 0.8659 GB, free: 64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001227/1.899, allocations: 24 kB / 0.8659 GB, free: 63.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.815e-05/1.899, allocations: 23.92 kB / 0.866 GB, free: 63.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05506/1.954, allocations: 27.84 MB / 0.8932 GB, free: 36.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-05/1.954, allocations: 8 kB / 0.8932 GB, free: 36.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/1.957, allocations: 0.5811 MB / 0.8937 GB, free: 35.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01731/1.974, allocations: 6.343 MB / 0.8999 GB, free: 29.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009214/1.975, allocations: 79.5 kB / 0.9 GB, free: 29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04014/2.015, allocations: 31.91 MB / 0.9312 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/2.015, allocations: 11.94 kB / 0.9312 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3097/2.325, allocations: 20.91 MB / 0.9516 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005112/2.33, allocations: 1.602 MB / 0.9532 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002497/2.333, allocations: 82.69 kB / 0.9532 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005117/2.338, allocations: 330.8 kB / 0.9536 GB, free: 171.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001461/2.339, allocations: 305.8 kB / 0.9538 GB, free: 171.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004133/2.34, allocations: 114.2 kB / 0.954 GB, free: 171.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008453/2.348, allocations: 4.832 MB / 0.9587 GB, free: 170.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/2.348, allocations: 0 / 0.9587 GB, free: 170.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01273/2.361, allocations: 2.431 MB / 0.961 GB, free: 169.9 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.001522/2.362, allocations: 296.2 kB / 0.9613 GB, free: 169.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01981/2.382, allocations: 12.09 MB / 0.9731 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/2.382, allocations: 4 kB / 0.9731 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009111/2.391, allocations: 4.881 MB / 0.9779 GB, free: 159.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01266/2.404, allocations: 1.081 MB / 0.979 GB, free: 158.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04839/2.452, allocations: 22.98 MB / 1.001 GB, free: 137.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008324/2.461, allocations: 6.379 MB / 1.008 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006736/2.467, allocations: 2.962 MB / 1.011 GB, free: 129.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/2.469, allocations: 435.4 kB / 1.011 GB, free: 128.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/2.469, allocations: 4 kB / 1.011 GB, free: 128.9 MB / 0.545 GB Notification: Performance of Templates: time 0.1521/2.621, allocations: 107.7 MB / 1.116 GB, free: 21.77 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.696768479421735]