Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 115.1 kB / 18.46 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 202.7 kB / 19.41 MB, free: 3.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2213, allocations: 50.55 MB / 410 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02148/0.2428, allocations: 23.3 MB / 433.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.2555, allocations: 7.071 MB / 440.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.2586, allocations: 175.4 kB / 440.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0133/0.2719, allocations: 7.913 MB / 448.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007439/0.2794, allocations: 3.645 MB / 452.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.2831, allocations: 2.016 MB / 454.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01608/0.2992, allocations: 13.55 MB / 467.6 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01193/0.3112, allocations: 10.44 MB / 478.1 MB, free: 13.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006003/0.3172, allocations: 4.266 MB / 482.4 MB, free: 8.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00761/0.3248, allocations: 5.707 MB / 488.1 MB, free: 3.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002436/0.3273, allocations: 1 MB / 489.1 MB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004619/0.3319, allocations: 2.15 MB / 491.2 MB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00559/0.3375, allocations: 5.09 MB / 496.3 MB, free: 10.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007401/0.3449, allocations: 5.394 MB / 0.4899 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.3608, allocations: 17.19 MB / 0.5067 GB, free: 4.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3608, allocations: 3.938 kB / 0.5067 GB, free: 4.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3608, allocations: 0 / 0.5067 GB, free: 4.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002689/0.3611, allocations: 0 / 0.5067 GB, free: 4.203 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: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.02283/0.384, allocations: 11.18 MB / 0.5176 GB, free: 8.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.384, allocations: 8.031 kB / 0.5176 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04754/0.4316, allocations: 5.418 MB / 0.5229 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02187/0.4535, allocations: 8.879 MB / 0.5316 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004473/0.4539, allocations: 0.5218 MB / 0.5321 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00251/0.4565, allocations: 0.7259 MB / 0.5328 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3778/0.8343, allocations: 19.52 MB / 0.5519 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/0.8346, allocations: 93.88 kB / 0.552 GB, free: 109.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008126/0.8354, allocations: 325.5 kB / 0.5523 GB, free: 108.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003576/0.839, allocations: 2.819 MB / 0.555 GB, free: 108.2 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/0.8671, allocations: 16.25 MB / 0.5709 GB, free: 97.25 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.0772/0.9443, allocations: 74.04 MB / 0.6432 GB, free: 22.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/0.9654, allocations: 8.476 MB / 0.6515 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004951/0.9704, allocations: 4.769 MB / 0.6561 GB, free: 8.633 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02296/0.9933, allocations: 15.48 MB / 0.6713 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.274e-05/0.9934, allocations: 68.64 kB / 0.6713 GB, free: 8.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=320): time 7.774e-06/0.9935, allocations: 2.062 kB / 0.6713 GB, free: 8.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=426): time 0.1893/1.183, allocations: 52.3 MB / 0.7224 GB, free: 4.062 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/1.183, allocations: 406.7 kB / 0.7228 GB, free: 3.578 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/1.195, allocations: 7.551 MB / 0.7302 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008314/1.196, allocations: 97.69 kB / 0.7303 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00424/1.2, allocations: 5.589 MB / 0.7357 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/1.202, allocations: 1.553 MB / 0.7372 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004508/1.207, allocations: 2.086 MB / 0.7393 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/1.207, allocations: 301.1 kB / 0.7396 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1893/1.396, allocations: 5.214 MB / 0.7447 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008732/1.405, allocations: 10.27 MB / 0.7547 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01642/1.422, allocations: 16.3 MB / 0.7706 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/1.422, allocations: 49.66 kB / 0.7707 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.03844/1.46, allocations: 21.24 MB / 0.7914 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/1.46, allocations: 76 kB / 0.7915 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001387/1.46, allocations: 172.1 kB / 0.7916 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0188/1.479, allocations: 6.655 MB / 0.7981 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006699/1.486, allocations: 2.156 MB / 0.8002 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04182/1.528, allocations: 35.03 MB / 0.8344 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007774/1.536, allocations: 0.6233 MB / 0.8351 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009494/1.537, allocations: 0.5351 MB / 0.8356 GB, free: 102.4 MB / 0.5294 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.00505/1.542, allocations: 4.091 MB / 0.8396 GB, free: 98.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.543, allocations: 0.6915 MB / 0.8402 GB, free: 98.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02651/1.569, allocations: 14.3 MB / 0.8542 GB, free: 83.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.35e-05/1.569, allocations: 19.92 kB / 0.8542 GB, free: 83.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.569, allocations: 0.875 kB / 0.8542 GB, free: 83.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.571, allocations: 0.7306 MB / 0.8549 GB, free: 83.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.572, allocations: 71.94 kB / 0.855 GB, free: 83.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00349/1.576, allocations: 315.5 kB / 0.8553 GB, free: 82.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008403/1.577, allocations: 370.3 kB / 0.8557 GB, free: 82.55 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02479/1.601, allocations: 13.82 MB / 0.8692 GB, free: 68.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01559/1.617, allocations: 14.93 MB / 0.8837 GB, free: 53.79 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004217/1.621, allocations: 4.279 MB / 0.8879 GB, free: 49.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006253/1.628, allocations: 4.834 MB / 0.8926 GB, free: 44.7 MB / 0.5294 GB Notification: Performance of Backend: time 7.61e-07/1.628, allocations: 7.938 kB / 0.8927 GB, free: 44.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01591/1.644, allocations: 9.299 MB / 0.9017 GB, free: 35.47 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02513/1.669, allocations: 19.56 MB / 0.9208 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.3529/2.022, allocations: 118.7 MB / 1.037 GB, free: 108.1 MB / 0.5451 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)