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.001032/0.001032, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001029/0.001029, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9445/0.9445, allocations: 177 MB / 204.8 MB, free: 5.594 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.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.765e-06/2.765e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.695e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1506/0.1506, allocations: 22.71 MB / 295.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.1643, allocations: 6.976 MB / 302.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/0.1678, allocations: 211.7 kB / 302.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007751/0.1755, allocations: 8.574 MB / 311.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.1821, allocations: 3.78 MB / 315.2 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.185, allocations: 2.308 MB / 317.5 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.013/0.198, allocations: 15.73 MB / 333.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/0.2084, allocations: 9.771 MB / 343 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007825/0.2162, allocations: 6.647 MB / 349.7 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007001/0.2233, allocations: 6.739 MB / 356.4 MB, free: 14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001803/0.2251, allocations: 1.031 MB / 357.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.2281, allocations: 2.123 MB / 359.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003667/0.2318, allocations: 5.479 MB / 365 MB, free: 5.348 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.2352, allocations: 3.456 MB / 368.5 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.2456, allocations: 10.65 MB / 379.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.108e-06/0.2456, allocations: 8 kB / 379.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.2456, allocations: 0 / 379.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003468/0.246, allocations: 0 / 379.1 MB, free: 7.191 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.01529/0.2613, allocations: 12.22 MB / 391.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2613, allocations: 15.98 kB / 391.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02404/0.2854, allocations: 6.495 MB / 397.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/0.3047, allocations: 7.905 MB / 405.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000445/0.3051, allocations: 0.5179 MB / 406.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.3068, allocations: 0.7267 MB / 407 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/0.3271, allocations: 11.97 MB / 419 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/0.3273, allocations: 95.3 kB / 419.1 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005786/0.3279, allocations: 323.8 kB / 419.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.3305, allocations: 2.817 MB / 422.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.3449, allocations: 6.387 MB / 428.6 MB, free: 3.973 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.3098/0.6547, allocations: 74.07 MB / 0.4909 GB, free: 54.2 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/0.6663, allocations: 5.571 MB / 0.4963 GB, free: 50.59 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.6683, allocations: 1.521 MB / 0.4978 GB, free: 49.04 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.6786, allocations: 8.683 MB / 0.5063 GB, free: 40.57 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.6786, allocations: 75.48 kB / 0.5064 GB, free: 40.48 MB / 378.8 MB Notification: Performance of pre-optimization done (n=320): time 5.2e-06/0.6786, allocations: 0 / 0.5064 GB, free: 40.48 MB / 378.8 MB Notification: Performance of matching and sorting (n=426): time 0.07905/0.7577, allocations: 38.84 MB / 0.5443 GB, free: 2.34 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/0.7578, allocations: 406.7 kB / 0.5447 GB, free: 1.855 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00703/0.7648, allocations: 6.494 MB / 0.551 GB, free: 11.58 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.7652, allocations: 89.7 kB / 0.5511 GB, free: 11.49 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003914/0.7691, allocations: 6.029 MB / 0.557 GB, free: 6.004 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001999/0.7711, allocations: 1.657 MB / 0.5586 GB, free: 4.367 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003159/0.7742, allocations: 2.167 MB / 0.5607 GB, free: 2.188 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7744, allocations: 476.8 kB / 0.5612 GB, free: 1.719 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/0.778, allocations: 1.691 MB / 0.5628 GB, free: 24 kB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008329/0.7863, allocations: 9.312 MB / 0.5719 GB, free: 3.348 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1585/0.9448, allocations: 11.98 MB / 0.5836 GB, free: 111.3 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.9449, allocations: 48.84 kB / 0.5837 GB, free: 111.3 MB / 410.8 MB Notification: Performance of matching and sorting (n=1331) (initialization): time 0.02172/0.9666, allocations: 12.78 MB / 0.5962 GB, free: 109.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/0.9667, allocations: 77.88 kB / 0.5962 GB, free: 109.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/0.9668, allocations: 171.1 kB / 0.5964 GB, free: 109.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/0.9781, allocations: 4.737 MB / 0.601 GB, free: 109.7 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/0.9823, allocations: 2.144 MB / 0.6031 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/1, allocations: 11.97 MB / 0.6148 GB, free: 104.6 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005455/1.006, allocations: 0.7276 MB / 0.6155 GB, free: 104.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007206/1.007, allocations: 0.5337 MB / 0.616 GB, free: 103.6 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.002877/1.009, allocations: 0.9319 MB / 0.6169 GB, free: 102.9 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.011, allocations: 0.8041 MB / 0.6177 GB, free: 102.4 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.023, allocations: 7.453 MB / 0.625 GB, free: 94.94 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/1.023, allocations: 42.42 kB / 0.625 GB, free: 94.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/1.023, allocations: 24 kB / 0.6251 GB, free: 94.88 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.451e-05/1.023, allocations: 27.86 kB / 0.6251 GB, free: 94.85 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/1.048, allocations: 17.24 MB / 0.6419 GB, free: 77.63 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.048, allocations: 8 kB / 0.6419 GB, free: 77.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/1.05, allocations: 0.5898 MB / 0.6425 GB, free: 77.04 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/1.061, allocations: 4.405 MB / 0.6468 GB, free: 72.63 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000446/1.062, allocations: 72 kB / 0.6469 GB, free: 72.56 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/1.077, allocations: 10.01 MB / 0.6567 GB, free: 62.64 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.077, allocations: 16.88 kB / 0.6567 GB, free: 62.63 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/1.093, allocations: 9.493 MB / 0.6659 GB, free: 53.03 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.095, allocations: 0.7304 MB / 0.6667 GB, free: 52.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006511/1.095, allocations: 76 kB / 0.6667 GB, free: 52.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/1.097, allocations: 423.3 kB / 0.6671 GB, free: 51.81 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007555/1.098, allocations: 317.6 kB / 0.6674 GB, free: 51.5 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/1.098, allocations: 116 kB / 0.6675 GB, free: 51.39 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003766/1.102, allocations: 3.021 MB / 0.6705 GB, free: 48.39 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.11e-07/1.102, allocations: 0 / 0.6705 GB, free: 48.39 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007645/1.11, allocations: 2.708 MB / 0.6731 GB, free: 45.7 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.0008076/1.111, allocations: 302.5 kB / 0.6734 GB, free: 45.42 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00971/1.12, allocations: 6.733 MB / 0.68 GB, free: 38.68 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.12, allocations: 0 / 0.68 GB, free: 38.68 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003677/1.124, allocations: 2.663 MB / 0.6826 GB, free: 35.99 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/1.128, allocations: 1.043 MB / 0.6836 GB, free: 35 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/1.152, allocations: 17.94 MB / 0.7011 GB, free: 16.83 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002343/1.155, allocations: 2.752 MB / 0.7038 GB, free: 14.05 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003856/1.159, allocations: 2.439 MB / 0.7062 GB, free: 11.6 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009592/1.16, allocations: 440.4 kB / 0.7066 GB, free: 11.17 MB / 410.8 MB Notification: Performance of SimCode: time 1.993e-06/1.16, allocations: 3.828 kB / 0.7066 GB, free: 11.17 MB / 410.8 MB Notification: Performance of Templates: time 0.2549/1.414, allocations: 109 MB / 0.8131 GB, free: 66.52 MB / 426.8 MB " [Timeout remaining time 659] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.195765890181065]