Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001278/0.001278, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.002002/0.002002, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.427/1.427, allocations: 230.4 MB / 258.1 MB, free: 8.129 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 79.8 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2108, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02275/0.2336, allocations: 20.56 MB / 452.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0135/0.2471, allocations: 6.227 MB / 458.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/0.2505, allocations: 171.4 kB / 459 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.2629, allocations: 6.425 MB / 465.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008885/0.2717, allocations: 3.506 MB / 469 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.2754, allocations: 1.658 MB / 470.6 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01724/0.2927, allocations: 12.95 MB / 483.6 MB, free: 3.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007779/0.3005, allocations: 5.772 MB / 489.4 MB, free: 13.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006102/0.3066, allocations: 3.758 MB / 493.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008084/0.3146, allocations: 5.363 MB / 498.5 MB, free: 4.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002221/0.3169, allocations: 0.7461 MB / 499.2 MB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004086/0.321, allocations: 1.736 MB / 0.4892 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005348/0.3263, allocations: 4.504 MB / 0.4936 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006215/0.3325, allocations: 4.631 MB / 0.4981 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.3486, allocations: 14.17 MB / 0.512 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3486, allocations: 0 / 0.512 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3486, allocations: 3.938 kB / 0.512 GB, free: 10.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003249/0.3489, allocations: 0 / 0.512 GB, free: 10.84 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02329/0.3722, allocations: 10.27 MB / 0.522 GB, free: 476 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3723, allocations: 8.031 kB / 0.522 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04729/0.4195, allocations: 5.329 MB / 0.5272 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/0.4405, allocations: 8.126 MB / 0.5352 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000527/0.441, allocations: 450.6 kB / 0.5356 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/0.4432, allocations: 0.6051 MB / 0.5362 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3653/0.8085, allocations: 17.12 MB / 0.5529 GB, free: 86.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002936/0.8088, allocations: 107.8 kB / 0.553 GB, free: 86.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007901/0.8096, allocations: 278.3 kB / 0.5533 GB, free: 86.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003766/0.8134, allocations: 2.859 MB / 0.5561 GB, free: 85.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/0.8379, allocations: 14.03 MB / 0.5698 GB, free: 72.76 MB / 446.1 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.07488/0.9128, allocations: 69.78 MB / 0.6379 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02222/0.935, allocations: 7.954 MB / 0.6457 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00656/0.9416, allocations: 4.35 MB / 0.6499 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0247/0.9663, allocations: 12.79 MB / 0.6624 GB, free: 8.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.992e-05/0.9663, allocations: 68.5 kB / 0.6625 GB, free: 8.594 MB / 478.1 MB Notification: Performance of pre-optimization done (n=293): time 6.132e-06/0.9663, allocations: 0 / 0.6625 GB, free: 8.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=359): time 0.2119/1.178, allocations: 52.77 MB / 0.714 GB, free: 4.242 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/1.179, allocations: 398.2 kB / 0.7144 GB, free: 3.766 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.19, allocations: 7.278 MB / 0.7215 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008693/1.191, allocations: 77.7 kB / 0.7216 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004445/1.195, allocations: 5.386 MB / 0.7268 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/1.197, allocations: 1.383 MB / 0.7282 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/1.2, allocations: 1.932 MB / 0.7301 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.2, allocations: 305.1 kB / 0.7304 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007591/1.208, allocations: 4.711 MB / 0.735 GB, free: 14.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01205/1.22, allocations: 9.538 MB / 0.7443 GB, free: 3.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2136/1.433, allocations: 15 MB / 0.7589 GB, free: 170.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.842e-05/1.433, allocations: 47.19 kB / 0.759 GB, free: 170.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03691/1.47, allocations: 20.4 MB / 0.7789 GB, free: 164.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/1.47, allocations: 77.25 kB / 0.779 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/1.471, allocations: 163.8 kB / 0.7791 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/1.491, allocations: 7.33 MB / 0.7863 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/1.497, allocations: 2 MB / 0.7882 GB, free: 162.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04125/1.538, allocations: 36.58 MB / 0.824 GB, free: 126.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007808/1.546, allocations: 0.6024 MB / 0.8245 GB, free: 125.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.547, allocations: 0.5039 MB / 0.825 GB, free: 125 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (1081): * Single equations (assignments): 1075 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,96,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.004674/1.552, allocations: 3.591 MB / 0.8285 GB, free: 121.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.553, allocations: 0.6931 MB / 0.8292 GB, free: 121.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02645/1.58, allocations: 13.84 MB / 0.8427 GB, free: 107.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.486e-05/1.58, allocations: 15.94 kB / 0.8428 GB, free: 107.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/1.58, allocations: 0 / 0.8428 GB, free: 107.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.582, allocations: 0.7356 MB / 0.8435 GB, free: 106.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/1.583, allocations: 56 kB / 0.8435 GB, free: 106.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003496/1.586, allocations: 323.5 kB / 0.8438 GB, free: 106.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007362/1.587, allocations: 321.6 kB / 0.8441 GB, free: 106.1 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.023/1.61, allocations: 12.76 MB / 0.8566 GB, free: 93.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0138/1.624, allocations: 13.06 MB / 0.8694 GB, free: 80.29 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003692/1.628, allocations: 3.486 MB / 0.8728 GB, free: 76.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005847/1.634, allocations: 4.649 MB / 0.8773 GB, free: 72.17 MB / 0.545 GB Notification: Performance of Backend: time 2.5e-07/1.634, allocations: 0 / 0.8773 GB, free: 72.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0169/1.65, allocations: 8.448 MB / 0.8856 GB, free: 63.75 MB / 0.545 GB Notification: Performance of SimCode: time 0.02512/1.676, allocations: 18.33 MB / 0.9035 GB, free: 45.38 MB / 0.545 GB Notification: Performance of Templates: time 0.3497/2.025, allocations: 109.5 MB / 1.01 GB, free: 158 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.803476378787309] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 2.033416423946619 2.041865434 1.690876456 Calling exit ...