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_analytic.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.001847/0.001847, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.002271/0.002271, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.148 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_analytic,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_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,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_analytic") [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.001973/0.001973, allocations: 67.84 kB / 378.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2158, allocations: 53.32 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02605/0.2419, allocations: 23.43 MB / 455.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.2558, allocations: 7.125 MB / 462.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.258, allocations: 179.4 kB / 462.8 MB, free: 8.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01406/0.2721, allocations: 8.022 MB / 470.8 MB, free: 496 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007762/0.2799, allocations: 3.657 MB / 474.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.2836, allocations: 2.005 MB / 476.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01706/0.3007, allocations: 13.57 MB / 490.1 MB, free: 13.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008807/0.3095, allocations: 7.407 MB / 497.5 MB, free: 5.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005716/0.3152, allocations: 4.285 MB / 0.49 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008244/0.3235, allocations: 6.112 MB / 0.496 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001678/0.3251, allocations: 1 MB / 0.4969 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/0.3289, allocations: 2.193 MB / 0.4991 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005146/0.334, allocations: 5.163 MB / 0.5041 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005804/0.3398, allocations: 5.398 MB / 0.5094 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01782/0.3576, allocations: 17.26 MB / 0.5263 GB, free: 12.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3577, allocations: 0 / 0.5263 GB, free: 12.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3577, allocations: 4 kB / 0.5263 GB, free: 12.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003372/0.358, allocations: 0 / 0.5263 GB, free: 12.17 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.02565/0.3836, allocations: 11.46 MB / 0.5375 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3837, allocations: 8.031 kB / 0.5375 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3823/0.7659, allocations: 5.471 MB / 0.5428 GB, free: 94.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/0.7849, allocations: 8.922 MB / 0.5515 GB, free: 89.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.7852, allocations: 0.5206 MB / 0.552 GB, free: 89.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.7869, allocations: 0.7273 MB / 0.5527 GB, free: 89.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02714/0.814, allocations: 19.52 MB / 0.5718 GB, free: 69.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000224/0.8142, allocations: 95.36 kB / 0.5719 GB, free: 69.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007439/0.815, allocations: 323.5 kB / 0.5722 GB, free: 69.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003182/0.8182, allocations: 2.812 MB / 0.5749 GB, free: 66.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/0.8439, allocations: 16.26 MB / 0.5908 GB, free: 50.04 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.0804/0.9243, allocations: 74.17 MB / 0.6633 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02423/0.9486, allocations: 8.207 MB / 0.6713 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006501/0.9551, allocations: 4.492 MB / 0.6757 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02567/0.9807, allocations: 15.5 MB / 0.6908 GB, free: 9.406 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.9808, allocations: 72.66 kB / 0.6909 GB, free: 9.324 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=320): time 5.21e-06/0.9808, allocations: 4 kB / 0.6909 GB, free: 9.32 MB / 0.4982 GB Notification: Performance of matching and sorting (n=426): time 0.1849/1.166, allocations: 52.68 MB / 0.7423 GB, free: 4.711 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/1.166, allocations: 414.7 kB / 0.7427 GB, free: 4.219 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2244/1.39, allocations: 7.558 MB / 0.7501 GB, free: 186.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009/1.391, allocations: 93.27 kB / 0.7502 GB, free: 186.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002952/1.394, allocations: 5.791 MB / 0.7558 GB, free: 183.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/1.395, allocations: 1.62 MB / 0.7574 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002615/1.398, allocations: 2.101 MB / 0.7595 GB, free: 181.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.598e-05/1.398, allocations: 308.7 kB / 0.7598 GB, free: 181.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005911/1.404, allocations: 5.217 MB / 0.7649 GB, free: 179.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007705/1.412, allocations: 10.27 MB / 0.7749 GB, free: 170.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/1.426, allocations: 16.3 MB / 0.7908 GB, free: 158.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/1.427, allocations: 47.19 kB / 0.7908 GB, free: 158.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.03471/1.461, allocations: 21.18 MB / 0.8115 GB, free: 142.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/1.461, allocations: 83.31 kB / 0.8116 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.461, allocations: 172 kB / 0.8118 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01805/1.48, allocations: 6.654 MB / 0.8183 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006473/1.486, allocations: 2.156 MB / 0.8204 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04136/1.527, allocations: 35.04 MB / 0.8546 GB, free: 97.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008704/1.536, allocations: 0.6318 MB / 0.8552 GB, free: 97.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/1.537, allocations: 0.5389 MB / 0.8557 GB, free: 96.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * 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],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 (1176): * Single equations (assignments): 1171 * 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 {(3,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005152/1.542, allocations: 4.087 MB / 0.8597 GB, free: 92.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.544, allocations: 0.7259 MB / 0.8604 GB, free: 91.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02576/1.569, allocations: 14.21 MB / 0.8743 GB, free: 77.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.995e-05/1.569, allocations: 23.91 kB / 0.8743 GB, free: 77.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/1.569, allocations: 0 / 0.8743 GB, free: 77.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.571, allocations: 0.7617 MB / 0.8751 GB, free: 76.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/1.573, allocations: 71.94 kB / 0.8752 GB, free: 76.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/1.576, allocations: 311.5 kB / 0.8755 GB, free: 76.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007302/1.577, allocations: 374.3 kB / 0.8758 GB, free: 76.05 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02471/1.601, allocations: 13.83 MB / 0.8893 GB, free: 62.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0157/1.617, allocations: 14.97 MB / 0.9039 GB, free: 47.24 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004041/1.621, allocations: 3.954 MB / 0.9078 GB, free: 43.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005775/1.627, allocations: 4.83 MB / 0.9125 GB, free: 38.48 MB / 0.545 GB Notification: Performance of Backend: time 2.71e-07/1.627, allocations: 3.938 kB / 0.9125 GB, free: 38.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.642, allocations: 8.658 MB / 0.921 GB, free: 29.87 MB / 0.545 GB Notification: Performance of SimCode: time 0.02612/1.668, allocations: 20.09 MB / 0.9406 GB, free: 9.715 MB / 0.545 GB Notification: Performance of Templates: time 0.3487/2.017, allocations: 119.5 MB / 1.057 GB, free: 105 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.776731899008155] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 2.0245673772878945 2.032635557 1.672804591 Calling exit ...