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.001327/0.001327, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001431/0.001431, allocations: 168.5 kB / 24.5 MB, free: 3.453 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.411/1.411, allocations: 177.2 MB / 204.9 MB, free: 8.941 MB / 190.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.001579/0.001579, allocations: 56.05 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08926, allocations: 53.33 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02134/0.1106, allocations: 17.64 MB / 396.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.1236, allocations: 6.001 MB / 402.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003799/0.1274, allocations: 202.8 kB / 402.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01235/0.1397, allocations: 6.153 MB / 408.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008676/0.1484, allocations: 3.529 MB / 412.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003872/0.1523, allocations: 1.665 MB / 414.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01816/0.1704, allocations: 12.99 MB / 427.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008366/0.1788, allocations: 6.267 MB / 433.4 MB, free: 8.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006514/0.1853, allocations: 3.801 MB / 437.2 MB, free: 5.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008218/0.1935, allocations: 5.055 MB / 442.2 MB, free: 88 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002072/0.1956, allocations: 0.7461 MB / 443 MB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.1992, allocations: 1.6 MB / 444.6 MB, free: 13.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004854/0.2041, allocations: 4.488 MB / 449.1 MB, free: 9.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005543/0.2096, allocations: 3.555 MB / 452.6 MB, free: 5.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0169/0.2265, allocations: 14.25 MB / 466.9 MB, free: 7.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2265, allocations: 0 / 466.9 MB, free: 7.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2265, allocations: 0 / 466.9 MB, free: 7.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003683/0.2269, allocations: 0 / 466.9 MB, free: 7.363 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.3415/0.5684, allocations: 10.2 MB / 477.1 MB, free: 78.73 MB / 430.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5684, allocations: 8.781 kB / 477.1 MB, free: 78.73 MB / 430.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04628/0.6147, allocations: 5.565 MB / 482.6 MB, free: 77.93 MB / 430.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/0.6318, allocations: 8.026 MB / 490.7 MB, free: 74.25 MB / 430.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.632, allocations: 448.7 kB / 491.1 MB, free: 73.96 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.6335, allocations: 0.6082 MB / 491.7 MB, free: 73.41 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/0.6541, allocations: 17.46 MB / 0.4972 GB, free: 54.98 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002024/0.6543, allocations: 107.2 kB / 0.4973 GB, free: 54.88 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005944/0.6549, allocations: 278.1 kB / 0.4976 GB, free: 54.61 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003366/0.6583, allocations: 2.858 MB / 0.5004 GB, free: 51.75 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/0.6795, allocations: 14.02 MB / 0.5141 GB, free: 37.73 MB / 430.2 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.07043/0.7499, allocations: 63.38 MB / 0.576 GB, free: 5.223 MB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02199/0.7719, allocations: 7.794 MB / 0.5836 GB, free: 13.39 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006222/0.7781, allocations: 4.361 MB / 0.5879 GB, free: 9.023 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02091/0.799, allocations: 11.1 MB / 0.5987 GB, free: 13.98 MB / 494.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/0.7991, allocations: 72.48 kB / 0.5988 GB, free: 13.9 MB / 494.2 MB Notification: Performance of pre-optimization done (n=293): time 5.961e-06/0.7991, allocations: 0 / 0.5988 GB, free: 13.9 MB / 494.2 MB Notification: Performance of matching and sorting (n=359): time 0.2072/1.006, allocations: 54.71 MB / 0.6522 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000245/1.007, allocations: 402.2 kB / 0.6526 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.017, allocations: 6.944 MB / 0.6593 GB, free: 15.88 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.0008137/1.017, allocations: 81.7 kB / 0.6594 GB, free: 15.79 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.004328/1.022, allocations: 5.419 MB / 0.6647 GB, free: 10.33 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.024, allocations: 1.384 MB / 0.6661 GB, free: 8.938 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002929/1.026, allocations: 1.928 MB / 0.668 GB, free: 6.996 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.027, allocations: 305.1 kB / 0.6682 GB, free: 6.695 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007254/1.034, allocations: 4.707 MB / 0.6728 GB, free: 1.98 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1907/1.225, allocations: 9.763 MB / 0.6824 GB, free: 180.8 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/1.241, allocations: 15 MB / 0.697 GB, free: 170.7 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/1.241, allocations: 49.72 kB / 0.6971 GB, free: 170.7 MB / 0.5451 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03542/1.276, allocations: 20.36 MB / 0.717 GB, free: 163.7 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 9.947e-05/1.276, allocations: 76 kB / 0.717 GB, free: 163.6 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/1.276, allocations: 168.1 kB / 0.7172 GB, free: 163.4 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0191/1.296, allocations: 7.325 MB / 0.7243 GB, free: 157.6 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005539/1.301, allocations: 1.996 MB / 0.7263 GB, free: 155.6 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03954/1.341, allocations: 35.83 MB / 0.7613 GB, free: 119.7 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008031/1.349, allocations: 0.6067 MB / 0.7619 GB, free: 119.1 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.35, allocations: 0.5046 MB / 0.7624 GB, free: 118.6 MB / 0.5451 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.004763/1.355, allocations: 3.588 MB / 0.7659 GB, free: 115.1 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.356, allocations: 0.6388 MB / 0.7665 GB, free: 114.8 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02558/1.382, allocations: 13.8 MB / 0.78 GB, free: 100.9 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/1.382, allocations: 39.94 kB / 0.78 GB, free: 100.9 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/1.382, allocations: 27.94 kB / 0.78 GB, free: 100.9 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.138e-05/1.382, allocations: 15.94 kB / 0.78 GB, free: 100.9 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04148/1.423, allocations: 25.23 MB / 0.8047 GB, free: 75.39 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/1.423, allocations: 11.98 kB / 0.8047 GB, free: 75.38 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.425, allocations: 464 kB / 0.8051 GB, free: 74.93 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01903/1.444, allocations: 6.97 MB / 0.8119 GB, free: 67.95 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005012/1.445, allocations: 64 kB / 0.812 GB, free: 67.88 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03863/1.483, allocations: 34.61 MB / 0.8458 GB, free: 33.2 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.483, allocations: 11.94 kB / 0.8458 GB, free: 33.19 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03209/1.515, allocations: 19.61 MB / 0.865 GB, free: 13.59 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/1.517, allocations: 0.6049 MB / 0.8656 GB, free: 12.98 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008349/1.518, allocations: 60 kB / 0.8656 GB, free: 12.93 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003381/1.521, allocations: 319.5 kB / 0.8659 GB, free: 12.61 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008169/1.522, allocations: 271.6 kB / 0.8662 GB, free: 12.35 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002938/1.523, allocations: 95.98 kB / 0.8663 GB, free: 12.25 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.004634/1.527, allocations: 4.216 MB / 0.8704 GB, free: 8.055 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.01e-07/1.527, allocations: 1.641 kB / 0.8704 GB, free: 8.055 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.006683/1.534, allocations: 2.201 MB / 0.8725 GB, free: 5.863 MB / 0.5451 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.0004856/1.534, allocations: 214.4 kB / 0.8727 GB, free: 5.656 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.1915/1.726, allocations: 11.52 MB / 0.884 GB, free: 177 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.726, allocations: 1.969 kB / 0.884 GB, free: 177 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.008411/1.734, allocations: 4.905 MB / 0.8888 GB, free: 176.4 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/1.739, allocations: 0.9179 MB / 0.8897 GB, free: 176 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/1.767, allocations: 20.71 MB / 0.9099 GB, free: 167.6 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00517/1.772, allocations: 5.267 MB / 0.915 GB, free: 164.3 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.005012/1.777, allocations: 2.633 MB / 0.9176 GB, free: 162.7 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009577/1.778, allocations: 380.3 kB / 0.918 GB, free: 162.4 MB / 0.5451 GB Notification: Performance of SimCode: time 7.81e-07/1.778, allocations: 0 / 0.918 GB, free: 162.4 MB / 0.5451 GB Notification: Performance of Templates: time 0.1266/1.905, allocations: 95 MB / 1.011 GB, free: 69.01 MB / 0.5451 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 ida -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: 8.788495345972478]