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.00098/0.00098, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009841/0.0009841, allocations: 166 kB / 25.69 MB, free: 8.453 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.9104/0.9104, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.252e-06/1.252e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.88e-05, allocations: 6.312 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.01623/0.01625, allocations: 22.04 MB / 273.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.02972, allocations: 7.272 MB / 280.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/0.03253, allocations: 214.8 kB / 281.1 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009197/0.04173, allocations: 8.399 MB / 289.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007442/0.04917, allocations: 3.88 MB / 293.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.05256, allocations: 2.308 MB / 295.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01466/0.06722, allocations: 14.13 MB / 309.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.07834, allocations: 9.289 MB / 319.1 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01076/0.08911, allocations: 8.278 MB / 327.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008271/0.09738, allocations: 6.47 MB / 333.9 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001952/0.09933, allocations: 1.039 MB / 334.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/0.1027, allocations: 2.193 MB / 337.1 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004016/0.1067, allocations: 5.526 MB / 342.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004384/0.1111, allocations: 3.495 MB / 346.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1471/0.2582, allocations: 10.75 MB / 356.9 MB, free: 52.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2582, allocations: 1.719 kB / 356.9 MB, free: 52.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2582, allocations: 0 / 356.9 MB, free: 52.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004928/0.2587, allocations: 0 / 356.9 MB, free: 52.62 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.02245/0.2812, allocations: 10.49 MB / 367.4 MB, free: 48.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2812, allocations: 16.67 kB / 367.4 MB, free: 48.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.2929, allocations: 2.428 MB / 369.8 MB, free: 48.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.3045, allocations: 5.867 MB / 375.7 MB, free: 47.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.3049, allocations: 0.5217 MB / 376.2 MB, free: 47.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003425/0.3083, allocations: 0.7335 MB / 376.9 MB, free: 47.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/0.3325, allocations: 9.649 MB / 386.6 MB, free: 43.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004096/0.3329, allocations: 85.08 kB / 386.7 MB, free: 43.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002283/0.3352, allocations: 326.1 kB / 387 MB, free: 43.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/0.3374, allocations: 2.621 MB / 389.6 MB, free: 43.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/0.3514, allocations: 4.659 MB / 394.3 MB, free: 43.28 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.0615/0.4129, allocations: 54.24 MB / 448.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/0.4248, allocations: 3.569 MB / 452.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.4271, allocations: 0.8734 MB / 452.9 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01939/0.4465, allocations: 8.626 MB / 461.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.4465, allocations: 67.84 kB / 461.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=296): time 6.192e-06/0.4465, allocations: 0 / 461.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=397): time 0.06409/0.5106, allocations: 19.32 MB / 481 MB, free: 7.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.5108, allocations: 401.8 kB / 481.3 MB, free: 6.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008632/0.5194, allocations: 5.911 MB / 487.3 MB, free: 1.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001111/0.5205, allocations: 89.7 kB / 487.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002551/0.5231, allocations: 5.106 MB / 492.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001999/0.5251, allocations: 1.506 MB / 494 MB, free: 11.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/0.5271, allocations: 1.888 MB / 495.8 MB, free: 10 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.5272, allocations: 308.9 kB / 496.1 MB, free: 9.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002785/0.53, allocations: 1.482 MB / 497.6 MB, free: 8.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1591/0.689, allocations: 6.573 MB / 0.4924 GB, free: 109.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008961/0.698, allocations: 8.542 MB / 0.5007 GB, free: 103.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/0.6982, allocations: 54.08 kB / 0.5008 GB, free: 103.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.01672/0.7149, allocations: 7.623 MB / 0.5082 GB, free: 102.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.715, allocations: 81.44 kB / 0.5083 GB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000243/0.7152, allocations: 171.4 kB / 0.5085 GB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005718/0.721, allocations: 1.786 MB / 0.5102 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005777/0.7267, allocations: 2.229 MB / 0.5124 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.7371, allocations: 6.129 MB / 0.5184 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007023/0.7441, allocations: 403.2 kB / 0.5188 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/0.7458, allocations: 458.4 kB / 0.5192 GB, free: 101.1 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.004447/0.7503, allocations: 0.8812 MB / 0.52 GB, free: 100.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/0.7519, allocations: 489.2 kB / 0.5205 GB, free: 100.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006522/0.7585, allocations: 3.352 MB / 0.5238 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/0.7585, allocations: 38.38 kB / 0.5238 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7585, allocations: 13.69 kB / 0.5238 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/0.7585, allocations: 26.12 kB / 0.5239 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02368/0.7822, allocations: 11.71 MB / 0.5353 GB, free: 93.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/0.7822, allocations: 12 kB / 0.5353 GB, free: 93.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/0.7842, allocations: 0.6021 MB / 0.5359 GB, free: 93.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005697/0.7899, allocations: 1.834 MB / 0.5377 GB, free: 91.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008036/0.7907, allocations: 80 kB / 0.5378 GB, free: 91.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008075/0.7988, allocations: 5.371 MB / 0.543 GB, free: 86.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.7988, allocations: 34.67 kB / 0.543 GB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008558/0.8074, allocations: 4.908 MB / 0.5478 GB, free: 80.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/0.81, allocations: 1.114 MB / 0.5489 GB, free: 80.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/0.811, allocations: 83.94 kB / 0.549 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/0.813, allocations: 100 kB / 0.5491 GB, free: 80.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006308/0.8137, allocations: 302 kB / 0.5494 GB, free: 79.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/0.8139, allocations: 96.78 kB / 0.5495 GB, free: 79.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003099/0.817, allocations: 2.438 MB / 0.5519 GB, free: 77.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.817, allocations: 0 / 0.5519 GB, free: 77.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009243/0.8262, allocations: 2.545 MB / 0.5543 GB, free: 74.96 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.001034/0.8272, allocations: 305.1 kB / 0.5546 GB, free: 74.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006436/0.8337, allocations: 4.707 MB / 0.5592 GB, free: 70.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00029/0.834, allocations: 137.6 kB / 0.5594 GB, free: 69.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002149/0.8361, allocations: 1.527 MB / 0.5609 GB, free: 68.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005852/0.842, allocations: 1.463 MB / 0.5623 GB, free: 67.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/0.8702, allocations: 16.7 MB / 0.5786 GB, free: 50.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00399/0.8742, allocations: 2.714 MB / 0.5812 GB, free: 47.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004406/0.8786, allocations: 0.9093 MB / 0.5821 GB, free: 46.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002601/0.8812, allocations: 1.116 MB / 0.5832 GB, free: 45.43 MB / 394.7 MB Notification: Performance of SimCode: time 2.956e-06/0.8812, allocations: 0 / 0.5832 GB, free: 45.43 MB / 394.7 MB Notification: Performance of Templates: time 0.2787/1.16, allocations: 98.28 MB / 0.6792 GB, free: 101.9 MB / 410.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 -s gbode -gbm=radauIIA3 -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.56126252701506]