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.001796/0.001796, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002117/0.002117, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.438/1.438, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.001588/0.001588, allocations: 52.06 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2082, allocations: 53.38 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02396/0.2321, allocations: 17.63 MB / 450 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02056/0.2527, allocations: 5.993 MB / 456 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003572/0.2563, allocations: 202.8 kB / 456.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01737/0.2736, allocations: 6.157 MB / 462.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.2865, allocations: 3.525 MB / 465.9 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00542/0.2919, allocations: 1.666 MB / 467.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02648/0.3184, allocations: 13 MB / 480.5 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/0.3301, allocations: 6.29 MB / 486.8 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008798/0.3389, allocations: 3.813 MB / 490.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.3514, allocations: 5.352 MB / 496 MB, free: 6.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002235/0.3536, allocations: 0.75 MB / 496.7 MB, free: 6.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005036/0.3586, allocations: 1.604 MB / 498.3 MB, free: 4.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007613/0.3663, allocations: 4.508 MB / 0.4911 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007461/0.3737, allocations: 3.547 MB / 0.4945 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0236/0.3973, allocations: 14.25 MB / 0.5084 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3973, allocations: 0 / 0.5084 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3973, allocations: 0 / 0.5084 GB, free: 14.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003075/0.3976, allocations: 0 / 0.5084 GB, free: 14.05 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.02276/0.4204, allocations: 10.2 MB / 0.5184 GB, free: 3.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.4204, allocations: 8.031 kB / 0.5184 GB, free: 3.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04333/0.4638, allocations: 5.335 MB / 0.5236 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0209/0.4847, allocations: 8.011 MB / 0.5314 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/0.4851, allocations: 444 kB / 0.5319 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.487, allocations: 0.6245 MB / 0.5325 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3982/0.8852, allocations: 17.43 MB / 0.5495 GB, free: 88.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/0.8854, allocations: 96.22 kB / 0.5496 GB, free: 88.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006732/0.8861, allocations: 278.8 kB / 0.5499 GB, free: 88.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003555/0.8897, allocations: 2.857 MB / 0.5527 GB, free: 87.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/0.9133, allocations: 14 MB / 0.5663 GB, free: 75.06 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.06726/0.9805, allocations: 63.2 MB / 0.628 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/0.9991, allocations: 7.496 MB / 0.6354 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004567/1.004, allocations: 4.358 MB / 0.6396 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02135/1.025, allocations: 11.04 MB / 0.6504 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.378e-05/1.025, allocations: 72.48 kB / 0.6505 GB, free: 4.551 MB / 462.1 MB Notification: Performance of pre-optimization done (n=293): time 6.482e-06/1.025, allocations: 0 / 0.6505 GB, free: 4.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=359): time 0.2013/1.226, allocations: 52.79 MB / 0.702 GB, free: 308 kB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/1.227, allocations: 398.2 kB / 0.7024 GB, free: 15.82 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009709/1.236, allocations: 6.945 MB / 0.7092 GB, free: 9.09 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0006604/1.237, allocations: 85.64 kB / 0.7093 GB, free: 9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004256/1.241, allocations: 5.424 MB / 0.7146 GB, free: 3.668 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001657/1.243, allocations: 1.384 MB / 0.7159 GB, free: 2.273 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003032/1.246, allocations: 1.925 MB / 0.7178 GB, free: 344 kB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.246, allocations: 305.1 kB / 0.7181 GB, free: 36 kB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007154/1.253, allocations: 4.711 MB / 0.7227 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01116/1.264, allocations: 9.764 MB / 0.7322 GB, free: 15.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2077/1.472, allocations: 14.99 MB / 0.7469 GB, free: 178.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001667/1.472, allocations: 50.47 kB / 0.7469 GB, free: 178.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03681/1.509, allocations: 20.36 MB / 0.7668 GB, free: 173.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/1.509, allocations: 75.38 kB / 0.7669 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/1.509, allocations: 163.7 kB / 0.767 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02045/1.53, allocations: 7.329 MB / 0.7742 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005965/1.536, allocations: 2 MB / 0.7761 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03999/1.576, allocations: 35.82 MB / 0.8111 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007116/1.583, allocations: 0.6067 MB / 0.8117 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007911/1.584, allocations: 0.5 MB / 0.8122 GB, free: 137.3 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.004163/1.588, allocations: 3.592 MB / 0.8157 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.589, allocations: 0.6384 MB / 0.8163 GB, free: 133.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02569/1.614, allocations: 13.8 MB / 0.8298 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/1.615, allocations: 40 kB / 0.8298 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.251e-05/1.615, allocations: 27.88 kB / 0.8299 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/1.615, allocations: 15.94 kB / 0.8299 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04434/1.659, allocations: 25.21 MB / 0.8545 GB, free: 94.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.659, allocations: 8 kB / 0.8545 GB, free: 94.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/1.661, allocations: 469.6 kB / 0.855 GB, free: 93.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01928/1.68, allocations: 6.957 MB / 0.8618 GB, free: 86.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005149/1.681, allocations: 67.98 kB / 0.8618 GB, free: 86.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0385/1.719, allocations: 34.62 MB / 0.8956 GB, free: 51.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.719, allocations: 7.938 kB / 0.8956 GB, free: 51.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03142/1.751, allocations: 19.6 MB / 0.9148 GB, free: 32.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.753, allocations: 0.6095 MB / 0.9154 GB, free: 31.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.754, allocations: 60 kB / 0.9154 GB, free: 31.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.757, allocations: 323.5 kB / 0.9157 GB, free: 31.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009129/1.758, allocations: 272.2 kB / 0.916 GB, free: 31.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003151/1.759, allocations: 95.59 kB / 0.9161 GB, free: 30.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005317/1.764, allocations: 4.22 MB / 0.9202 GB, free: 26.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/1.764, allocations: 0 / 0.9202 GB, free: 26.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008131/1.772, allocations: 2.188 MB / 0.9223 GB, free: 24.59 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.0006372/1.773, allocations: 219.4 kB / 0.9226 GB, free: 24.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01555/1.788, allocations: 11.51 MB / 0.9338 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.788, allocations: 4 kB / 0.9338 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007657/1.796, allocations: 4.908 MB / 0.9386 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004963/1.801, allocations: 0.9197 MB / 0.9395 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2211/2.022, allocations: 20.72 MB / 0.9597 GB, free: 188.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005561/2.028, allocations: 5.265 MB / 0.9649 GB, free: 187.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005257/2.033, allocations: 2.639 MB / 0.9674 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/2.034, allocations: 380 kB / 0.9678 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.272e-06/2.034, allocations: 0 / 0.9678 GB, free: 187.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.1307/2.165, allocations: 104.3 MB / 1.07 GB, free: 95.88 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/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.21179806800501]