Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008947/0.0008947, allocations: 80.81 kB / 21.5 MB, free: 2.828 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008899/0.0008899, allocations: 164.3 kB / 24.91 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8806/0.8806, allocations: 177 MB / 205.2 MB, free: 5.141 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.139e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1019/0.1019, allocations: 19.18 MB / 292.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009405/0.1114, allocations: 6.355 MB / 299 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001848/0.1132, allocations: 205.2 kB / 299.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005642/0.1188, allocations: 6.809 MB / 306 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.1232, allocations: 3.691 MB / 309.7 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.1251, allocations: 1.925 MB / 311.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008622/0.1338, allocations: 15.03 MB / 326.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006023/0.1398, allocations: 8.236 MB / 334.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00746/0.1472, allocations: 8.567 MB / 343.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/0.1524, allocations: 5.675 MB / 349.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.1534, allocations: 0.7852 MB / 349.9 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.1554, allocations: 1.693 MB / 351.6 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.1582, allocations: 4.781 MB / 356.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.1606, allocations: 2.941 MB / 359.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.1665, allocations: 9.305 MB / 368.6 MB, free: 1.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1665, allocations: 4 kB / 368.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1665, allocations: 0 / 368.6 MB, free: 1.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.747e-05/0.1666, allocations: 0 / 368.6 MB, free: 1.5 MB / 314.7 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.009167/0.1757, allocations: 9.377 MB / 378 MB, free: 8.043 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1758, allocations: 15.98 kB / 378 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006318/0.1821, allocations: 2.264 MB / 380.3 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005482/0.1876, allocations: 5.174 MB / 385.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.1878, allocations: 447.9 kB / 385.9 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006318/0.1884, allocations: 0.6132 MB / 386.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008404/0.1968, allocations: 8.726 MB / 395.2 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.1969, allocations: 99.2 kB / 395.3 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000435/0.1974, allocations: 279.8 kB / 395.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002009/0.1994, allocations: 2.613 MB / 398.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006426/0.2058, allocations: 4.209 MB / 402.4 MB, free: 14.38 MB / 362.7 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.206/0.4118, allocations: 52.08 MB / 454.5 MB, free: 76.33 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/0.4189, allocations: 3.278 MB / 457.8 MB, free: 76.08 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009666/0.4199, allocations: 0.752 MB / 458.5 MB, free: 76.04 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008071/0.428, allocations: 6.804 MB / 465.3 MB, free: 75.37 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.428, allocations: 70 kB / 465.4 MB, free: 75.33 MB / 378.8 MB Notification: Performance of pre-optimization done (n=260): time 4.388e-06/0.428, allocations: 0 / 465.4 MB, free: 75.33 MB / 378.8 MB Notification: Performance of matching and sorting (n=316): time 0.03562/0.4636, allocations: 15.74 MB / 481.1 MB, free: 71.37 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4637, allocations: 393.7 kB / 481.5 MB, free: 70.9 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003327/0.467, allocations: 5.681 MB / 487.2 MB, free: 66.49 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.4672, allocations: 81.3 kB / 487.3 MB, free: 66.41 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.4682, allocations: 4.782 MB / 492.1 MB, free: 61.99 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.4686, allocations: 1.228 MB / 493.3 MB, free: 60.75 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.4698, allocations: 1.752 MB / 495 MB, free: 58.99 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 1.862e-05/0.4698, allocations: 317 kB / 495.3 MB, free: 58.68 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4714, allocations: 1.171 MB / 496.5 MB, free: 57.5 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.4738, allocations: 6.33 MB / 0.4911 GB, free: 48.71 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00376/0.4775, allocations: 8.093 MB / 0.499 GB, free: 38.68 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.931e-05/0.4776, allocations: 52 kB / 0.499 GB, free: 38.63 MB / 378.8 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.006123/0.4837, allocations: 6.685 MB / 0.5055 GB, free: 31.86 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.4837, allocations: 83.94 kB / 0.5056 GB, free: 31.77 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.339e-05/0.4838, allocations: 176 kB / 0.5058 GB, free: 31.6 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.4864, allocations: 1.306 MB / 0.5071 GB, free: 30.28 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/0.4894, allocations: 2.047 MB / 0.5091 GB, free: 28.23 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/0.4942, allocations: 5.61 MB / 0.5145 GB, free: 22.43 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.497, allocations: 383.7 kB / 0.5149 GB, free: 22.06 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/0.4973, allocations: 444 kB / 0.5153 GB, free: 21.62 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * 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 (1132): * Single equations (assignments): 1125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,46,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.4987, allocations: 0.8544 MB / 0.5162 GB, free: 20.76 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004864/0.4992, allocations: 439.5 kB / 0.5166 GB, free: 20.33 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.5021, allocations: 2.317 MB / 0.5188 GB, free: 17.95 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.5022, allocations: 32 kB / 0.5189 GB, free: 17.92 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5022, allocations: 12 kB / 0.5189 GB, free: 17.91 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.5022, allocations: 15.89 kB / 0.5189 GB, free: 17.89 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00965/0.5118, allocations: 9.443 MB / 0.5281 GB, free: 8.051 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5119, allocations: 20 kB / 0.5281 GB, free: 8.031 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009205/0.5128, allocations: 463.3 kB / 0.5286 GB, free: 7.578 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/0.5153, allocations: 1.362 MB / 0.5299 GB, free: 6.207 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.5155, allocations: 76 kB / 0.53 GB, free: 6.133 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00426/0.5197, allocations: 5.134 MB / 0.535 GB, free: 0.8086 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.5197, allocations: 35.86 kB / 0.535 GB, free: 0.7734 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/0.524, allocations: 4.057 MB / 0.539 GB, free: 12.23 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/0.5247, allocations: 0.6323 MB / 0.5396 GB, free: 11.59 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004717/0.5251, allocations: 83.97 kB / 0.5397 GB, free: 11.51 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.5263, allocations: 79.98 kB / 0.5398 GB, free: 11.43 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/0.5267, allocations: 285 kB / 0.54 GB, free: 11.15 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.5268, allocations: 87.98 kB / 0.5401 GB, free: 11.07 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.00189/0.5287, allocations: 2.315 MB / 0.5424 GB, free: 8.77 MB / 394.8 MB Notification: Performance of sort global known variables: time 1e-07/0.5287, allocations: 4.031 kB / 0.5424 GB, free: 8.766 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004376/0.5331, allocations: 2.085 MB / 0.5444 GB, free: 6.684 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (260): * Single equations (assignments): 253 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003753/0.5334, allocations: 243.6 kB / 0.5447 GB, free: 6.434 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004314/0.5377, allocations: 4.187 MB / 0.5487 GB, free: 2.238 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001727/0.5379, allocations: 132.8 kB / 0.5489 GB, free: 2.094 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.5394, allocations: 1.335 MB / 0.5502 GB, free: 0.7461 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/0.5425, allocations: 1.358 MB / 0.5515 GB, free: 15.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.556, allocations: 14.67 MB / 0.5658 GB, free: 360 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/0.5578, allocations: 2.377 MB / 0.5682 GB, free: 13.94 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.001788/0.5596, allocations: 0.8702 MB / 0.569 GB, free: 13.07 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/0.5614, allocations: 1.054 MB / 0.57 GB, free: 12 MB / 426.8 MB Notification: Performance of SimCode: time 9.61e-07/0.5614, allocations: 4 kB / 0.57 GB, free: 12 MB / 426.8 MB Notification: Performance of Templates: time 0.1758/0.7371, allocations: 72.63 MB / 0.641 GB, free: 105.6 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.442149626091123]