Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001316/0.001316, allocations: 110.8 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.001459/0.001459, allocations: 211.6 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.223, allocations: 53.37 MB / 432.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02151/0.2445, allocations: 16.72 MB / 449.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.2575, allocations: 5.794 MB / 454.9 MB, free: 132 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.2606, allocations: 198.9 kB / 455.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.2723, allocations: 5.67 MB / 460.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008604/0.2809, allocations: 3.428 MB / 464.2 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.2844, allocations: 1.576 MB / 465.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0174/0.3018, allocations: 12.7 MB / 478.4 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007788/0.3095, allocations: 5.954 MB / 484.4 MB, free: 2.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006199/0.3157, allocations: 3.626 MB / 488 MB, free: 14.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008418/0.3242, allocations: 5.122 MB / 493.1 MB, free: 9.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002414/0.3266, allocations: 0.7109 MB / 493.9 MB, free: 8.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004261/0.3308, allocations: 1.58 MB / 495.4 MB, free: 7.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00565/0.3365, allocations: 4.321 MB / 499.8 MB, free: 3.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005949/0.3424, allocations: 3.399 MB / 0.4914 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.3589, allocations: 13.73 MB / 0.5048 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3589, allocations: 4 kB / 0.5048 GB, free: 1.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3589, allocations: 0 / 0.5048 GB, free: 1.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003585/0.3592, allocations: 0 / 0.5048 GB, free: 1.867 MB / 414.1 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.02329/0.3825, allocations: 9.819 MB / 0.5144 GB, free: 7.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3826, allocations: 8.031 kB / 0.5144 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04379/0.4263, allocations: 5.293 MB / 0.5195 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02015/0.4465, allocations: 7.838 MB / 0.5272 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004259/0.4469, allocations: 435.4 kB / 0.5276 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002109/0.449, allocations: 0.5854 MB / 0.5282 GB, free: 9.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3928/0.8419, allocations: 16.81 MB / 0.5446 GB, free: 89.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/0.8422, allocations: 99.27 kB / 0.5447 GB, free: 89.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007405/0.8429, allocations: 263.6 kB / 0.5449 GB, free: 89.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003743/0.8466, allocations: 2.765 MB / 0.5476 GB, free: 89.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.8695, allocations: 13.59 MB / 0.5609 GB, free: 81.21 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.06661/0.9361, allocations: 61.44 MB / 0.6209 GB, free: 19.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01787/0.954, allocations: 7.208 MB / 0.6279 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0044/0.9584, allocations: 4.241 MB / 0.6321 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01804/0.9765, allocations: 10.71 MB / 0.6426 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.913e-05/0.9765, allocations: 76.44 kB / 0.6426 GB, free: 13.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 7.083e-06/0.9765, allocations: 0 / 0.6426 GB, free: 13.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1939/1.17, allocations: 50.46 MB / 0.6919 GB, free: 11.31 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/1.171, allocations: 398.1 kB / 0.6923 GB, free: 10.83 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009657/1.18, allocations: 6.759 MB / 0.6989 GB, free: 4.273 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007276/1.181, allocations: 81.64 kB / 0.699 GB, free: 4.188 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004133/1.185, allocations: 5.225 MB / 0.7041 GB, free: 15.05 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.187, allocations: 1.318 MB / 0.7054 GB, free: 13.72 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002964/1.19, allocations: 1.869 MB / 0.7072 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.19, allocations: 309.1 kB / 0.7075 GB, free: 11.54 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006994/1.197, allocations: 4.547 MB / 0.7119 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/1.208, allocations: 9.497 MB / 0.7212 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01968/1.228, allocations: 14.53 MB / 0.7354 GB, free: 10.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/1.228, allocations: 48 kB / 0.7354 GB, free: 10.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2297/1.458, allocations: 19.67 MB / 0.7546 GB, free: 179.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/1.458, allocations: 76.48 kB / 0.7547 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/1.458, allocations: 158.1 kB / 0.7548 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01977/1.478, allocations: 7.047 MB / 0.7617 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005789/1.484, allocations: 1.931 MB / 0.7636 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03946/1.523, allocations: 34.58 MB / 0.7974 GB, free: 153.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/1.53, allocations: 0.5788 MB / 0.7979 GB, free: 152.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009962/1.531, allocations: 0.4917 MB / 0.7984 GB, free: 152.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * 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 (1048): * Single equations (assignments): 1042 * 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,93,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.004699/1.536, allocations: 3.474 MB / 0.8018 GB, free: 148.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/1.537, allocations: 0.6204 MB / 0.8024 GB, free: 148.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/1.562, allocations: 13.19 MB / 0.8153 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.166e-05/1.562, allocations: 15.94 kB / 0.8153 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.562, allocations: 0 / 0.8153 GB, free: 135.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.563, allocations: 0.5772 MB / 0.8159 GB, free: 135 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/1.565, allocations: 59.98 kB / 0.8159 GB, free: 134.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003438/1.568, allocations: 303.5 kB / 0.8162 GB, free: 134.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008483/1.569, allocations: 312.1 kB / 0.8165 GB, free: 134.3 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02149/1.591, allocations: 12.19 MB / 0.8284 GB, free: 122.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01286/1.604, allocations: 12.51 MB / 0.8406 GB, free: 110.1 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003336/1.607, allocations: 3.327 MB / 0.8439 GB, free: 106.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004775/1.612, allocations: 4.114 MB / 0.8479 GB, free: 102.6 MB / 0.545 GB Notification: Performance of Backend: time 2.91e-07/1.612, allocations: 0 / 0.8479 GB, free: 102.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0142/1.626, allocations: 8.197 MB / 0.8559 GB, free: 94.51 MB / 0.545 GB Notification: Performance of SimCode: time 0.02308/1.649, allocations: 17.51 MB / 0.873 GB, free: 76.96 MB / 0.545 GB Notification: Performance of Templates: time 0.3307/1.98, allocations: 113.8 MB / 0.9842 GB, free: 183.5 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.452668014004303] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 1.9878103509981884 1.996532185 1.635228725 Calling exit ...