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.000943/0.000943, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.00105/0.00105, allocations: 167.8 kB / 25.6 MB, free: 8.922 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.8789/0.8789, allocations: 158.6 MB / 187.5 MB, free: 2.781 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.643e-06/1.643e-06, allocations: 0 / 251.5 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.734e-05, allocations: 2.312 kB / 251.5 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01601/0.01604, allocations: 21.98 MB / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.02821, allocations: 6.956 MB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00426/0.03247, allocations: 214.8 kB / 280.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00865/0.04112, allocations: 8.419 MB / 289.1 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00786/0.04898, allocations: 3.864 MB / 292.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.05276, allocations: 2.309 MB / 295.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01398/0.06674, allocations: 14.17 MB / 309.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01273/0.07948, allocations: 9.796 MB / 319.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0154/0.09487, allocations: 8.543 MB / 327.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.1058, allocations: 6.735 MB / 334.5 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003101/0.1089, allocations: 1.039 MB / 335.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005078/0.1139, allocations: 2.142 MB / 337.7 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00617/0.1201, allocations: 5.526 MB / 343.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01258/0.1327, allocations: 3.495 MB / 346.7 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1904/0.3231, allocations: 10.75 MB / 357.4 MB, free: 53.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3231, allocations: 0 / 357.4 MB, free: 53.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3231, allocations: 0.9688 kB / 357.4 MB, free: 53.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004679/0.3236, allocations: 0 / 357.4 MB, free: 53.13 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: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.01536/0.3389, allocations: 11.53 MB / 369 MB, free: 48.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.339, allocations: 11.11 kB / 369 MB, free: 48.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/0.3594, allocations: 5.285 MB / 374.3 MB, free: 48.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.3709, allocations: 6.277 MB / 380.5 MB, free: 46.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.3712, allocations: 0.5165 MB / 381.1 MB, free: 46.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002721/0.3739, allocations: 0.7371 MB / 381.8 MB, free: 46.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02292/0.3969, allocations: 10.57 MB / 392.4 MB, free: 42.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004292/0.3973, allocations: 89.88 kB / 392.5 MB, free: 42.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001456/0.3988, allocations: 324.5 kB / 392.8 MB, free: 42.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002525/0.4013, allocations: 2.623 MB / 395.4 MB, free: 42.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/0.4177, allocations: 4.727 MB / 400.1 MB, free: 38.86 MB / 330.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.0825/0.5002, allocations: 73.48 MB / 473.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.5107, allocations: 3.777 MB / 477.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.5134, allocations: 1.066 MB / 478.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01678/0.5302, allocations: 9.141 MB / 487.6 MB, free: 296 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.5302, allocations: 70.77 kB / 487.6 MB, free: 220 kB / 378.7 MB Notification: Performance of pre-optimization done (n=296): time 5.8e-06/0.5303, allocations: 2.078 kB / 487.7 MB, free: 220 kB / 378.7 MB Notification: Performance of matching and sorting (n=397): time 0.2098/0.7401, allocations: 24.08 MB / 0.4997 GB, free: 141.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.7402, allocations: 397.3 kB / 0.5001 GB, free: 141.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008206/0.7484, allocations: 6.515 MB / 0.5065 GB, free: 140.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001182/0.7496, allocations: 88.3 kB / 0.5066 GB, free: 140.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003249/0.7528, allocations: 6.164 MB / 0.5126 GB, free: 137.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002347/0.7552, allocations: 1.557 MB / 0.5141 GB, free: 136.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002802/0.758, allocations: 2.173 MB / 0.5162 GB, free: 136 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.7581, allocations: 484.4 kB / 0.5167 GB, free: 135.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.7601, allocations: 1.295 MB / 0.518 GB, free: 135.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00479/0.7649, allocations: 9.002 MB / 0.5267 GB, free: 125.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008396/0.7733, allocations: 10.83 MB / 0.5373 GB, free: 113.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000198/0.7735, allocations: 48 kB / 0.5374 GB, free: 113.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.01788/0.7913, allocations: 8.996 MB / 0.5462 GB, free: 105.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.7914, allocations: 76.97 kB / 0.5462 GB, free: 105.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/0.7915, allocations: 172 kB / 0.5464 GB, free: 105.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004759/0.7963, allocations: 1.806 MB / 0.5482 GB, free: 103.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004777/0.8011, allocations: 2.113 MB / 0.5502 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009415/0.8105, allocations: 7.083 MB / 0.5571 GB, free: 94.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007207/0.8177, allocations: 403.6 kB / 0.5575 GB, free: 94.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/0.8193, allocations: 460 kB / 0.558 GB, free: 93.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 783 * 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 (1196): * Single equations (assignments): 1191 * 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,78,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005323/0.8246, allocations: 0.9251 MB / 0.5589 GB, free: 92.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002549/0.8272, allocations: 0.7898 MB / 0.5596 GB, free: 91.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007428/0.8346, allocations: 3.802 MB / 0.5633 GB, free: 88.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-05/0.8347, allocations: 40 kB / 0.5634 GB, free: 88.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.8347, allocations: 12 kB / 0.5634 GB, free: 88.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.071e-05/0.8347, allocations: 23.94 kB / 0.5634 GB, free: 88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/0.8598, allocations: 13.49 MB / 0.5766 GB, free: 74.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.8599, allocations: 16.19 kB / 0.5766 GB, free: 74.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.8616, allocations: 0.535 MB / 0.5771 GB, free: 73.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00469/0.8663, allocations: 1.551 MB / 0.5786 GB, free: 72.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006161/0.8669, allocations: 83.98 kB / 0.5787 GB, free: 71.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008471/0.8754, allocations: 6.284 MB / 0.5849 GB, free: 65.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.8754, allocations: 23.88 kB / 0.5849 GB, free: 65.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.8855, allocations: 5.748 MB / 0.5905 GB, free: 59.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003741/0.8892, allocations: 1.206 MB / 0.5917 GB, free: 58.22 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/0.8911, allocations: 80 kB / 0.5917 GB, free: 58.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003703/0.8948, allocations: 99.72 kB / 0.5918 GB, free: 58.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000681/0.8955, allocations: 302 kB / 0.5921 GB, free: 57.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/0.8957, allocations: 100 kB / 0.5922 GB, free: 57.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004764/0.9005, allocations: 2.846 MB / 0.595 GB, free: 54.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9005, allocations: 0 / 0.595 GB, free: 54.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01211/0.9126, allocations: 2.554 MB / 0.5975 GB, free: 52.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 65 * 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 (314): * Single equations (assignments): 310 * 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,67,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/0.914, allocations: 313.3 kB / 0.5978 GB, free: 51.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008109/0.9221, allocations: 5.225 MB / 0.6029 GB, free: 46.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.9221, allocations: 0.5625 kB / 0.6029 GB, free: 46.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.9244, allocations: 1.752 MB / 0.6046 GB, free: 44.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006994/0.9314, allocations: 1.049 MB / 0.6056 GB, free: 43.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/0.9576, allocations: 16.89 MB / 0.6221 GB, free: 26.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004139/0.9617, allocations: 2.724 MB / 0.6248 GB, free: 23.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.1462/1.108, allocations: 0.9156 MB / 0.6257 GB, free: 125.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003525/1.111, allocations: 1.204 MB / 0.6269 GB, free: 125.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.435e-06/1.111, allocations: 0 / 0.6269 GB, free: 125.5 MB / 394.7 MB Notification: Performance of Templates: time 0.1576/1.269, allocations: 98.43 MB / 0.723 GB, free: 49.43 MB / 394.7 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: 5.59420356201008]