Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001285/0.001285, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001541/0.001541, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 8.027 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 51.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2639, allocations: 53.36 MB / 431.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02413/0.288, allocations: 20.54 MB / 452.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.3023, allocations: 6.255 MB / 458.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/0.3059, allocations: 202.8 kB / 458.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01279/0.3187, allocations: 6.433 MB / 465.1 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009573/0.3283, allocations: 3.502 MB / 468.6 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.3327, allocations: 1.658 MB / 470.2 MB, free: 212 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01957/0.3523, allocations: 13 MB / 483.2 MB, free: 3.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.3634, allocations: 6.294 MB / 489.5 MB, free: 12.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007938/0.3713, allocations: 3.809 MB / 493.4 MB, free: 8.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009004/0.3803, allocations: 5.352 MB / 498.7 MB, free: 3.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002657/0.383, allocations: 0.7461 MB / 499.4 MB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.3876, allocations: 1.744 MB / 0.4894 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006519/0.3941, allocations: 4.5 MB / 0.4938 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00879/0.4029, allocations: 4.639 MB / 0.4984 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02151/0.4244, allocations: 14.17 MB / 0.5122 GB, free: 9.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.4244, allocations: 0 / 0.5122 GB, free: 9.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4244, allocations: 0 / 0.5122 GB, free: 9.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004937/0.4249, allocations: 0 / 0.5122 GB, free: 9.723 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02525/0.4502, allocations: 10.2 MB / 0.5222 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4502, allocations: 8.031 kB / 0.5222 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0439/0.4941, allocations: 5.332 MB / 0.5274 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/0.5151, allocations: 8.004 MB / 0.5352 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005188/0.5157, allocations: 448 kB / 0.5356 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002353/0.518, allocations: 0.6245 MB / 0.5362 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4067/0.9247, allocations: 17.12 MB / 0.5529 GB, free: 86.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002463/0.925, allocations: 97.67 kB / 0.553 GB, free: 86.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006708/0.9256, allocations: 279.3 kB / 0.5533 GB, free: 86.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/0.9292, allocations: 2.865 MB / 0.5561 GB, free: 85.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02254/0.9517, allocations: 14.02 MB / 0.5698 GB, free: 71.61 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.08003/1.032, allocations: 69.83 MB / 0.638 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.054, allocations: 7.508 MB / 0.6453 GB, free: 9.215 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007084/1.061, allocations: 4.361 MB / 0.6496 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02675/1.087, allocations: 12.11 MB / 0.6614 GB, free: 8.844 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.459e-05/1.087, allocations: 68.48 kB / 0.6615 GB, free: 8.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=293): time 6.512e-06/1.087, allocations: 0 / 0.6615 GB, free: 8.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=359): time 0.2055/1.293, allocations: 52.64 MB / 0.7129 GB, free: 4.594 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/1.293, allocations: 398.2 kB / 0.7133 GB, free: 4.117 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01499/1.308, allocations: 7.277 MB / 0.7204 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/1.309, allocations: 81.7 kB / 0.7204 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005211/1.315, allocations: 5.379 MB / 0.7257 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002396/1.317, allocations: 1.399 MB / 0.7271 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005659/1.323, allocations: 1.925 MB / 0.7289 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.323, allocations: 305.1 kB / 0.7292 GB, free: 4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008628/1.332, allocations: 4.711 MB / 0.7338 GB, free: 15.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.013/1.345, allocations: 9.534 MB / 0.7431 GB, free: 3.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2406/1.585, allocations: 15 MB / 0.7578 GB, free: 170.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.801e-05/1.585, allocations: 45.84 kB / 0.7578 GB, free: 170.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03731/1.623, allocations: 20.41 MB / 0.7778 GB, free: 164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/1.623, allocations: 74.78 kB / 0.7778 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/1.623, allocations: 166.3 kB / 0.778 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01963/1.642, allocations: 7.334 MB / 0.7852 GB, free: 162.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006018/1.648, allocations: 1.997 MB / 0.7871 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04178/1.69, allocations: 36.28 MB / 0.8225 GB, free: 126.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00794/1.698, allocations: 0.6064 MB / 0.8231 GB, free: 125.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.699, allocations: 0.5 MB / 0.8236 GB, free: 125.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (1081): * Single equations (assignments): 1075 * 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,96,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.005101/1.704, allocations: 3.594 MB / 0.8271 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/1.706, allocations: 0.6958 MB / 0.8278 GB, free: 121.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02553/1.731, allocations: 13.84 MB / 0.8413 GB, free: 107.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/1.731, allocations: 39.94 kB / 0.8414 GB, free: 107.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/1.731, allocations: 20 kB / 0.8414 GB, free: 107.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/1.731, allocations: 15.94 kB / 0.8414 GB, free: 107.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0462/1.778, allocations: 27.58 MB / 0.8683 GB, free: 79.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/1.778, allocations: 4 kB / 0.8683 GB, free: 79.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/1.78, allocations: 471.3 kB / 0.8688 GB, free: 79.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01877/1.799, allocations: 6.965 MB / 0.8756 GB, free: 72.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/1.8, allocations: 67.92 kB / 0.8756 GB, free: 72.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04467/1.844, allocations: 35.05 MB / 0.9099 GB, free: 36.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.844, allocations: 15.92 kB / 0.9099 GB, free: 36.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03648/1.881, allocations: 19.64 MB / 0.9291 GB, free: 17.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/1.883, allocations: 0.6655 MB / 0.9297 GB, free: 16.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002478/1.886, allocations: 71.92 kB / 0.9298 GB, free: 16.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005151/1.891, allocations: 319.5 kB / 0.9301 GB, free: 16.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/1.893, allocations: 266.6 kB / 0.9303 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000842/1.893, allocations: 95.94 kB / 0.9304 GB, free: 15.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.008779/1.902, allocations: 4.649 MB / 0.935 GB, free: 11.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.71e-07/1.902, allocations: 0 / 0.935 GB, free: 11.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01189/1.914, allocations: 2.199 MB / 0.9371 GB, free: 8.883 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * 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,90,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.001282/1.915, allocations: 222.7 kB / 0.9373 GB, free: 8.672 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02173/1.937, allocations: 11.51 MB / 0.9486 GB, free: 13.13 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/1.937, allocations: 8.25 kB / 0.9486 GB, free: 13.12 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.2277/2.165, allocations: 4.896 MB / 0.9534 GB, free: 194.5 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00624/2.171, allocations: 1.011 MB / 0.9544 GB, free: 194.4 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03243/2.204, allocations: 20.76 MB / 0.9746 GB, free: 188.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006018/2.21, allocations: 5.725 MB / 0.9802 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005338/2.215, allocations: 2.701 MB / 0.9829 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/2.216, allocations: 401.5 kB / 0.9832 GB, free: 186.7 MB / 0.5607 GB Notification: Performance of SimCode: time 8.52e-07/2.216, allocations: 0 / 0.9832 GB, free: 186.7 MB / 0.5607 GB Notification: Performance of Templates: time 0.1396/2.356, allocations: 102.2 MB / 1.083 GB, free: 87.79 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.80749629298225]