Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.001475/0.001475, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001558/0.001558, allocations: 207.7 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.243, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02424/0.2672, allocations: 20.09 MB / 451.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.2825, allocations: 6.834 MB / 458.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.2867, allocations: 218.8 kB / 458.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01576/0.3025, allocations: 7.68 MB / 466.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009588/0.3121, allocations: 3.673 MB / 470.1 MB, free: 88 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004792/0.3169, allocations: 2.028 MB / 472.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02036/0.3372, allocations: 13.59 MB / 485.7 MB, free: 448 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01191/0.3491, allocations: 7.952 MB / 493.7 MB, free: 8.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009086/0.3582, allocations: 4.328 MB / 498 MB, free: 4.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/0.3703, allocations: 6.112 MB / 0.4923 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004232/0.3745, allocations: 1.004 MB / 0.4933 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006286/0.3808, allocations: 2.06 MB / 0.4953 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008713/0.3895, allocations: 5.163 MB / 0.5003 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009539/0.3991, allocations: 4.147 MB / 0.5044 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02505/0.4241, allocations: 17.35 MB / 0.5213 GB, free: 104 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.4241, allocations: 0 / 0.5213 GB, free: 104 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4241, allocations: 0 / 0.5213 GB, free: 104 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007361/0.4249, allocations: 0 / 0.5213 GB, free: 104 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.03522/0.4601, allocations: 11.39 MB / 0.5324 GB, free: 4.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.4601, allocations: 8.031 kB / 0.5325 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4668/0.927, allocations: 5.471 MB / 0.5378 GB, free: 94.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/0.9499, allocations: 8.826 MB / 0.5464 GB, free: 91.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.9503, allocations: 0.5241 MB / 0.5469 GB, free: 91.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002476/0.9528, allocations: 0.7276 MB / 0.5476 GB, free: 91.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0317/0.9845, allocations: 19.84 MB / 0.567 GB, free: 72.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/0.9848, allocations: 95.3 kB / 0.5671 GB, free: 72.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.9861, allocations: 327.9 kB / 0.5674 GB, free: 71.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003336/0.9895, allocations: 2.818 MB / 0.5702 GB, free: 69.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03202/1.021, allocations: 16.22 MB / 0.586 GB, free: 52.82 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.09412/1.116, allocations: 66.86 MB / 0.6513 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02418/1.14, allocations: 7.737 MB / 0.6589 GB, free: 9.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007594/1.147, allocations: 4.499 MB / 0.6632 GB, free: 4.621 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03328/1.181, allocations: 12.23 MB / 0.6752 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/1.181, allocations: 76.59 kB / 0.6753 GB, free: 8.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=320): time 9.808e-06/1.181, allocations: 0 / 0.6753 GB, free: 8.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=426): time 0.2074/1.388, allocations: 52.43 MB / 0.7265 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003264/1.388, allocations: 410.7 kB / 0.7269 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/1.403, allocations: 7.309 MB / 0.734 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00118/1.404, allocations: 89.7 kB / 0.7341 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005777/1.41, allocations: 5.798 MB / 0.7397 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002794/1.413, allocations: 1.628 MB / 0.7413 GB, free: 4.801 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0065/1.419, allocations: 2.088 MB / 0.7434 GB, free: 2.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.42, allocations: 305.1 kB / 0.7437 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2403/1.66, allocations: 5.211 MB / 0.7488 GB, free: 185 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009983/1.67, allocations: 10.49 MB / 0.759 GB, free: 176.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/1.686, allocations: 16.29 MB / 0.7749 GB, free: 164.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.686, allocations: 48.44 kB / 0.7749 GB, free: 164.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.03914/1.725, allocations: 21.12 MB / 0.7956 GB, free: 152.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.725, allocations: 80 kB / 0.7957 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001567/1.726, allocations: 172.2 kB / 0.7958 GB, free: 152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01876/1.744, allocations: 6.654 MB / 0.8023 GB, free: 146.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006774/1.751, allocations: 2.16 MB / 0.8044 GB, free: 144.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04321/1.794, allocations: 34.44 MB / 0.8381 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00882/1.803, allocations: 0.623 MB / 0.8387 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/1.805, allocations: 0.5351 MB / 0.8392 GB, free: 109.3 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 (1174): * Single equations (assignments): 1169 * 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.006725/1.812, allocations: 4.09 MB / 0.8432 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00166/1.813, allocations: 0.6805 MB / 0.8438 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02712/1.84, allocations: 14.17 MB / 0.8577 GB, free: 90.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.3e-05/1.84, allocations: 44 kB / 0.8577 GB, free: 90.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.197e-05/1.84, allocations: 24 kB / 0.8578 GB, free: 90.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.342e-05/1.841, allocations: 23.86 kB / 0.8578 GB, free: 90.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05097/1.892, allocations: 25.06 MB / 0.8822 GB, free: 65.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-05/1.892, allocations: 8 kB / 0.8823 GB, free: 65.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002896/1.894, allocations: 0.585 MB / 0.8828 GB, free: 65.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01831/1.913, allocations: 6.321 MB / 0.889 GB, free: 58.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/1.914, allocations: 75.98 kB / 0.8891 GB, free: 58.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03812/1.952, allocations: 31.36 MB / 0.9197 GB, free: 27.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.952, allocations: 15.94 kB / 0.9197 GB, free: 27.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0348/1.987, allocations: 20.84 MB / 0.9401 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002945/1.99, allocations: 0.6407 MB / 0.9407 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003065/1.993, allocations: 81.84 kB / 0.9408 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005187/1.998, allocations: 330.9 kB / 0.9411 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001491/2, allocations: 326.9 kB / 0.9414 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00037/2, allocations: 112 kB / 0.9415 GB, free: 5.125 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006709/2.007, allocations: 4.45 MB / 0.9458 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.9e-07/2.007, allocations: 0 / 0.9458 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01211/2.019, allocations: 2.395 MB / 0.9482 GB, free: 14.31 MB / 0.5607 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 (294): * Single equations (assignments): 290 * 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.001348/2.02, allocations: 276.8 kB / 0.9484 GB, free: 14.05 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.2767/2.297, allocations: 12.09 MB / 0.9603 GB, free: 193.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/2.297, allocations: 3.969 kB / 0.9603 GB, free: 193.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008024/2.305, allocations: 4.875 MB / 0.965 GB, free: 192 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007218/2.312, allocations: 0.9895 MB / 0.966 GB, free: 191.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/2.352, allocations: 22.88 MB / 0.9883 GB, free: 177.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008401/2.36, allocations: 5.927 MB / 0.9941 GB, free: 172.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006573/2.367, allocations: 2.91 MB / 0.997 GB, free: 171 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/2.368, allocations: 414.2 kB / 0.9974 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.543e-06/2.368, allocations: 0 / 0.9974 GB, free: 170.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1538/2.522, allocations: 113.9 MB / 1.109 GB, free: 58.02 MB / 0.5607 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.863103572279215]