Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.000927/0.000927, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001498/0.001498, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.973/0.973, allocations: 177 MB / 205.2 MB, free: 5.035 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.336e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1199/0.1199, allocations: 18.23 MB / 291.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.1315, allocations: 6.148 MB / 297.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004647/0.1361, allocations: 188.9 kB / 298 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009261/0.1454, allocations: 6.162 MB / 304.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009077/0.1544, allocations: 3.563 MB / 307.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003564/0.158, allocations: 1.827 MB / 309.6 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01597/0.174, allocations: 14.74 MB / 324.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/0.1846, allocations: 7.213 MB / 331.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01385/0.1984, allocations: 8.118 MB / 339.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00814/0.2066, allocations: 5.48 MB / 345.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001943/0.2085, allocations: 0.75 MB / 345.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/0.212, allocations: 1.697 MB / 347.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004371/0.2164, allocations: 4.606 MB / 352.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004862/0.2213, allocations: 2.813 MB / 355 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.2328, allocations: 8.97 MB / 364 MB, free: 6.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2328, allocations: 0 / 364 MB, free: 6.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2328, allocations: 4 kB / 364 MB, free: 6.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003288/0.2331, allocations: 0 / 364 MB, free: 6.004 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01418/0.2473, allocations: 9.009 MB / 373 MB, free: 12.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2474, allocations: 15.98 kB / 373 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00662/0.254, allocations: 2.229 MB / 375.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007526/0.2615, allocations: 5.007 MB / 380.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.2618, allocations: 427.4 kB / 380.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008806/0.2626, allocations: 0.582 MB / 381.2 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.2732, allocations: 8.387 MB / 389.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.2734, allocations: 95.22 kB / 389.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004315/0.2738, allocations: 267.8 kB / 390 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/0.2758, allocations: 2.51 MB / 392.5 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007479/0.2833, allocations: 4.062 MB / 396.5 MB, free: 4.109 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.2648/0.5481, allocations: 50.87 MB / 447.4 MB, free: 77.69 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008068/0.5562, allocations: 3.078 MB / 450.5 MB, free: 77.46 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/0.558, allocations: 0.7304 MB / 451.2 MB, free: 77.42 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.5687, allocations: 6.625 MB / 457.8 MB, free: 76.74 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.5687, allocations: 65.06 kB / 457.9 MB, free: 76.7 MB / 378.8 MB Notification: Performance of pre-optimization done (n=248): time 5.46e-06/0.5688, allocations: 3.438 kB / 457.9 MB, free: 76.7 MB / 378.8 MB Notification: Performance of matching and sorting (n=298): time 0.03949/0.6082, allocations: 15.02 MB / 472.9 MB, free: 74.09 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/0.6083, allocations: 393.3 kB / 473.3 MB, free: 73.63 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006831/0.6152, allocations: 5.547 MB / 478.9 MB, free: 69.55 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004345/0.6156, allocations: 77.67 kB / 478.9 MB, free: 69.47 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.6177, allocations: 4.644 MB / 483.6 MB, free: 65.37 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.6187, allocations: 1.17 MB / 484.7 MB, free: 64.19 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/0.6205, allocations: 1.72 MB / 486.5 MB, free: 62.45 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.377e-05/0.6206, allocations: 301.1 kB / 486.8 MB, free: 62.16 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/0.6232, allocations: 1.139 MB / 487.9 MB, free: 61.01 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003984/0.6271, allocations: 6.223 MB / 494.1 MB, free: 52.36 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006201/0.6333, allocations: 7.935 MB / 0.4903 GB, free: 42.57 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/0.6335, allocations: 48 kB / 0.4903 GB, free: 42.52 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.008806/0.6423, allocations: 6.542 MB / 0.4967 GB, free: 35.88 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/0.6423, allocations: 80 kB / 0.4968 GB, free: 35.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.6425, allocations: 172 kB / 0.497 GB, free: 35.64 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/0.6453, allocations: 1.253 MB / 0.4982 GB, free: 34.37 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/0.6493, allocations: 2.106 MB / 0.5002 GB, free: 32.26 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006125/0.6554, allocations: 5.462 MB / 0.5056 GB, free: 26.6 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007569/0.663, allocations: 379.6 kB / 0.5059 GB, free: 26.23 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/0.6643, allocations: 444 kB / 0.5064 GB, free: 25.79 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.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 (1106): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003807/0.6681, allocations: 0.8463 MB / 0.5072 GB, free: 24.94 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/0.6693, allocations: 415.5 kB / 0.5076 GB, free: 24.54 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.6727, allocations: 2.189 MB / 0.5097 GB, free: 22.3 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.6727, allocations: 32 kB / 0.5098 GB, free: 22.27 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.6728, allocations: 8 kB / 0.5098 GB, free: 22.27 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.6728, allocations: 19.88 kB / 0.5098 GB, free: 22.25 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.6862, allocations: 9.101 MB / 0.5187 GB, free: 12.74 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.6862, allocations: 23.47 kB / 0.5187 GB, free: 12.72 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.6877, allocations: 0.761 MB / 0.5194 GB, free: 11.96 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.6901, allocations: 1.025 MB / 0.5204 GB, free: 10.91 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/0.6903, allocations: 76 kB / 0.5205 GB, free: 10.84 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004875/0.6952, allocations: 4.541 MB / 0.5249 GB, free: 6.102 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.957e-05/0.6952, allocations: 35.81 kB / 0.525 GB, free: 6.066 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006906/0.7021, allocations: 3.91 MB / 0.5288 GB, free: 1.68 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/0.7039, allocations: 0.6206 MB / 0.5294 GB, free: 1.055 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007408/0.7046, allocations: 75.98 kB / 0.5295 GB, free: 0.9805 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.706, allocations: 91.95 kB / 0.5296 GB, free: 0.8906 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/0.7064, allocations: 261.1 kB / 0.5298 GB, free: 0.6367 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/0.7065, allocations: 87.94 kB / 0.5299 GB, free: 0.5508 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002724/0.7093, allocations: 2.267 MB / 0.5321 GB, free: 14.3 MB / 394.8 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7093, allocations: 0 / 0.5321 GB, free: 14.3 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01045/0.7197, allocations: 2.016 MB / 0.5341 GB, free: 12.29 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * 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 (246): * Single equations (assignments): 239 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,38,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00078/0.7205, allocations: 240.4 kB / 0.5343 GB, free: 12.04 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.009173/0.7297, allocations: 4.163 MB / 0.5384 GB, free: 7.844 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000499/0.7302, allocations: 132.2 kB / 0.5385 GB, free: 7.707 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/0.7331, allocations: 1.365 MB / 0.5398 GB, free: 6.316 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00747/0.7405, allocations: 1.319 MB / 0.5411 GB, free: 5.031 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.7611, allocations: 14.01 MB / 0.5548 GB, free: 6.621 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/0.7639, allocations: 2.294 MB / 0.557 GB, free: 4.297 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00258/0.7664, allocations: 0.8257 MB / 0.5579 GB, free: 3.465 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.7681, allocations: 1.003 MB / 0.5588 GB, free: 2.453 MB / 410.8 MB Notification: Performance of SimCode: time 1.974e-06/0.7681, allocations: 0 / 0.5588 GB, free: 2.453 MB / 410.8 MB Notification: Performance of Templates: time 0.2091/0.9772, allocations: 69.47 MB / 0.6267 GB, free: 115.7 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.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.004763771779835]