Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001081/0.001081, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004812/0.004812, allocations: 160.8 kB / 24.7 MB, free: 9.441 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.8187/0.8187, allocations: 177 MB / 204.9 MB, free: 5.719 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.802e-05, allocations: 6.219 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01108/0.0111, allocations: 16.76 MB / 342.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008976/0.02008, allocations: 5.794 MB / 348.4 MB, free: 8.688 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.02195, allocations: 194.9 kB / 348.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005259/0.02721, allocations: 5.981 MB / 354.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.03158, allocations: 3.511 MB / 358 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.03341, allocations: 1.79 MB / 359.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009103/0.04251, allocations: 14.81 MB / 374.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004903/0.04742, allocations: 7.451 MB / 382.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/0.05187, allocations: 5.547 MB / 387.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004128/0.05599, allocations: 5.62 MB / 393.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006131/0.05661, allocations: 0.7461 MB / 394 MB, free: 10.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.05821, allocations: 1.654 MB / 395.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002394/0.0606, allocations: 4.559 MB / 400.2 MB, free: 4.641 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.06236, allocations: 2.785 MB / 403 MB, free: 1.848 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008338/0.07069, allocations: 14.01 MB / 417 MB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.0707, allocations: 0 / 417 MB, free: 3.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.07071, allocations: 0 / 417 MB, free: 3.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001287/0.07083, allocations: 0 / 417 MB, free: 3.797 MB / 378.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.0111/0.08193, allocations: 10.09 MB / 427.1 MB, free: 9.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.08197, allocations: 11.98 kB / 427.1 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01925/0.1012, allocations: 5.519 MB / 432.6 MB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009971/0.1112, allocations: 7.744 MB / 440.4 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.1114, allocations: 427.4 kB / 440.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009242/0.1123, allocations: 0.582 MB / 441.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2375/0.3498, allocations: 16.83 MB / 458.2 MB, free: 103 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.35, allocations: 101.4 kB / 458.3 MB, free: 102.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/0.3504, allocations: 268.3 kB / 458.6 MB, free: 102.8 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002174/0.3526, allocations: 2.759 MB / 461.3 MB, free: 102.3 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.3656, allocations: 13.62 MB / 474.9 MB, free: 94.01 MB / 410.8 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.03893/0.4045, allocations: 62.76 MB / 0.5251 GB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009697/0.4142, allocations: 7.476 MB / 0.5324 GB, free: 23.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/0.417, allocations: 4.248 MB / 0.5366 GB, free: 19.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009907/0.4269, allocations: 11.15 MB / 0.5474 GB, free: 8.172 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4269, allocations: 72.44 kB / 0.5475 GB, free: 8.094 MB / 410.8 MB Notification: Performance of pre-optimization done (n=280): time 5.521e-06/0.4269, allocations: 0 / 0.5475 GB, free: 8.094 MB / 410.8 MB Notification: Performance of matching and sorting (n=339): time 0.09401/0.5209, allocations: 52.44 MB / 0.5987 GB, free: 4.23 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.5211, allocations: 398.1 kB / 0.5991 GB, free: 3.754 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006902/0.528, allocations: 7.289 MB / 0.6062 GB, free: 12.67 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004325/0.5284, allocations: 77.7 kB / 0.6063 GB, free: 12.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002456/0.5309, allocations: 5.189 MB / 0.6114 GB, free: 7.488 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009228/0.5318, allocations: 1.298 MB / 0.6126 GB, free: 6.18 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/0.5335, allocations: 1.853 MB / 0.6144 GB, free: 4.312 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.5335, allocations: 305.1 kB / 0.6147 GB, free: 4.012 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1368/0.6704, allocations: 4.542 MB / 0.6192 GB, free: 155.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006572/0.6769, allocations: 9.494 MB / 0.6284 GB, free: 148.4 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009406/0.6863, allocations: 14.54 MB / 0.6426 GB, free: 138 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.926e-05/0.6864, allocations: 48.97 kB / 0.6427 GB, free: 138 MB / 474.8 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.02024/0.7066, allocations: 19.66 MB / 0.6619 GB, free: 127.9 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.7067, allocations: 72.94 kB / 0.662 GB, free: 127.9 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.407e-05/0.7068, allocations: 160 kB / 0.6621 GB, free: 127.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009648/0.7164, allocations: 7.054 MB / 0.669 GB, free: 121.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.7194, allocations: 1.926 MB / 0.6709 GB, free: 119.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02435/0.7437, allocations: 34.59 MB / 0.7046 GB, free: 84.58 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/0.7488, allocations: 0.6948 MB / 0.7053 GB, free: 83.91 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004629/0.7492, allocations: 500 kB / 0.7058 GB, free: 83.42 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * 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 (1048): * Single equations (assignments): 1042 * 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,93,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.003825/0.7531, allocations: 3.477 MB / 0.7092 GB, free: 80.04 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/0.7538, allocations: 0.618 MB / 0.7098 GB, free: 79.77 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.7678, allocations: 13.19 MB / 0.7227 GB, free: 66.5 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.7678, allocations: 36 kB / 0.7227 GB, free: 66.47 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.7679, allocations: 27.88 kB / 0.7227 GB, free: 66.44 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.7679, allocations: 15.94 kB / 0.7228 GB, free: 66.43 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02462/0.7925, allocations: 24.35 MB / 0.7465 GB, free: 41.78 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.7925, allocations: 7.938 kB / 0.7465 GB, free: 41.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009274/0.7934, allocations: 420.1 kB / 0.7469 GB, free: 41.36 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009354/0.8028, allocations: 6.646 MB / 0.7534 GB, free: 34.7 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/0.803, allocations: 64.55 kB / 0.7535 GB, free: 34.64 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/0.8275, allocations: 33.31 MB / 0.786 GB, free: 1.254 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.8276, allocations: 19.67 kB / 0.786 GB, free: 1.238 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1793/1.007, allocations: 18.66 MB / 0.8043 GB, free: 155.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.009, allocations: 0.6827 MB / 0.8049 GB, free: 155.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006173/1.009, allocations: 63.17 kB / 0.805 GB, free: 155.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.011, allocations: 404 kB / 0.8054 GB, free: 155.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005584/1.012, allocations: 256 kB / 0.8056 GB, free: 155.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/1.012, allocations: 86.97 kB / 0.8057 GB, free: 155.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003945/1.016, allocations: 4.514 MB / 0.8101 GB, free: 153.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/1.016, allocations: 3.375 kB / 0.8101 GB, free: 153.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005318/1.021, allocations: 2.41 MB / 0.8125 GB, free: 153.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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,87,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.0004923/1.022, allocations: 220.3 kB / 0.8127 GB, free: 153.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.009599/1.031, allocations: 11.09 MB / 0.8235 GB, free: 148.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.031, allocations: 3.969 kB / 0.8235 GB, free: 148.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003961/1.035, allocations: 4.663 MB / 0.8281 GB, free: 144.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/1.038, allocations: 0.8916 MB / 0.829 GB, free: 144.1 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.057, allocations: 20.54 MB / 0.849 GB, free: 125 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003581/1.061, allocations: 4.975 MB / 0.8539 GB, free: 120 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.062, allocations: 446.8 kB / 0.8543 GB, free: 119.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.132e-06/1.062, allocations: 0 / 0.8543 GB, free: 119.6 MB / 490.8 MB Notification: Performance of Templates: time 0.2688/1.331, allocations: 210.2 MB / 1.06 GB, free: 81.82 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 14.338990124873817]