Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2065, allocations: 50.54 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01905/0.2255, allocations: 20.43 MB / 430.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.2369, allocations: 6.188 MB / 436.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.2388, allocations: 163.4 kB / 436.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.249, allocations: 6.324 MB / 443.1 MB, free: 348 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006435/0.2555, allocations: 3.4 MB / 446.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.2585, allocations: 1.658 MB / 448.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01458/0.2731, allocations: 12.94 MB / 461.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008771/0.2819, allocations: 8.056 MB / 469.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005051/0.287, allocations: 3.743 MB / 472.9 MB, free: 2.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006572/0.2935, allocations: 4.962 MB / 477.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00186/0.2954, allocations: 0.75 MB / 478.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.299, allocations: 1.701 MB / 480.3 MB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004446/0.3034, allocations: 4.435 MB / 484.7 MB, free: 6.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005013/0.3084, allocations: 4.635 MB / 489.4 MB, free: 1.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.3227, allocations: 14.1 MB / 0.4917 GB, free: 3.723 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3227, allocations: 0 / 0.4917 GB, free: 3.723 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3227, allocations: 3.938 kB / 0.4917 GB, free: 3.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003373/0.3231, allocations: 4 kB / 0.4917 GB, free: 3.715 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02059/0.3437, allocations: 10.01 MB / 0.5015 GB, free: 9.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3437, allocations: 8.031 kB / 0.5015 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04172/0.3855, allocations: 5.279 MB / 0.5066 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/0.4028, allocations: 8.091 MB / 0.5145 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.4032, allocations: 448 kB / 0.5149 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.4044, allocations: 0.6126 MB / 0.5155 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/0.4307, allocations: 17.12 MB / 0.5323 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002228/0.431, allocations: 103.1 kB / 0.5324 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006902/0.4317, allocations: 283.8 kB / 0.5326 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004254/0.4359, allocations: 2.854 MB / 0.5354 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3465/0.7825, allocations: 14.03 MB / 0.5491 GB, free: 111.4 MB / 462.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.05998/0.8425, allocations: 69.67 MB / 0.6172 GB, free: 48.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0178/0.8603, allocations: 8.192 MB / 0.6252 GB, free: 40.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/0.8645, allocations: 4.626 MB / 0.6297 GB, free: 35.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01488/0.8794, allocations: 12.76 MB / 0.6421 GB, free: 22.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.8795, allocations: 76.48 kB / 0.6422 GB, free: 22.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=293): time 4.668e-06/0.8795, allocations: 0 / 0.6422 GB, free: 22.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=359): time 0.177/1.057, allocations: 52.42 MB / 0.6934 GB, free: 2.152 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/1.057, allocations: 402.2 kB / 0.6938 GB, free: 1.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009584/1.066, allocations: 7.26 MB / 0.7009 GB, free: 10.44 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007562/1.067, allocations: 77.7 kB / 0.701 GB, free: 10.36 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003618/1.071, allocations: 5.204 MB / 0.706 GB, free: 5.09 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/1.072, allocations: 1.326 MB / 0.7073 GB, free: 3.746 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002786/1.075, allocations: 1.919 MB / 0.7092 GB, free: 1.812 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/1.075, allocations: 305.1 kB / 0.7095 GB, free: 1.512 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006721/1.082, allocations: 4.707 MB / 0.7141 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/1.092, allocations: 9.538 MB / 0.7234 GB, free: 0.918 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.199/1.291, allocations: 14.99 MB / 0.738 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/1.291, allocations: 48.25 kB / 0.7381 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03718/1.329, allocations: 20.46 MB / 0.7581 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/1.329, allocations: 78.91 kB / 0.7582 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/1.329, allocations: 161.9 kB / 0.7583 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01975/1.349, allocations: 7.326 MB / 0.7655 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005833/1.354, allocations: 2.009 MB / 0.7674 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04079/1.395, allocations: 36.56 MB / 0.8031 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00716/1.402, allocations: 0.6007 MB / 0.8037 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.404, allocations: 0.4989 MB / 0.8042 GB, free: 131.5 MB / 0.5294 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.004402/1.408, allocations: 3.601 MB / 0.8077 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.409, allocations: 0.6538 MB / 0.8084 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02578/1.435, allocations: 13.93 MB / 0.822 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-05/1.435, allocations: 19.94 kB / 0.822 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.435, allocations: 0 / 0.822 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/1.436, allocations: 0.6975 MB / 0.8227 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.438, allocations: 60 kB / 0.8227 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003244/1.441, allocations: 315.8 kB / 0.823 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007312/1.442, allocations: 309.9 kB / 0.8233 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02176/1.463, allocations: 12.76 MB / 0.8358 GB, free: 99.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01342/1.477, allocations: 13.02 MB / 0.8485 GB, free: 86.82 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003608/1.48, allocations: 3.725 MB / 0.8521 GB, free: 83.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005801/1.486, allocations: 4.646 MB / 0.8567 GB, free: 78.47 MB / 0.5294 GB Notification: Performance of Backend: time 4.91e-07/1.486, allocations: 0 / 0.8567 GB, free: 78.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.501, allocations: 8.989 MB / 0.8654 GB, free: 69.51 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02302/1.524, allocations: 17.87 MB / 0.8829 GB, free: 51.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.3231/1.847, allocations: 108.6 MB / 0.9889 GB, free: 156.4 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1)