Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.0009056/0.0009056, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009308/0.0009308, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.8958/0.8958, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.444e-05, allocations: 2.312 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1556/0.1556, allocations: 21.89 MB / 295.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.1674, allocations: 7.245 MB / 302.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003292/0.1707, allocations: 213.6 kB / 302.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007267/0.178, allocations: 8.36 MB / 311.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006682/0.1847, allocations: 3.833 MB / 315.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.1879, allocations: 2.309 MB / 317.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01301/0.2009, allocations: 15.65 MB / 333 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009105/0.21, allocations: 9.268 MB / 342.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.2213, allocations: 9.289 MB / 351.6 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007915/0.2292, allocations: 6.443 MB / 358 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002185/0.2314, allocations: 1.035 MB / 359.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.235, allocations: 2.177 MB / 361.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005007/0.24, allocations: 5.487 MB / 366.7 MB, free: 3.707 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005201/0.2452, allocations: 3.464 MB / 370.2 MB, free: 240 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.2561, allocations: 10.68 MB / 380.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2561, allocations: 0 / 380.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2561, allocations: 0 / 380.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004054/0.2565, allocations: 0 / 380.9 MB, free: 5.516 MB / 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.01365/0.2701, allocations: 10.44 MB / 391.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2702, allocations: 12.03 kB / 391.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006703/0.2769, allocations: 2.428 MB / 393.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008804/0.2857, allocations: 5.751 MB / 399.5 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.286, allocations: 0.5179 MB / 400 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.2874, allocations: 0.7267 MB / 400.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.3007, allocations: 9.662 MB / 410.4 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002086/0.3009, allocations: 87.33 kB / 410.5 MB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005857/0.3015, allocations: 319.8 kB / 410.8 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002049/0.3036, allocations: 2.622 MB / 413.4 MB, free: 3.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.3139, allocations: 4.683 MB / 418.1 MB, free: 14.86 MB / 378.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.2418/0.5557, allocations: 54.13 MB / 472.2 MB, free: 73.14 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007868/0.5636, allocations: 3.572 MB / 475.8 MB, free: 72.91 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.5649, allocations: 0.8708 MB / 476.7 MB, free: 72.86 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/0.5773, allocations: 8.626 MB / 485.3 MB, free: 70.61 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.5774, allocations: 65.5 kB / 485.4 MB, free: 70.55 MB / 378.8 MB Notification: Performance of pre-optimization done (n=298): time 6.122e-06/0.5774, allocations: 0 / 485.4 MB, free: 70.55 MB / 378.8 MB Notification: Performance of matching and sorting (n=406): time 0.05951/0.6369, allocations: 23.53 MB / 0.497 GB, free: 52.61 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.637, allocations: 412.5 kB / 0.4974 GB, free: 52.12 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004629/0.6416, allocations: 5.812 MB / 0.503 GB, free: 47.21 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006941/0.6423, allocations: 89.7 kB / 0.5031 GB, free: 47.12 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.6438, allocations: 5.09 MB / 0.5081 GB, free: 42.3 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/0.645, allocations: 1.538 MB / 0.5096 GB, free: 40.75 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001538/0.6466, allocations: 1.891 MB / 0.5114 GB, free: 38.84 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.718e-05/0.6466, allocations: 305.1 kB / 0.5117 GB, free: 38.54 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.649, allocations: 1.525 MB / 0.5132 GB, free: 37.01 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003348/0.6524, allocations: 6.587 MB / 0.5197 GB, free: 28.04 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005859/0.6582, allocations: 8.592 MB / 0.528 GB, free: 17.28 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.432e-05/0.6583, allocations: 52 kB / 0.5281 GB, free: 17.23 MB / 378.8 MB Notification: Performance of matching and sorting (n=1303) (initialization): time 0.012/0.6703, allocations: 7.925 MB / 0.5358 GB, free: 9.25 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.6704, allocations: 76.22 kB / 0.5359 GB, free: 9.176 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/0.6705, allocations: 176 kB / 0.5361 GB, free: 9.004 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005568/0.6761, allocations: 2.121 MB / 0.5381 GB, free: 6.879 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00464/0.6807, allocations: 2.25 MB / 0.5403 GB, free: 4.625 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009915/0.6906, allocations: 6.819 MB / 0.547 GB, free: 13.71 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/0.6955, allocations: 387.7 kB / 0.5474 GB, free: 13.33 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/0.6966, allocations: 456 kB / 0.5478 GB, free: 12.88 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 777 * 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 (1193): * Single equations (assignments): 1188 * 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 {(1,84,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003034/0.6996, allocations: 0.875 MB / 0.5487 GB, free: 12 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/0.7009, allocations: 495.4 kB / 0.5491 GB, free: 11.51 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007163/0.7081, allocations: 3.74 MB / 0.5528 GB, free: 7.727 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/0.7081, allocations: 43.98 kB / 0.5528 GB, free: 7.684 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.7082, allocations: 12 kB / 0.5528 GB, free: 7.672 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.7082, allocations: 19.94 kB / 0.5529 GB, free: 7.652 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/0.7284, allocations: 12.29 MB / 0.5649 GB, free: 11.03 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.7285, allocations: 12 kB / 0.5649 GB, free: 11.02 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.7303, allocations: 0.6281 MB / 0.5655 GB, free: 10.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005721/0.7361, allocations: 2.163 MB / 0.5676 GB, free: 8.223 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/0.7364, allocations: 84 kB / 0.5677 GB, free: 8.141 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009858/0.7462, allocations: 6.056 MB / 0.5736 GB, free: 1.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/0.7462, allocations: 26.69 kB / 0.5736 GB, free: 1.957 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1246/0.8708, allocations: 5.298 MB / 0.5788 GB, free: 122.4 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/0.8725, allocations: 0.6618 MB / 0.5794 GB, free: 122.4 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/0.8735, allocations: 85.98 kB / 0.5795 GB, free: 122.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.8756, allocations: 98.27 kB / 0.5796 GB, free: 122.4 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006873/0.8763, allocations: 306.2 kB / 0.5799 GB, free: 122.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/0.8766, allocations: 98.45 kB / 0.58 GB, free: 122.4 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00319/0.8797, allocations: 2.38 MB / 0.5823 GB, free: 122.2 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8797, allocations: 0 / 0.5823 GB, free: 122.2 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007182/0.8869, allocations: 2.567 MB / 0.5848 GB, free: 122.2 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (317): * Single equations (assignments): 313 * 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 {(1,73,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007041/0.8876, allocations: 295.5 kB / 0.5851 GB, free: 122.1 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.005949/0.8936, allocations: 4.843 MB / 0.5898 GB, free: 121.7 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002369/0.8938, allocations: 132.7 kB / 0.59 GB, free: 121.7 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.896, allocations: 1.631 MB / 0.5916 GB, free: 121.4 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00519/0.9011, allocations: 1.467 MB / 0.593 GB, free: 121.3 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/0.9232, allocations: 16.71 MB / 0.6093 GB, free: 112.9 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/0.9264, allocations: 2.715 MB / 0.612 GB, free: 111.5 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002918/0.9294, allocations: 0.9101 MB / 0.6129 GB, free: 111 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/0.9316, allocations: 1.114 MB / 0.6139 GB, free: 110 MB / 410.8 MB Notification: Performance of SimCode: time 1.623e-06/0.9316, allocations: 0 / 0.6139 GB, free: 110 MB / 410.8 MB Notification: Performance of Templates: time 0.108/1.04, allocations: 103 MB / 0.7145 GB, free: 9.93 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.073333696927875]