Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 112 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2106, allocations: 50.55 MB / 410 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01773/0.2284, allocations: 19.37 MB / 429.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.2394, allocations: 5.981 MB / 435.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.2423, allocations: 155.4 kB / 435.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.2524, allocations: 5.825 MB / 441.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0076/0.26, allocations: 3.401 MB / 444.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.2632, allocations: 1.572 MB / 446.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02066/0.2838, allocations: 12.67 MB / 458.9 MB, free: 480 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01309/0.297, allocations: 7.639 MB / 466.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007406/0.3044, allocations: 3.571 MB / 470.2 MB, free: 5.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008502/0.3129, allocations: 4.74 MB / 474.9 MB, free: 416 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002155/0.3151, allocations: 0.7149 MB / 475.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004299/0.3194, allocations: 1.678 MB / 477.3 MB, free: 14.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005152/0.3246, allocations: 4.248 MB / 481.5 MB, free: 9.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006933/0.3316, allocations: 4.441 MB / 486 MB, free: 5.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.3466, allocations: 13.66 MB / 499.6 MB, free: 7.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3466, allocations: 4 kB / 499.6 MB, free: 7.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3467, allocations: 0 / 499.6 MB, free: 7.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002523/0.3469, allocations: 0 / 499.6 MB, free: 7.578 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.01828/0.3652, allocations: 9.901 MB / 0.4976 GB, free: 13.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3652, allocations: 8.031 kB / 0.4976 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0418/0.4071, allocations: 5.289 MB / 0.5028 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01702/0.4241, allocations: 7.937 MB / 0.5105 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003281/0.4245, allocations: 424.4 kB / 0.5109 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/0.426, allocations: 0.5777 MB / 0.5115 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/0.4541, allocations: 16.57 MB / 0.5277 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002574/0.4544, allocations: 115.2 kB / 0.5278 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000887/0.4553, allocations: 263.8 kB / 0.528 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/0.4594, allocations: 2.76 MB / 0.5307 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3595/0.8189, allocations: 13.62 MB / 0.544 GB, free: 112.8 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.06177/0.8807, allocations: 67.84 MB / 0.6103 GB, free: 55.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/0.8978, allocations: 7.909 MB / 0.618 GB, free: 47.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004397/0.9022, allocations: 4.508 MB / 0.6224 GB, free: 43.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/0.9172, allocations: 12.42 MB / 0.6345 GB, free: 30.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.9173, allocations: 60.56 kB / 0.6346 GB, free: 30.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 4.469e-06/0.9173, allocations: 4 kB / 0.6346 GB, free: 30.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1608/1.078, allocations: 50.53 MB / 0.6839 GB, free: 12.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/1.078, allocations: 402 kB / 0.6843 GB, free: 12.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009964/1.088, allocations: 7.123 MB / 0.6913 GB, free: 5.344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004902/1.089, allocations: 77.7 kB / 0.6914 GB, free: 5.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003433/1.092, allocations: 5.192 MB / 0.6964 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.094, allocations: 1.322 MB / 0.6977 GB, free: 14.88 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002928/1.096, allocations: 1.865 MB / 0.6995 GB, free: 13 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 9.227e-05/1.097, allocations: 309.1 kB / 0.6998 GB, free: 12.69 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006438/1.103, allocations: 4.543 MB / 0.7043 GB, free: 8.141 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009705/1.113, allocations: 9.268 MB / 0.7133 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/1.129, allocations: 14.54 MB / 0.7275 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/1.13, allocations: 48 kB / 0.7276 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2312/1.361, allocations: 19.79 MB / 0.7469 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/1.361, allocations: 77.53 kB / 0.747 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/1.361, allocations: 159.2 kB / 0.7471 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01838/1.379, allocations: 7.057 MB / 0.754 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/1.385, allocations: 1.921 MB / 0.7559 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03847/1.423, allocations: 35.33 MB / 0.7904 GB, free: 147 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/1.43, allocations: 0.5823 MB / 0.791 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008907/1.431, allocations: 496 kB / 0.7914 GB, free: 146 MB / 0.5294 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.004161/1.435, allocations: 3.478 MB / 0.7948 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.436, allocations: 0.6695 MB / 0.7955 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02401/1.46, allocations: 13.32 MB / 0.8085 GB, free: 129 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.911e-05/1.46, allocations: 15.94 kB / 0.8085 GB, free: 129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.46, allocations: 3.5 kB / 0.8085 GB, free: 129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.462, allocations: 0.7141 MB / 0.8092 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009893/1.463, allocations: 55.98 kB / 0.8093 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/1.466, allocations: 299.5 kB / 0.8095 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007478/1.467, allocations: 289.8 kB / 0.8098 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02033/1.487, allocations: 12.23 MB / 0.8218 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01304/1.5, allocations: 12.56 MB / 0.834 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003443/1.503, allocations: 3.551 MB / 0.8375 GB, free: 99.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005686/1.509, allocations: 4.555 MB / 0.8419 GB, free: 95.43 MB / 0.5294 GB Notification: Performance of Backend: time 6.51e-07/1.509, allocations: 3.844 kB / 0.8419 GB, free: 95.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01506/1.524, allocations: 8.726 MB / 0.8505 GB, free: 86.73 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02165/1.546, allocations: 17.52 MB / 0.8676 GB, free: 69.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.3192/1.865, allocations: 104.2 MB / 0.9693 GB, free: 179.2 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)