Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001428/0.001428, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001381/0.001381, allocations: 167.8 kB / 25.33 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8562/0.8562, allocations: 158.6 MB / 187.2 MB, free: 2.559 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5062,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.511e-05, allocations: 2.312 kB / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.0174/0.01743, allocations: 22.81 MB / 273.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.02949, allocations: 6.995 MB / 280.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.03248, allocations: 222.8 kB / 281.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008452/0.04093, allocations: 8.587 MB / 289.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007955/0.04888, allocations: 3.852 MB / 293.5 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.05208, allocations: 2.309 MB / 295.8 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1462/0.1983, allocations: 14.16 MB / 310 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.2105, allocations: 9.8 MB / 319.8 MB, free: 18.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/0.2211, allocations: 6.685 MB / 326.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007211/0.2283, allocations: 6.77 MB / 333.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002436/0.2308, allocations: 1.033 MB / 334.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.2337, allocations: 2.133 MB / 336.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003068/0.2367, allocations: 5.526 MB / 341.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003463/0.2402, allocations: 3.491 MB / 345.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009959/0.2502, allocations: 10.73 MB / 356.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2502, allocations: 4 kB / 356.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2502, allocations: 0 / 356.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0005943/0.2508, allocations: 0 / 356.2 MB, free: 11.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.01778/0.2685, allocations: 12.27 MB / 368.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2686, allocations: 15.92 kB / 368.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02238/0.291, allocations: 6.494 MB / 374.9 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.3045, allocations: 8.039 MB / 383 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/0.3048, allocations: 0.5246 MB / 383.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009672/0.3057, allocations: 0.7212 MB / 384.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/0.3233, allocations: 11.97 MB / 396.2 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/0.3235, allocations: 93.64 kB / 396.3 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005902/0.3241, allocations: 324.8 kB / 396.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/0.3269, allocations: 2.814 MB / 399.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.3399, allocations: 6.389 MB / 405.8 MB, free: 9.445 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.303/0.6428, allocations: 74.27 MB / 480.1 MB, free: 69.36 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.6542, allocations: 5.573 MB / 485.7 MB, free: 69.18 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.6562, allocations: 1.509 MB / 487.2 MB, free: 69.11 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009725/0.6659, allocations: 8.752 MB / 495.9 MB, free: 67.86 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.666, allocations: 75.95 kB / 496 MB, free: 67.82 MB / 378.8 MB Notification: Performance of pre-optimization done (n=319): time 5.029e-06/0.666, allocations: 0 / 496 MB, free: 67.82 MB / 378.8 MB Notification: Performance of matching and sorting (n=419): time 0.07097/0.7369, allocations: 37.05 MB / 0.5205 GB, free: 42.62 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.737, allocations: 410 kB / 0.5209 GB, free: 42.14 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/0.7423, allocations: 6.606 MB / 0.5274 GB, free: 35.75 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.7426, allocations: 93.7 kB / 0.5275 GB, free: 35.66 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002029/0.7446, allocations: 6.088 MB / 0.5334 GB, free: 30.23 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008232/0.7454, allocations: 1.626 MB / 0.535 GB, free: 28.62 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/0.7472, allocations: 2.171 MB / 0.5371 GB, free: 26.44 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.7472, allocations: 487.3 kB / 0.5376 GB, free: 25.96 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.7494, allocations: 1.66 MB / 0.5392 GB, free: 24.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/0.7532, allocations: 9.34 MB / 0.5483 GB, free: 11.64 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00788/0.7611, allocations: 11.96 MB / 0.56 GB, free: 12.84 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.15e-05/0.7611, allocations: 52 kB / 0.5601 GB, free: 12.79 MB / 394.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02194/0.7831, allocations: 12.63 MB / 0.5724 GB, free: 136 kB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.7832, allocations: 80.94 kB / 0.5725 GB, free: 56 kB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/0.7834, allocations: 172 kB / 0.5726 GB, free: 15.88 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01475/0.7981, allocations: 4.61 MB / 0.5771 GB, free: 11.29 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/0.8034, allocations: 2.148 MB / 0.5792 GB, free: 9.137 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1542/0.9575, allocations: 11.57 MB / 0.5905 GB, free: 121.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005896/0.9634, allocations: 0.7571 MB / 0.5913 GB, free: 121.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008413/0.9643, allocations: 0.5363 MB / 0.5918 GB, free: 121.9 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 784 * 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],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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1178): * Single equations (assignments): 1173 * 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,124,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002482/0.9667, allocations: 0.9353 MB / 0.5927 GB, free: 121.8 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/0.968, allocations: 0.8042 MB / 0.5935 GB, free: 121.8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.9805, allocations: 7.242 MB / 0.6006 GB, free: 121.5 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.9805, allocations: 40.97 kB / 0.6006 GB, free: 121.5 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/0.9805, allocations: 23.47 kB / 0.6006 GB, free: 121.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.9806, allocations: 20.84 kB / 0.6007 GB, free: 121.5 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/1.005, allocations: 16.89 MB / 0.6172 GB, free: 120.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.005, allocations: 7.25 kB / 0.6172 GB, free: 120.3 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.006, allocations: 0.5513 MB / 0.6177 GB, free: 120.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009794/1.016, allocations: 4.134 MB / 0.6217 GB, free: 120.2 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/1.016, allocations: 81.48 kB / 0.6218 GB, free: 120.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/1.03, allocations: 9.602 MB / 0.6312 GB, free: 117 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.03, allocations: 10.72 kB / 0.6312 GB, free: 117 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.045, allocations: 9.092 MB / 0.6401 GB, free: 110.8 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002992/1.048, allocations: 1.481 MB / 0.6415 GB, free: 109.6 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006237/1.049, allocations: 76 kB / 0.6416 GB, free: 109.5 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/1.051, allocations: 439.3 kB / 0.642 GB, free: 109.1 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000688/1.052, allocations: 312.9 kB / 0.6423 GB, free: 108.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/1.052, allocations: 112 kB / 0.6424 GB, free: 108.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003429/1.055, allocations: 3.108 MB / 0.6455 GB, free: 105.6 MB / 410.8 MB Notification: Performance of sort global known variables: time 2e-07/1.055, allocations: 0 / 0.6455 GB, free: 105.6 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00661/1.062, allocations: 2.733 MB / 0.6481 GB, free: 102.9 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 (292): * Single equations (assignments): 288 * 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,111,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006209/1.063, allocations: 303.5 kB / 0.6484 GB, free: 102.6 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.008232/1.071, allocations: 6.62 MB / 0.6549 GB, free: 96.19 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.071, allocations: 0 / 0.6549 GB, free: 96.19 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/1.074, allocations: 2.562 MB / 0.6574 GB, free: 93.6 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.077, allocations: 1.042 MB / 0.6584 GB, free: 92.6 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/1.097, allocations: 18.16 MB / 0.6761 GB, free: 74.19 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001809/1.099, allocations: 2.757 MB / 0.6788 GB, free: 71.41 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003303/1.102, allocations: 2.456 MB / 0.6812 GB, free: 68.95 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008698/1.103, allocations: 436.4 kB / 0.6816 GB, free: 68.52 MB / 410.8 MB Notification: Performance of SimCode: time 1.663e-06/1.103, allocations: 0 / 0.6816 GB, free: 68.52 MB / 410.8 MB Notification: Performance of Templates: time 0.2357/1.338, allocations: 109 MB / 0.7881 GB, free: 97.62 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.034787843935192]