Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001415/0.001415, allocations: 77.88 kB / 21.42 MB, free: 3.078 MB / 18.57 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.00172/0.00172, allocations: 167.1 kB / 24.82 MB, free: 8.875 MB / 18.57 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 0.9283/0.9283, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.508e-05, allocations: 2.312 kB / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1412/0.1412, allocations: 18.17 MB / 291.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009761/0.1509, allocations: 5.881 MB / 297.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.1538, allocations: 194.5 kB / 297.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005463/0.1593, allocations: 6.176 MB / 303.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.1644, allocations: 3.536 MB / 307.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1664, allocations: 1.815 MB / 309.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008175/0.1746, allocations: 14.81 MB / 324 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005642/0.1803, allocations: 7.727 MB / 331.7 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007165/0.1874, allocations: 8.407 MB / 340.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005816/0.1932, allocations: 5.725 MB / 345.9 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001176/0.1944, allocations: 0.75 MB / 346.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.1966, allocations: 1.662 MB / 348.3 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002842/0.1995, allocations: 4.598 MB / 352.9 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.2016, allocations: 2.813 MB / 355.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006287/0.2079, allocations: 8.974 MB / 364.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2079, allocations: 0 / 364.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2079, allocations: 0 / 364.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.504e-05/0.208, allocations: 0 / 364.7 MB, free: 5.574 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01001/0.218, allocations: 9.922 MB / 374.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.218, allocations: 12.03 kB / 374.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/0.2365, allocations: 5.022 MB / 379.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006143/0.2426, allocations: 5.33 MB / 385 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.2428, allocations: 427.4 kB / 385.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.2434, allocations: 0.5781 MB / 386 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009223/0.2526, allocations: 9.305 MB / 395.3 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.2527, allocations: 91.27 kB / 395.3 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.2531, allocations: 267.8 kB / 395.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001848/0.255, allocations: 2.51 MB / 398.1 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006655/0.2616, allocations: 4.06 MB / 402.2 MB, free: 14.37 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.2607/0.5223, allocations: 69.55 MB / 471.7 MB, free: 60.59 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006745/0.5291, allocations: 3.229 MB / 475 MB, free: 60.41 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008854/0.5299, allocations: 0.9111 MB / 475.9 MB, free: 60.35 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007325/0.5373, allocations: 6.947 MB / 482.8 MB, free: 59 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5373, allocations: 63.17 kB / 482.9 MB, free: 58.94 MB / 378.8 MB Notification: Performance of pre-optimization done (n=248): time 3.606e-06/0.5373, allocations: 0 / 482.9 MB, free: 58.94 MB / 378.8 MB Notification: Performance of matching and sorting (n=298): time 0.03951/0.5768, allocations: 17.56 MB / 0.4887 GB, free: 50.18 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.5769, allocations: 397.5 kB / 0.4891 GB, free: 49.71 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/0.5815, allocations: 6.122 MB / 0.4951 GB, free: 44.81 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.5816, allocations: 69.7 kB / 0.4951 GB, free: 44.74 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.5835, allocations: 5.622 MB / 0.5006 GB, free: 39.61 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005782/0.5841, allocations: 1.217 MB / 0.5018 GB, free: 38.39 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/0.5856, allocations: 1.973 MB / 0.5037 GB, free: 36.39 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.5856, allocations: 480.7 kB / 0.5042 GB, free: 35.92 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.5868, allocations: 0.9233 MB / 0.5051 GB, free: 34.99 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/0.5899, allocations: 8.62 MB / 0.5135 GB, free: 23.02 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004554/0.5945, allocations: 10.07 MB / 0.5234 GB, free: 10.07 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.442e-05/0.5945, allocations: 48 kB / 0.5234 GB, free: 10.03 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.007185/0.6017, allocations: 7.632 MB / 0.5309 GB, free: 2.336 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/0.6018, allocations: 83.94 kB / 0.5309 GB, free: 2.254 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.528e-05/0.6019, allocations: 172 kB / 0.5311 GB, free: 2.086 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/0.6044, allocations: 1.261 MB / 0.5323 GB, free: 0.8086 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.6072, allocations: 1.981 MB / 0.5343 GB, free: 14.82 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006485/0.6137, allocations: 6.737 MB / 0.5408 GB, free: 7.855 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/0.6175, allocations: 379.7 kB / 0.5412 GB, free: 7.484 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000412/0.6179, allocations: 444 kB / 0.5416 GB, free: 7.051 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * 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 (1106): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * 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,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001797/0.6197, allocations: 0.8755 MB / 0.5425 GB, free: 6.16 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007683/0.6205, allocations: 0.7029 MB / 0.5432 GB, free: 5.453 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.6239, allocations: 2.493 MB / 0.5456 GB, free: 2.922 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.6239, allocations: 35.98 kB / 0.5456 GB, free: 2.887 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6239, allocations: 8 kB / 0.5457 GB, free: 2.879 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.6239, allocations: 11.95 kB / 0.5457 GB, free: 2.867 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.6369, allocations: 10.57 MB / 0.556 GB, free: 7.867 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.637, allocations: 23.06 kB / 0.556 GB, free: 7.848 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/0.6378, allocations: 435.3 kB / 0.5564 GB, free: 7.422 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.6402, allocations: 1.022 MB / 0.5574 GB, free: 6.383 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.6403, allocations: 75.98 kB / 0.5575 GB, free: 6.309 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.6456, allocations: 5.803 MB / 0.5632 GB, free: 276 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/0.6456, allocations: 27.88 kB / 0.5632 GB, free: 248 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/0.6509, allocations: 4.574 MB / 0.5677 GB, free: 11.15 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009535/0.6519, allocations: 0.6519 MB / 0.5683 GB, free: 10.49 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/0.6523, allocations: 80.02 kB / 0.5684 GB, free: 10.41 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.6534, allocations: 79.98 kB / 0.5684 GB, free: 10.34 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.6537, allocations: 265.1 kB / 0.5687 GB, free: 10.08 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.6539, allocations: 83.98 kB / 0.5688 GB, free: 9.996 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002347/0.6562, allocations: 2.648 MB / 0.5714 GB, free: 7.363 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6562, allocations: 0 / 0.5714 GB, free: 7.363 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.00518/0.6614, allocations: 2.019 MB / 0.5733 GB, free: 5.34 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * 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 (246): * Single equations (assignments): 239 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * 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,38,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003607/0.6617, allocations: 253.5 kB / 0.5736 GB, free: 5.086 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004978/0.6667, allocations: 4.6 MB / 0.5781 GB, free: 460 kB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6667, allocations: 4.062 kB / 0.5781 GB, free: 456 kB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1042/0.771, allocations: 1.583 MB / 0.5796 GB, free: 145.6 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/0.7749, allocations: 0.9754 MB / 0.5806 GB, free: 145.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.7908, allocations: 14.29 MB / 0.5945 GB, free: 139.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.7926, allocations: 2.289 MB / 0.5968 GB, free: 139 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002157/0.7947, allocations: 0.8312 MB / 0.5976 GB, free: 138.9 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.7962, allocations: 1.09 MB / 0.5986 GB, free: 138.8 MB / 426.8 MB Notification: Performance of SimCode: time 1.893e-06/0.7962, allocations: 0 / 0.5986 GB, free: 138.8 MB / 426.8 MB Notification: Performance of Templates: time 0.07946/0.8756, allocations: 69.59 MB / 0.6666 GB, free: 78.77 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.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.8435233840718865]