Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.0026/0.0026, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.003175/0.003175, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.576/1.576, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.81e-05/4.075e-05, allocations: 2.312 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1598/0.1599, allocations: 22.59 MB / 294.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.1732, allocations: 6.957 MB / 301.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004704/0.1779, allocations: 216 kB / 302 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01351/0.1914, allocations: 8.544 MB / 310.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008661/0.2001, allocations: 3.781 MB / 314.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.2043, allocations: 2.304 MB / 316.6 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02002/0.2244, allocations: 15.73 MB / 332.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01501/0.2394, allocations: 9.776 MB / 342.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/0.2532, allocations: 6.651 MB / 348.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01234/0.2656, allocations: 6.735 MB / 355.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003417/0.269, allocations: 1.031 MB / 356.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007079/0.2761, allocations: 2.123 MB / 358.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008711/0.2848, allocations: 5.479 MB / 364.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009315/0.2941, allocations: 3.464 MB / 367.6 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02542/0.3195, allocations: 17.78 MB / 385.4 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3195, allocations: 4 kB / 385.4 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3195, allocations: 4 kB / 385.4 MB, free: 460 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004568/0.32, allocations: 0 / 385.4 MB, free: 460 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.03476/0.3547, allocations: 13.27 MB / 398.7 MB, free: 3.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3548, allocations: 15.98 kB / 398.7 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0531/0.4079, allocations: 6.491 MB / 405.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02423/0.4321, allocations: 8.072 MB / 413.2 MB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005906/0.4327, allocations: 0.5257 MB / 413.8 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002898/0.4356, allocations: 0.7228 MB / 414.5 MB, free: 3.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0363/0.4719, allocations: 12.89 MB / 427.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003449/0.4722, allocations: 91.3 kB / 427.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.4733, allocations: 327.8 kB / 427.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004985/0.4783, allocations: 2.817 MB / 430.6 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2627/0.741, allocations: 6.8 MB / 437.4 MB, free: 105.3 MB / 378.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.1032/0.8442, allocations: 89.54 MB / 0.5146 GB, free: 27.11 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01915/0.8633, allocations: 5.278 MB / 0.5197 GB, free: 21.84 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003456/0.8668, allocations: 1.563 MB / 0.5213 GB, free: 20.25 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02051/0.8873, allocations: 8.828 MB / 0.5299 GB, free: 11.59 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.8873, allocations: 75.47 kB / 0.53 GB, free: 11.51 MB / 378.8 MB Notification: Performance of pre-optimization done (n=320): time 8.716e-06/0.8873, allocations: 3.969 kB / 0.53 GB, free: 11.51 MB / 378.8 MB Notification: Performance of matching and sorting (n=426): time 0.1683/1.056, allocations: 39.26 MB / 0.5683 GB, free: 4.734 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003093/1.056, allocations: 406.7 kB / 0.5687 GB, free: 4.25 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1487/1.205, allocations: 8.276 MB / 0.5768 GB, free: 121.8 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009244/1.206, allocations: 95.33 kB / 0.5769 GB, free: 121.8 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00448/1.21, allocations: 6.466 MB / 0.5832 GB, free: 120 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002263/1.212, allocations: 1.794 MB / 0.5849 GB, free: 119.1 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004144/1.217, allocations: 2.654 MB / 0.5875 GB, free: 118.8 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/1.217, allocations: 477.6 kB / 0.588 GB, free: 118.4 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004275/1.221, allocations: 1.832 MB / 0.5898 GB, free: 118.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006735/1.228, allocations: 9.849 MB / 0.5994 GB, free: 108.7 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/1.241, allocations: 13.7 MB / 0.6128 GB, free: 97.71 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000223/1.241, allocations: 47.81 kB / 0.6128 GB, free: 97.71 MB / 410.8 MB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.03366/1.275, allocations: 13.16 MB / 0.6257 GB, free: 94.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.275, allocations: 80.78 kB / 0.6257 GB, free: 94.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/1.275, allocations: 171.6 kB / 0.6259 GB, free: 94.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02144/1.297, allocations: 4.841 MB / 0.6306 GB, free: 91.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006968/1.304, allocations: 2.153 MB / 0.6327 GB, free: 89.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0291/1.333, allocations: 13.09 MB / 0.6455 GB, free: 76.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009214/1.342, allocations: 0.7217 MB / 0.6462 GB, free: 75.68 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/1.344, allocations: 0.5312 MB / 0.6467 GB, free: 75.15 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1174): * Single equations (assignments): 1169 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003571/1.347, allocations: 1.078 MB / 0.6478 GB, free: 74.06 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/1.349, allocations: 0.8113 MB / 0.6486 GB, free: 73.25 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02176/1.371, allocations: 7.713 MB / 0.6561 GB, free: 65.49 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/1.371, allocations: 40 kB / 0.6561 GB, free: 65.45 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/1.371, allocations: 24 kB / 0.6562 GB, free: 65.43 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.863e-05/1.371, allocations: 23.78 kB / 0.6562 GB, free: 65.41 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04853/1.419, allocations: 20.03 MB / 0.6758 GB, free: 45.23 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.436e-05/1.419, allocations: 11.98 kB / 0.6758 GB, free: 45.22 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/1.422, allocations: 0.5772 MB / 0.6763 GB, free: 44.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02012/1.442, allocations: 4.515 MB / 0.6807 GB, free: 40.13 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009056/1.443, allocations: 83.92 kB / 0.6808 GB, free: 40.05 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02476/1.468, allocations: 10.94 MB / 0.6915 GB, free: 28.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.468, allocations: 11.94 kB / 0.6915 GB, free: 28.97 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/1.494, allocations: 10.04 MB / 0.7013 GB, free: 18.71 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/1.496, allocations: 0.7257 MB / 0.702 GB, free: 17.98 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001764/1.498, allocations: 87.92 kB / 0.7021 GB, free: 17.89 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004804/1.503, allocations: 423.4 kB / 0.7025 GB, free: 17.48 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001228/1.504, allocations: 311 kB / 0.7028 GB, free: 17.17 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003665/1.504, allocations: 112 kB / 0.7029 GB, free: 17.06 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005866/1.51, allocations: 3.654 MB / 0.7065 GB, free: 13.43 MB / 410.8 MB Notification: Performance of sort global known variables: time 2e-07/1.51, allocations: 3.938 kB / 0.7065 GB, free: 13.43 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01191/1.522, allocations: 2.715 MB / 0.7091 GB, free: 10.71 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (294): * Single equations (assignments): 290 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,116,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001399/1.524, allocations: 294.4 kB / 0.7094 GB, free: 10.43 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01416/1.538, allocations: 7.399 MB / 0.7167 GB, free: 3.023 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.538, allocations: 4 kB / 0.7167 GB, free: 3.02 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005439/1.543, allocations: 2.918 MB / 0.7195 GB, free: 72 kB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1459/1.689, allocations: 1.041 MB / 0.7205 GB, free: 119.9 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03583/1.725, allocations: 18.19 MB / 0.7383 GB, free: 113.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007769/1.733, allocations: 5.437 MB / 0.7436 GB, free: 113.1 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.006141/1.739, allocations: 2.434 MB / 0.746 GB, free: 113 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.741, allocations: 438.3 kB / 0.7464 GB, free: 113 MB / 426.8 MB Notification: Performance of SimCode: time 1.353e-06/1.741, allocations: 0 / 0.7464 GB, free: 113 MB / 426.8 MB Notification: Performance of Templates: time 0.1481/1.889, allocations: 108.9 MB / 0.8527 GB, free: 19.94 MB / 426.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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: 9.575692225946113]