Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006872/0.006872, allocations: 101 kB / 15.73 MB, free: 6.051 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.001587/0.001587, allocations: 208.5 kB / 16.68 MB, free: 5.969 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.479/1.479, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001347/0.001347, allocations: 54.2 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09276/0.09412, allocations: 46.62 MB / 373.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02397/0.1181, allocations: 23.45 MB / 396.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.1362, allocations: 7.096 MB / 403.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005791/0.1421, allocations: 175.4 kB / 403.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01571/0.1578, allocations: 7.944 MB / 411.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.1705, allocations: 3.595 MB / 415.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005707/0.1763, allocations: 2.013 MB / 417.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01845/0.1948, allocations: 12.25 MB / 429.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01756/0.2124, allocations: 10.46 MB / 440.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.2227, allocations: 4.289 MB / 444.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.2337, allocations: 5.711 MB / 450.2 MB, free: 4.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004361/0.2381, allocations: 1.004 MB / 451.2 MB, free: 3.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006811/0.2449, allocations: 2.15 MB / 453.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2572/0.5021, allocations: 5.047 MB / 458.4 MB, free: 23.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01471/0.5168, allocations: 5.43 MB / 463.8 MB, free: 21.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02537/0.5423, allocations: 17.27 MB / 481.1 MB, free: 19.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.5423, allocations: 0 / 481.1 MB, free: 19.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5423, allocations: 0 / 481.1 MB, free: 19.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007506/0.5431, allocations: 0 / 481.1 MB, free: 19.77 MB / 382.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.03515/0.5782, allocations: 11.22 MB / 492.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5783, allocations: 7.594 kB / 492.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04816/0.6265, allocations: 5.423 MB / 497.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02349/0.65, allocations: 9.346 MB / 0.4952 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003798/0.6504, allocations: 0.5243 MB / 0.4957 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003269/0.6537, allocations: 0.7314 MB / 0.4964 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04335/0.697, allocations: 19.51 MB / 0.5155 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004017/0.6975, allocations: 92.95 kB / 0.5156 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002349/0.6998, allocations: 322.3 kB / 0.5159 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00471/0.7045, allocations: 2.818 MB / 0.5186 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03926/0.7438, allocations: 16.25 MB / 0.5345 GB, free: 15.6 MB / 430.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.1281/0.872, allocations: 74.17 MB / 0.6069 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02513/0.8971, allocations: 8.484 MB / 0.6152 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008057/0.9052, allocations: 4.758 MB / 0.6199 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03567/0.9409, allocations: 15.41 MB / 0.6349 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/0.9411, allocations: 75.28 kB / 0.635 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=319): time 7.645e-06/0.9411, allocations: 0 / 0.635 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=419): time 0.4014/1.342, allocations: 50.45 MB / 0.6842 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.343, allocations: 406.5 kB / 0.6846 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.353, allocations: 7.643 MB / 0.6921 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001219/1.354, allocations: 97.7 kB / 0.6922 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003142/1.357, allocations: 5.614 MB / 0.6977 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001941/1.359, allocations: 1.536 MB / 0.6992 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/1.362, allocations: 2.084 MB / 0.7012 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/1.362, allocations: 301.1 kB / 0.7015 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005945/1.368, allocations: 5.119 MB / 0.7065 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008326/1.377, allocations: 10.21 MB / 0.7165 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01653/1.393, allocations: 16.13 MB / 0.7322 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001157/1.393, allocations: 52 kB / 0.7323 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04198/1.435, allocations: 20.86 MB / 0.7526 GB, free: 98.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.435, allocations: 79.94 kB / 0.7527 GB, free: 98.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/1.436, allocations: 175.9 kB / 0.7529 GB, free: 98.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01871/1.454, allocations: 6.458 MB / 0.7592 GB, free: 91.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007361/1.462, allocations: 2.145 MB / 0.7613 GB, free: 89.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04276/1.505, allocations: 33.57 MB / 0.7941 GB, free: 56.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/1.516, allocations: 0.6172 MB / 0.7947 GB, free: 55.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003121/1.519, allocations: 0.5449 MB / 0.7952 GB, free: 54.88 MB / 0.5137 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.01146/1.53, allocations: 4.102 MB / 0.7992 GB, free: 50.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002159/1.532, allocations: 0.6942 MB / 0.7999 GB, free: 50.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02805/1.56, allocations: 13.84 MB / 0.8134 GB, free: 36.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-05/1.561, allocations: 44.94 kB / 0.8135 GB, free: 36.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/1.561, allocations: 24 kB / 0.8135 GB, free: 36.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-05/1.561, allocations: 15.94 kB / 0.8135 GB, free: 36.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3398/1.9, allocations: 27.02 MB / 0.8399 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-05/1.901, allocations: 7.781 kB / 0.8399 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/1.904, allocations: 0.5458 MB / 0.8404 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0189/1.923, allocations: 5.959 MB / 0.8462 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/1.924, allocations: 80.05 kB / 0.8463 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03812/1.962, allocations: 30.28 MB / 0.8759 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.962, allocations: 11.94 kB / 0.8759 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03438/1.996, allocations: 19.98 MB / 0.8954 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00608/2.003, allocations: 1.539 MB / 0.8969 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002792/2.005, allocations: 79.92 kB / 0.897 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006001/2.011, allocations: 311.5 kB / 0.8973 GB, free: 131.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/2.013, allocations: 294.9 kB / 0.8976 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/2.013, allocations: 113.8 kB / 0.8977 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.008659/2.022, allocations: 4.894 MB / 0.9025 GB, free: 126.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/2.022, allocations: 0.75 kB / 0.9025 GB, free: 126.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01458/2.036, allocations: 2.415 MB / 0.9048 GB, free: 123.9 MB / 0.5137 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.001547/2.038, allocations: 285.3 kB / 0.9051 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01711/2.055, allocations: 12.44 MB / 0.9172 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/2.055, allocations: 6.531 kB / 0.9172 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006754/2.062, allocations: 5.093 MB / 0.9222 GB, free: 106.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00716/2.069, allocations: 1.083 MB / 0.9233 GB, free: 105.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04693/2.116, allocations: 22.44 MB / 0.9452 GB, free: 82.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01085/2.127, allocations: 6.389 MB / 0.9514 GB, free: 76.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00775/2.135, allocations: 2.957 MB / 0.9543 GB, free: 73.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/2.137, allocations: 439.4 kB / 0.9547 GB, free: 73.02 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/2.137, allocations: 0 / 0.9547 GB, free: 73.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.4104/2.547, allocations: 106 MB / 1.058 GB, free: 146.4 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)