Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.0008407/0.0008407, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003452/0.003452, allocations: 145.3 kB / 24.68 MB, free: 9.422 MB / 18.57 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 0.8354/0.8354, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.946e-05, allocations: 2.281 kB / 319.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01071/0.01072, allocations: 16.8 MB / 336.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008581/0.01931, allocations: 5.79 MB / 342.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.02091, allocations: 194.9 kB / 342.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004815/0.02572, allocations: 5.988 MB / 348.5 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.03001, allocations: 3.56 MB / 352 MB, free: 5.352 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.03179, allocations: 1.79 MB / 353.8 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009063/0.04085, allocations: 14.27 MB / 368.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005479/0.04633, allocations: 7.471 MB / 375.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005275/0.05161, allocations: 5.555 MB / 381.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004619/0.05623, allocations: 5.624 MB / 386.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008961/0.05712, allocations: 0.7461 MB / 387.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.05889, allocations: 1.674 MB / 389.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002654/0.06154, allocations: 4.575 MB / 393.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.06364, allocations: 2.813 MB / 396.6 MB, free: 8.664 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00939/0.07303, allocations: 14.06 MB / 410.6 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.07303, allocations: 11.94 kB / 410.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.07303, allocations: 0 / 410.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001671/0.0732, allocations: 0 / 410.6 MB, free: 10.55 MB / 378.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.01222/0.08542, allocations: 10.1 MB / 420.7 MB, free: 368 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.08546, allocations: 12.92 kB / 420.7 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01955/0.105, allocations: 5.516 MB / 426.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.1173, allocations: 7.748 MB / 434 MB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004778/0.1178, allocations: 423.4 kB / 434.4 MB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001627/0.1194, allocations: 0.5898 MB / 435 MB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.1387, allocations: 16.83 MB / 451.8 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.2645/0.4031, allocations: 94.28 kB / 451.9 MB, free: 112.7 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00202/0.4051, allocations: 266 kB / 452.2 MB, free: 112.7 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0028/0.4079, allocations: 2.766 MB / 455 MB, free: 112.7 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.4226, allocations: 13.61 MB / 468.6 MB, free: 103.7 MB / 410.8 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.04176/0.4644, allocations: 62.78 MB / 0.5189 GB, free: 40.61 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009503/0.4739, allocations: 7.464 MB / 0.5262 GB, free: 33.16 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002712/0.4766, allocations: 4.25 MB / 0.5303 GB, free: 28.9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009446/0.486, allocations: 11.16 MB / 0.5412 GB, free: 17.88 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4861, allocations: 64.56 kB / 0.5413 GB, free: 17.81 MB / 410.8 MB Notification: Performance of pre-optimization done (n=280): time 5.08e-06/0.4861, allocations: 0 / 0.5413 GB, free: 17.81 MB / 410.8 MB Notification: Performance of matching and sorting (n=339): time 0.09245/0.5785, allocations: 52.46 MB / 0.5925 GB, free: 13.94 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.5787, allocations: 398 kB / 0.5929 GB, free: 13.46 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/0.5858, allocations: 7.284 MB / 0.6 GB, free: 6.375 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004832/0.5863, allocations: 81.45 kB / 0.6001 GB, free: 6.293 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002211/0.5885, allocations: 5.188 MB / 0.6052 GB, free: 1.254 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009854/0.5894, allocations: 1.304 MB / 0.6064 GB, free: 15.96 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001971/0.5914, allocations: 1.846 MB / 0.6082 GB, free: 14.11 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.5915, allocations: 312.5 kB / 0.6085 GB, free: 13.8 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004046/0.5955, allocations: 4.543 MB / 0.613 GB, free: 9.25 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1591/0.7547, allocations: 9.489 MB / 0.6222 GB, free: 154.7 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/0.7653, allocations: 14.54 MB / 0.6364 GB, free: 145.6 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.997e-05/0.7654, allocations: 47.88 kB / 0.6365 GB, free: 145.6 MB / 474.8 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02052/0.7859, allocations: 19.66 MB / 0.6557 GB, free: 138.4 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.786, allocations: 72 kB / 0.6558 GB, free: 138.4 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.482e-05/0.7861, allocations: 160 kB / 0.6559 GB, free: 138.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00955/0.7956, allocations: 7.058 MB / 0.6628 GB, free: 132.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.7985, allocations: 1.93 MB / 0.6647 GB, free: 130.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02499/0.8235, allocations: 34.59 MB / 0.6985 GB, free: 95.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005675/0.8292, allocations: 0.6907 MB / 0.6991 GB, free: 95.03 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00061/0.8298, allocations: 0.4886 MB / 0.6996 GB, free: 94.55 MB / 474.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.003676/0.8335, allocations: 3.473 MB / 0.703 GB, free: 91.16 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008532/0.8343, allocations: 0.6163 MB / 0.7036 GB, free: 90.89 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.8481, allocations: 13.2 MB / 0.7165 GB, free: 77.62 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.8481, allocations: 37.48 kB / 0.7165 GB, free: 77.59 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.8481, allocations: 23.94 kB / 0.7165 GB, free: 77.57 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.8481, allocations: 15.94 kB / 0.7166 GB, free: 77.55 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/0.8737, allocations: 24.35 MB / 0.7403 GB, free: 52.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.8737, allocations: 11.94 kB / 0.7404 GB, free: 52.92 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009711/0.8746, allocations: 424.1 kB / 0.7408 GB, free: 52.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009826/0.8845, allocations: 6.638 MB / 0.7472 GB, free: 45.85 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/0.8848, allocations: 60 kB / 0.7473 GB, free: 45.79 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02479/0.9096, allocations: 33.33 MB / 0.7798 GB, free: 12.39 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.9096, allocations: 23.86 kB / 0.7799 GB, free: 12.37 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1622/1.072, allocations: 18.66 MB / 0.7981 GB, free: 144.7 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.073, allocations: 0.6886 MB / 0.7988 GB, free: 144.7 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006716/1.074, allocations: 59.42 kB / 0.7988 GB, free: 144.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/1.076, allocations: 405.9 kB / 0.7992 GB, free: 144.7 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005335/1.077, allocations: 258.8 kB / 0.7995 GB, free: 144.7 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.077, allocations: 89.06 kB / 0.7995 GB, free: 144.7 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004134/1.081, allocations: 4.509 MB / 0.8039 GB, free: 143.7 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.2e-07/1.081, allocations: 0 / 0.8039 GB, free: 143.7 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005272/1.086, allocations: 2.433 MB / 0.8063 GB, free: 143.5 MB / 474.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.0004874/1.087, allocations: 238.5 kB / 0.8065 GB, free: 143.3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.009787/1.096, allocations: 11.1 MB / 0.8174 GB, free: 139.2 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.096, allocations: 0 / 0.8174 GB, free: 139.2 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004038/1.1, allocations: 4.664 MB / 0.8219 GB, free: 137.3 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/1.104, allocations: 0.8949 MB / 0.8228 GB, free: 136.9 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/1.122, allocations: 20.53 MB / 0.8429 GB, free: 119.9 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/1.125, allocations: 4.995 MB / 0.8477 GB, free: 115.8 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.127, allocations: 444.4 kB / 0.8482 GB, free: 115.4 MB / 474.8 MB Notification: Performance of SimCode: time 1.473e-06/1.127, allocations: 0 / 0.8482 GB, free: 115.4 MB / 474.8 MB Notification: Performance of Templates: time 0.2999/1.426, allocations: 210.5 MB / 1.054 GB, free: 90.35 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 15.553536708466709]