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.0007836/0.0007838, allocations: 98.03 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.005532/0.005532, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.555/1.555, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004797/0.0004797, allocations: 11.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2627, allocations: 47.59 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1133/0.376, allocations: 111.7 MB / 438.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3038/0.6799, allocations: 22.31 MB / 461 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02874/0.7087, allocations: 0.5039 MB / 461.5 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.7125, allocations: 0.8012 MB / 462.3 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.7245, allocations: 3.433 MB / 465.8 MB, free: 340 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005355/0.7299, allocations: 1.854 MB / 467.6 MB, free: 292 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02379/0.7537, allocations: 17.37 MB / 485 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02322/0.777, allocations: 14.41 MB / 499.4 MB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/0.7849, allocations: 3.011 MB / 0.4906 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.7957, allocations: 5.085 MB / 0.4956 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002953/0.7987, allocations: 340 kB / 0.4959 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.8043, allocations: 1.579 MB / 0.4975 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005985/0.8103, allocations: 4.275 MB / 0.5017 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009082/0.8194, allocations: 4.51 MB / 0.5061 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02439/0.8439, allocations: 16.1 MB / 0.5218 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.8439, allocations: 0 / 0.5218 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.8439, allocations: 0 / 0.5218 GB, free: 13.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006621/0.8446, allocations: 0 / 0.5218 GB, free: 13.77 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.02662/0.8712, allocations: 9.251 MB / 0.5308 GB, free: 4.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.8713, allocations: 16.03 kB / 0.5308 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05328/0.9246, allocations: 5.538 MB / 0.5362 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03023/0.9549, allocations: 9.151 MB / 0.5452 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005941/0.9555, allocations: 0.5233 MB / 0.5457 GB, free: 5.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003568/0.9591, allocations: 0.7351 MB / 0.5464 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0453/1.004, allocations: 19.58 MB / 0.5655 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003807/1.005, allocations: 93.42 kB / 0.5656 GB, free: 468 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/1.006, allocations: 324.4 kB / 0.5659 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004277/1.01, allocations: 2.821 MB / 0.5687 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03656/1.047, allocations: 16.33 MB / 0.5846 GB, free: 13.32 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.5003/1.547, allocations: 74.64 MB / 0.6575 GB, free: 195.3 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.022/1.569, allocations: 8.532 MB / 0.6658 GB, free: 194.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005543/1.575, allocations: 4.761 MB / 0.6705 GB, free: 192.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02088/1.596, allocations: 15.4 MB / 0.6855 GB, free: 182.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/1.596, allocations: 70.84 kB / 0.6856 GB, free: 182.3 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=319): time 5.931e-06/1.596, allocations: 0 / 0.6856 GB, free: 182.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=419): time 0.1608/1.757, allocations: 50.65 MB / 0.7351 GB, free: 135 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.757, allocations: 406.7 kB / 0.7354 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/1.767, allocations: 7.647 MB / 0.7429 GB, free: 126.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001115/1.768, allocations: 87.64 kB / 0.743 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003258/1.771, allocations: 5.624 MB / 0.7485 GB, free: 121.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001927/1.773, allocations: 1.532 MB / 0.75 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/1.775, allocations: 0.9114 MB / 0.7509 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/1.775, allocations: 301.1 kB / 0.7512 GB, free: 118.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006118/1.781, allocations: 5.123 MB / 0.7562 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00856/1.789, allocations: 10.2 MB / 0.7661 GB, free: 100.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/1.807, allocations: 16.14 MB / 0.7819 GB, free: 82.34 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001803/1.807, allocations: 52.38 kB / 0.7819 GB, free: 82.29 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04402/1.851, allocations: 20.87 MB / 0.8023 GB, free: 61.38 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.851, allocations: 80.19 kB / 0.8024 GB, free: 61.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/1.851, allocations: 172 kB / 0.8026 GB, free: 61.14 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01992/1.871, allocations: 6.458 MB / 0.8089 GB, free: 54.67 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007754/1.879, allocations: 2.148 MB / 0.811 GB, free: 52.52 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04485/1.924, allocations: 31.46 MB / 0.8417 GB, free: 20.92 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.934, allocations: 0.6202 MB / 0.8423 GB, free: 20.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/1.936, allocations: 0.5389 MB / 0.8428 GB, free: 19.76 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.008837/1.945, allocations: 4.097 MB / 0.8468 GB, free: 15.65 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/1.947, allocations: 0.6942 MB / 0.8475 GB, free: 14.95 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02665/1.974, allocations: 13.85 MB / 0.861 GB, free: 1.039 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.995e-05/1.974, allocations: 44 kB / 0.8611 GB, free: 0.9961 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.167e-05/1.974, allocations: 24 kB / 0.8611 GB, free: 0.9727 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/1.974, allocations: 19.92 kB / 0.8611 GB, free: 0.9531 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3102/2.284, allocations: 27.16 MB / 0.8876 GB, free: 207.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.314e-05/2.284, allocations: 11.62 kB / 0.8876 GB, free: 207.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/2.287, allocations: 0.5525 MB / 0.8882 GB, free: 207.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0187/2.306, allocations: 5.954 MB / 0.894 GB, free: 206.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001465/2.307, allocations: 78.92 kB / 0.8941 GB, free: 206.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04387/2.351, allocations: 28.23 MB / 0.9216 GB, free: 183.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/2.351, allocations: 14.12 kB / 0.9217 GB, free: 183.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04119/2.393, allocations: 20 MB / 0.9412 GB, free: 163.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005891/2.398, allocations: 1.547 MB / 0.9427 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003239/2.402, allocations: 76.7 kB / 0.9428 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006005/2.408, allocations: 320.5 kB / 0.9431 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00178/2.41, allocations: 302.4 kB / 0.9434 GB, free: 161.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009014/2.411, allocations: 112 kB / 0.9435 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01043/2.421, allocations: 4.893 MB / 0.9482 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.91e-07/2.421, allocations: 0 / 0.9482 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0139/2.435, allocations: 2.417 MB / 0.9506 GB, free: 154.5 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.001745/2.437, allocations: 281.7 kB / 0.9509 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01943/2.456, allocations: 12.38 MB / 0.963 GB, free: 142 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/2.456, allocations: 4 kB / 0.963 GB, free: 142 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007803/2.464, allocations: 5.106 MB / 0.968 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01883/2.483, allocations: 1.013 MB / 0.9689 GB, free: 135.9 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05314/2.536, allocations: 26.93 MB / 0.9952 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/2.549, allocations: 6.393 MB / 1.001 GB, free: 102.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008165/2.557, allocations: 2.954 MB / 1.004 GB, free: 99.76 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/2.558, allocations: 435.3 kB / 1.005 GB, free: 99.34 MB / 0.5138 GB Notification: Performance of SimCode: time 1.392e-06/2.558, allocations: 0 / 1.005 GB, free: 99.34 MB / 0.5138 GB Notification: Performance of Templates: time 0.4546/3.013, allocations: 104.5 MB / 1.107 GB, free: 193 MB / 0.5138 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)