Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001331/0.001331, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001445/0.001445, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.805 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+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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_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_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 43.92 kB / 379 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2167, allocations: 53.36 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.037/0.2537, allocations: 17.63 MB / 450 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02185/0.2756, allocations: 6.002 MB / 456 MB, free: 15 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/0.2797, allocations: 206.8 kB / 456.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01897/0.2986, allocations: 6.157 MB / 462.4 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008539/0.3072, allocations: 3.517 MB / 465.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.3109, allocations: 1.666 MB / 467.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01823/0.3291, allocations: 12.99 MB / 480.5 MB, free: 6.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008857/0.338, allocations: 6.302 MB / 486.8 MB, free: 28 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006735/0.3447, allocations: 3.813 MB / 490.6 MB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008445/0.3532, allocations: 5.356 MB / 496 MB, free: 6.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002351/0.3555, allocations: 0.7461 MB / 496.8 MB, free: 6.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.3596, allocations: 1.616 MB / 498.4 MB, free: 4.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005481/0.3651, allocations: 4.492 MB / 0.4911 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005528/0.3706, allocations: 3.555 MB / 0.4945 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.3883, allocations: 14.24 MB / 0.5085 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3883, allocations: 3.984 kB / 0.5085 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3883, allocations: 0 / 0.5085 GB, free: 14.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003994/0.3887, allocations: 0 / 0.5085 GB, free: 14.09 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.02555/0.4143, allocations: 10.2 MB / 0.5184 GB, free: 3.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4143, allocations: 8.031 kB / 0.5184 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04527/0.4596, allocations: 5.335 MB / 0.5236 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/0.4808, allocations: 8.019 MB / 0.5315 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004298/0.4812, allocations: 448 kB / 0.5319 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002034/0.4833, allocations: 0.6206 MB / 0.5325 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3673/0.8506, allocations: 17.42 MB / 0.5495 GB, free: 88.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/0.8508, allocations: 101.7 kB / 0.5496 GB, free: 88.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006621/0.8515, allocations: 277.2 kB / 0.5499 GB, free: 88.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003486/0.855, allocations: 2.86 MB / 0.5527 GB, free: 87.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/0.8765, allocations: 14 MB / 0.5663 GB, free: 75.15 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.06613/0.9427, allocations: 63.2 MB / 0.628 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/0.9612, allocations: 7.504 MB / 0.6354 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004582/0.9658, allocations: 4.354 MB / 0.6396 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02129/0.9871, allocations: 11.04 MB / 0.6504 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.9871, allocations: 72.44 kB / 0.6505 GB, free: 4.652 MB / 462.1 MB Notification: Performance of pre-optimization done (n=293): time 7.133e-06/0.9871, allocations: 0 / 0.6505 GB, free: 4.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=359): time 0.2057/1.193, allocations: 52.79 MB / 0.702 GB, free: 404 kB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002375/1.193, allocations: 398.2 kB / 0.7024 GB, free: 15.92 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.204, allocations: 6.946 MB / 0.7092 GB, free: 9.184 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007996/1.205, allocations: 85.7 kB / 0.7093 GB, free: 9.094 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004367/1.209, allocations: 5.423 MB / 0.7146 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001915/1.211, allocations: 1.387 MB / 0.7159 GB, free: 2.371 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00359/1.215, allocations: 1.921 MB / 0.7178 GB, free: 448 kB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.215, allocations: 309.1 kB / 0.7181 GB, free: 136 kB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007747/1.223, allocations: 4.703 MB / 0.7227 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01478/1.237, allocations: 9.772 MB / 0.7322 GB, free: 15.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2646/1.502, allocations: 15 MB / 0.7469 GB, free: 178.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/1.502, allocations: 46.81 kB / 0.7469 GB, free: 178.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03889/1.541, allocations: 20.36 MB / 0.7668 GB, free: 173.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/1.541, allocations: 74.25 kB / 0.7669 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/1.541, allocations: 163.6 kB / 0.767 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02084/1.562, allocations: 7.327 MB / 0.7742 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006237/1.569, allocations: 2.002 MB / 0.7761 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0417/1.61, allocations: 35.83 MB / 0.8111 GB, free: 138.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007195/1.617, allocations: 0.6047 MB / 0.8117 GB, free: 137.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009074/1.618, allocations: 0.5 MB / 0.8122 GB, free: 137.4 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.004274/1.623, allocations: 3.593 MB / 0.8157 GB, free: 133.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.624, allocations: 0.6439 MB / 0.8164 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/1.65, allocations: 13.79 MB / 0.8298 GB, free: 119.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.337e-05/1.65, allocations: 19.94 kB / 0.8298 GB, free: 119.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/1.65, allocations: 4.812 kB / 0.8298 GB, free: 119.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.652, allocations: 0.5945 MB / 0.8304 GB, free: 119.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.653, allocations: 63.81 kB / 0.8305 GB, free: 119.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003312/1.656, allocations: 315.5 kB / 0.8308 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/1.657, allocations: 333.7 kB / 0.8311 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02239/1.679, allocations: 12.73 MB / 0.8435 GB, free: 106.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0136/1.693, allocations: 13 MB / 0.8562 GB, free: 93.19 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00348/1.696, allocations: 3.487 MB / 0.8596 GB, free: 89.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005397/1.702, allocations: 4.22 MB / 0.8638 GB, free: 85.48 MB / 0.545 GB Notification: Performance of Backend: time 4.81e-07/1.702, allocations: 3.938 kB / 0.8638 GB, free: 85.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.716, allocations: 8.446 MB / 0.872 GB, free: 77.07 MB / 0.545 GB Notification: Performance of SimCode: time 0.02279/1.739, allocations: 18.19 MB / 0.8898 GB, free: 58.84 MB / 0.545 GB Notification: Performance of Templates: time 0.3384/2.077, allocations: 118.8 MB / 1.006 GB, free: 160.3 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.839179938993766] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 2.0856107540021185 2.095236289 1.704443589 Calling exit ...