Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006824/0.0006824, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004937/0.004937, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 8 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1013/0.3423, allocations: 111.7 MB / 438.7 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3274/0.6698, allocations: 22.31 MB / 461 MB, free: 500 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02666/0.6965, allocations: 0.5025 MB / 461.5 MB, free: 500 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003997/0.7005, allocations: 0.7959 MB / 462.3 MB, free: 500 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.7128, allocations: 3.431 MB / 465.8 MB, free: 324 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.7177, allocations: 1.856 MB / 467.6 MB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0218/0.7395, allocations: 17.37 MB / 485 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02159/0.7611, allocations: 14.41 MB / 499.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008005/0.7692, allocations: 3.015 MB / 0.4907 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01006/0.7793, allocations: 5.088 MB / 0.4956 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002578/0.7819, allocations: 340 kB / 0.4959 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005868/0.7878, allocations: 1.574 MB / 0.4975 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006719/0.7946, allocations: 4.28 MB / 0.5017 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01026/0.8049, allocations: 4.509 MB / 0.5061 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02256/0.8275, allocations: 16.1 MB / 0.5218 GB, free: 13.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.8275, allocations: 0 / 0.5218 GB, free: 13.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.8275, allocations: 0 / 0.5218 GB, free: 13.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006412/0.8282, allocations: 0 / 0.5218 GB, free: 13.78 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: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.02857/0.8568, allocations: 9.25 MB / 0.5308 GB, free: 4.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.8568, allocations: 12.03 kB / 0.5308 GB, free: 4.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05037/0.9072, allocations: 5.538 MB / 0.5362 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02427/0.9315, allocations: 9.152 MB / 0.5452 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006198/0.9322, allocations: 0.5233 MB / 0.5457 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004474/0.9367, allocations: 0.7278 MB / 0.5464 GB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04425/0.981, allocations: 19.59 MB / 0.5655 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003658/0.9814, allocations: 101.2 kB / 0.5656 GB, free: 472 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/0.9825, allocations: 318.9 kB / 0.5659 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004402/0.9869, allocations: 2.816 MB / 0.5687 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04003/1.027, allocations: 16.33 MB / 0.5846 GB, free: 13.34 MB / 494.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.5407/1.568, allocations: 74.64 MB / 0.6575 GB, free: 195.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02906/1.597, allocations: 8.539 MB / 0.6659 GB, free: 194.4 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006085/1.603, allocations: 4.753 MB / 0.6705 GB, free: 192.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02024/1.623, allocations: 15.4 MB / 0.6855 GB, free: 182.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.623, allocations: 79.25 kB / 0.6856 GB, free: 182.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=319): time 5.911e-06/1.623, allocations: 3.281 kB / 0.6856 GB, free: 182.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=419): time 0.1631/1.786, allocations: 50.64 MB / 0.7351 GB, free: 135.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.787, allocations: 402.7 kB / 0.7355 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009323/1.796, allocations: 7.651 MB / 0.7429 GB, free: 127 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.797, allocations: 89.7 kB / 0.743 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002826/1.8, allocations: 5.616 MB / 0.7485 GB, free: 121.3 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001724/1.802, allocations: 1.527 MB / 0.75 GB, free: 119.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/1.803, allocations: 0.9114 MB / 0.7509 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/1.803, allocations: 305.1 kB / 0.7512 GB, free: 118.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/1.808, allocations: 5.126 MB / 0.7562 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007891/1.816, allocations: 10.2 MB / 0.7661 GB, free: 100.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01592/1.832, allocations: 16.13 MB / 0.7819 GB, free: 82.38 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.832, allocations: 52 kB / 0.7819 GB, free: 82.33 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.03633/1.869, allocations: 20.87 MB / 0.8023 GB, free: 61.43 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.869, allocations: 84.06 kB / 0.8024 GB, free: 61.35 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/1.869, allocations: 172 kB / 0.8026 GB, free: 61.18 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01771/1.887, allocations: 6.462 MB / 0.8089 GB, free: 54.71 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008285/1.895, allocations: 2.152 MB / 0.811 GB, free: 52.55 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03959/1.935, allocations: 31.45 MB / 0.8417 GB, free: 20.96 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009041/1.944, allocations: 0.6163 MB / 0.8423 GB, free: 20.34 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/1.946, allocations: 0.539 MB / 0.8428 GB, free: 19.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 784 * 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],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],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.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],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1180): * Single equations (assignments): 1175 * 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,124,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007365/1.953, allocations: 4.1 MB / 0.8468 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/1.955, allocations: 0.6942 MB / 0.8475 GB, free: 14.99 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02585/1.981, allocations: 13.85 MB / 0.861 GB, free: 1.082 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.34e-05/1.981, allocations: 44 kB / 0.8611 GB, free: 1.039 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.267e-05/1.981, allocations: 24 kB / 0.8611 GB, free: 1.016 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.911e-05/1.981, allocations: 19.92 kB / 0.8611 GB, free: 0.9961 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2833/2.264, allocations: 27.16 MB / 0.8876 GB, free: 208 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.543e-05/2.264, allocations: 12.22 kB / 0.8876 GB, free: 208 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/2.267, allocations: 0.5502 MB / 0.8882 GB, free: 208 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01758/2.285, allocations: 5.96 MB / 0.894 GB, free: 206.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/2.286, allocations: 78.17 kB / 0.8941 GB, free: 206.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03572/2.321, allocations: 28.22 MB / 0.9216 GB, free: 183.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/2.322, allocations: 14.75 kB / 0.9217 GB, free: 183.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03308/2.355, allocations: 20.01 MB / 0.9412 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005659/2.36, allocations: 1.546 MB / 0.9427 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003033/2.363, allocations: 81.16 kB / 0.9428 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005898/2.369, allocations: 319.3 kB / 0.9431 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001517/2.371, allocations: 298.6 kB / 0.9434 GB, free: 162 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005707/2.371, allocations: 117 kB / 0.9435 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009239/2.381, allocations: 4.898 MB / 0.9483 GB, free: 157 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.61e-07/2.381, allocations: 0 / 0.9483 GB, free: 157 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01468/2.395, allocations: 2.401 MB / 0.9506 GB, free: 154.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (292): * Single equations (assignments): 288 * Array equations: 3 * 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,111,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00204/2.398, allocations: 283.5 kB / 0.9509 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02234/2.42, allocations: 12.39 MB / 0.963 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.37e-05/2.42, allocations: 0 / 0.963 GB, free: 142.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008637/2.429, allocations: 5.097 MB / 0.968 GB, free: 137 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01816/2.447, allocations: 1.013 MB / 0.9689 GB, free: 136 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05223/2.499, allocations: 26.94 MB / 0.9953 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008422/2.508, allocations: 6.389 MB / 1.001 GB, free: 102.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007843/2.515, allocations: 2.958 MB / 1.004 GB, free: 99.84 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/2.517, allocations: 439.4 kB / 1.005 GB, free: 99.41 MB / 0.5138 GB Notification: Performance of SimCode: time 9.01e-07/2.517, allocations: 3.828 kB / 1.005 GB, free: 99.41 MB / 0.5138 GB Notification: Performance of Templates: time 0.4277/2.945, allocations: 104.5 MB / 1.107 GB, free: 193.3 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)