Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009767/0.0009767, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008724/0.0008724, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9748/0.9748, allocations: 173.3 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.38e-05, allocations: 2.312 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01363/0.01365, allocations: 18.93 MB / 286.9 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1311/0.1447, allocations: 5.885 MB / 292.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.1478, allocations: 191.6 kB / 293 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007572/0.1554, allocations: 6.335 MB / 299.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007697/0.1631, allocations: 3.556 MB / 302.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.1656, allocations: 1.829 MB / 304.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01155/0.1772, allocations: 14.28 MB / 319 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007445/0.1846, allocations: 7.729 MB / 326.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/0.196, allocations: 8.38 MB / 335.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007723/0.2037, allocations: 5.728 MB / 340.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001871/0.2056, allocations: 0.75 MB / 341.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.2083, allocations: 1.686 MB / 343.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003461/0.2118, allocations: 4.624 MB / 347.9 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003755/0.2155, allocations: 2.832 MB / 350.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008283/0.2238, allocations: 9.028 MB / 359.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2238, allocations: 0 / 359.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2238, allocations: 0 / 359.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003236/0.2241, allocations: 0 / 359.8 MB, free: 13.28 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.01395/0.2381, allocations: 10.74 MB / 370.5 MB, free: 2.574 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2381, allocations: 20.91 kB / 370.5 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0211/0.2592, allocations: 5.966 MB / 376.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008902/0.2681, allocations: 6.138 MB / 382.6 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.2684, allocations: 427.4 kB / 383.1 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/0.27, allocations: 0.5858 MB / 383.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.2838, allocations: 10.36 MB / 394 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002125/0.284, allocations: 87.36 kB / 394.1 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005163/0.2845, allocations: 263.8 kB / 394.4 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002589/0.2871, allocations: 2.67 MB / 397 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.2983, allocations: 5.266 MB / 402.3 MB, free: 1.215 MB / 346.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.2975/0.5958, allocations: 70.8 MB / 473.1 MB, free: 44.22 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0086/0.6044, allocations: 3.854 MB / 476.9 MB, free: 44.04 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.6059, allocations: 1.082 MB / 478 MB, free: 43.98 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/0.6182, allocations: 7.401 MB / 485.4 MB, free: 43.01 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.6183, allocations: 65.33 kB / 485.5 MB, free: 42.96 MB / 378.8 MB Notification: Performance of pre-optimization done (n=248): time 6.703e-06/0.6183, allocations: 2.734 kB / 485.5 MB, free: 42.96 MB / 378.8 MB Notification: Performance of matching and sorting (n=298): time 0.06876/0.687, allocations: 24.65 MB / 0.4982 GB, free: 34.31 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.6871, allocations: 394.2 kB / 0.4986 GB, free: 33.84 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005175/0.6923, allocations: 6.22 MB / 0.5046 GB, free: 27.96 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/0.6927, allocations: 76.44 kB / 0.5047 GB, free: 27.88 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002244/0.6949, allocations: 5.566 MB / 0.5101 GB, free: 22.88 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008205/0.6957, allocations: 1.203 MB / 0.5113 GB, free: 21.69 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.6971, allocations: 1.935 MB / 0.5132 GB, free: 19.73 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.6972, allocations: 480.8 kB / 0.5137 GB, free: 19.26 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.6986, allocations: 1.041 MB / 0.5147 GB, free: 18.21 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/0.7021, allocations: 8.684 MB / 0.5232 GB, free: 6.18 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007173/0.7092, allocations: 10.38 MB / 0.5333 GB, free: 9.145 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.429e-05/0.7093, allocations: 48 kB / 0.5334 GB, free: 9.098 MB / 394.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01275/0.7221, allocations: 8.483 MB / 0.5416 GB, free: 1.133 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/0.7222, allocations: 83.73 kB / 0.5417 GB, free: 1.055 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/0.7223, allocations: 175.9 kB / 0.5419 GB, free: 0.8828 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/0.726, allocations: 1.634 MB / 0.5435 GB, free: 15.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/0.7301, allocations: 2.067 MB / 0.5455 GB, free: 13.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007559/0.7377, allocations: 7.232 MB / 0.5526 GB, free: 5.684 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004879/0.7426, allocations: 0.6358 MB / 0.5532 GB, free: 5.047 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006586/0.7432, allocations: 0.5013 MB / 0.5537 GB, free: 4.547 MB / 410.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.002084/0.7453, allocations: 0.8789 MB / 0.5545 GB, free: 3.656 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/0.7464, allocations: 0.7023 MB / 0.5552 GB, free: 2.953 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.7509, allocations: 2.981 MB / 0.5581 GB, free: 15.93 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.751, allocations: 35.94 kB / 0.5582 GB, free: 15.89 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.751, allocations: 8 kB / 0.5582 GB, free: 15.88 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.751, allocations: 11.95 kB / 0.5582 GB, free: 15.87 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/0.7678, allocations: 11.39 MB / 0.5693 GB, free: 4.121 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/0.7678, allocations: 20.88 kB / 0.5693 GB, free: 4.102 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.7689, allocations: 0.496 MB / 0.5698 GB, free: 3.605 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003064/0.772, allocations: 1.367 MB / 0.5711 GB, free: 2.223 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.7721, allocations: 75.98 kB / 0.5712 GB, free: 2.148 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005979/0.7781, allocations: 6.219 MB / 0.5773 GB, free: 11.68 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/0.7781, allocations: 27.88 kB / 0.5773 GB, free: 11.65 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00663/0.7848, allocations: 5.164 MB / 0.5824 GB, free: 5.977 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.7859, allocations: 0.6792 MB / 0.583 GB, free: 5.293 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/0.7864, allocations: 91.91 kB / 0.5831 GB, free: 5.203 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.7879, allocations: 270.7 kB / 0.5834 GB, free: 4.941 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/0.7883, allocations: 269 kB / 0.5836 GB, free: 4.68 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.7885, allocations: 100 kB / 0.5837 GB, free: 4.582 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003887/0.7923, allocations: 2.884 MB / 0.5865 GB, free: 1.715 MB / 442.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7923, allocations: 0 / 0.5865 GB, free: 1.715 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.1451/0.9375, allocations: 2.045 MB / 0.5885 GB, free: 137.9 MB / 442.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.0009785/0.9384, allocations: 257.8 kB / 0.5888 GB, free: 137.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01041/0.9489, allocations: 5.077 MB / 0.5937 GB, free: 137.3 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.479e-05/0.9489, allocations: 4.031 kB / 0.5937 GB, free: 137.3 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002987/0.9519, allocations: 1.829 MB / 0.5955 GB, free: 136.8 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005051/0.9569, allocations: 0.9673 MB / 0.5965 GB, free: 136.8 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/0.9761, allocations: 14.35 MB / 0.6105 GB, free: 130.5 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/0.9783, allocations: 2.294 MB / 0.6127 GB, free: 130.2 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003848/0.9821, allocations: 2.21 MB / 0.6149 GB, free: 130.2 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008264/0.983, allocations: 398.4 kB / 0.6153 GB, free: 130.1 MB / 442.8 MB Notification: Performance of SimCode: time 3.206e-06/0.983, allocations: 0 / 0.6153 GB, free: 130.1 MB / 442.8 MB Notification: Performance of Templates: time 0.07992/1.063, allocations: 66.84 MB / 0.6805 GB, free: 76.37 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.0075124385766685]