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.00103/0.00103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00106/0.00106, allocations: 192.8 kB / 16.14 MB, free: 6.668 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.397/1.397, allocations: 205.1 MB / 222 MB, free: 4.727 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.001102/0.001102, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.242, allocations: 46.63 MB / 324.7 MB, free: 2.066 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.0991/0.3411, allocations: 114.3 MB / 439 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3259/0.6671, allocations: 22.38 MB / 461.4 MB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02711/0.6943, allocations: 0.5092 MB / 461.9 MB, free: 400 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01534/0.7097, allocations: 7.986 MB / 469.9 MB, free: 200 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009854/0.7196, allocations: 3.431 MB / 473.3 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005243/0.7249, allocations: 1.837 MB / 475.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02205/0.747, allocations: 17.37 MB / 492.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/0.7613, allocations: 10.15 MB / 0.4909 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.7729, allocations: 3.762 MB / 0.4946 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0116/0.7845, allocations: 6.017 MB / 0.5004 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003679/0.7882, allocations: 0.6289 MB / 0.501 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007571/0.7958, allocations: 1.866 MB / 0.5029 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009046/0.8049, allocations: 4.742 MB / 0.5075 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01362/0.8186, allocations: 5.038 MB / 0.5124 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02746/0.8461, allocations: 16.65 MB / 0.5287 GB, free: 5.457 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.8461, allocations: 4 kB / 0.5287 GB, free: 5.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.8462, allocations: 0 / 0.5287 GB, free: 5.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008173/0.847, allocations: 0 / 0.5287 GB, free: 5.453 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.03761/0.8846, allocations: 11.24 MB / 0.5397 GB, free: 10.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.8847, allocations: 8.031 kB / 0.5397 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04352/0.9282, allocations: 5.421 MB / 0.545 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0216/0.9499, allocations: 9.152 MB / 0.5539 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005381/0.9504, allocations: 0.5254 MB / 0.5544 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003446/0.9539, allocations: 0.7251 MB / 0.5551 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04704/1.001, allocations: 19.52 MB / 0.5742 GB, free: 6.504 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003739/1.001, allocations: 96.39 kB / 0.5743 GB, free: 6.438 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/1.003, allocations: 319 kB / 0.5746 GB, free: 6.172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004444/1.008, allocations: 2.818 MB / 0.5773 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03669/1.044, allocations: 16.25 MB / 0.5932 GB, free: 3.387 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.4741/1.519, allocations: 74.58 MB / 0.666 GB, free: 192.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/1.539, allocations: 8.473 MB / 0.6743 GB, free: 190.8 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005833/1.545, allocations: 4.766 MB / 0.679 GB, free: 188.7 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02088/1.566, allocations: 15.39 MB / 0.694 GB, free: 178.3 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/1.566, allocations: 78.31 kB / 0.6941 GB, free: 178.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=319): time 5.581e-06/1.566, allocations: 3.938 kB / 0.6941 GB, free: 178.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=419): time 0.1509/1.717, allocations: 50.46 MB / 0.7434 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/1.717, allocations: 410.4 kB / 0.7437 GB, free: 131.1 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009455/1.726, allocations: 7.64 MB / 0.7512 GB, free: 123.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001126/1.727, allocations: 89.7 kB / 0.7513 GB, free: 123.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.73, allocations: 5.622 MB / 0.7568 GB, free: 117.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001988/1.732, allocations: 1.531 MB / 0.7583 GB, free: 116.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003069/1.735, allocations: 2.077 MB / 0.7603 GB, free: 114.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/1.735, allocations: 313.1 kB / 0.7606 GB, free: 113.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00633/1.742, allocations: 5.119 MB / 0.7656 GB, free: 108.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008319/1.75, allocations: 10.2 MB / 0.7756 GB, free: 96.18 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/1.767, allocations: 16.13 MB / 0.7913 GB, free: 77.61 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001536/1.767, allocations: 52 kB / 0.7914 GB, free: 77.56 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04006/1.807, allocations: 20.86 MB / 0.8117 GB, free: 56.67 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002869/1.807, allocations: 80.22 kB / 0.8118 GB, free: 56.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004118/1.808, allocations: 172 kB / 0.812 GB, free: 56.43 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.019/1.827, allocations: 6.454 MB / 0.8183 GB, free: 49.96 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008302/1.835, allocations: 2.147 MB / 0.8204 GB, free: 47.81 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04846/1.884, allocations: 31.43 MB / 0.8511 GB, free: 16.25 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009911/1.894, allocations: 0.6162 MB / 0.8517 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0024/1.896, allocations: 0.5351 MB / 0.8522 GB, free: 15.09 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.009111/1.905, allocations: 4.104 MB / 0.8562 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002414/1.908, allocations: 0.6903 MB / 0.8569 GB, free: 10.28 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2667/2.174, allocations: 13.85 MB / 0.8704 GB, free: 215.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/2.174, allocations: 42.31 kB / 0.8704 GB, free: 215.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.354e-05/2.175, allocations: 23.12 kB / 0.8705 GB, free: 215.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000106/2.175, allocations: 19.11 kB / 0.8705 GB, free: 215.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05769/2.232, allocations: 27.19 MB / 0.897 GB, free: 207.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.769e-05/2.232, allocations: 10.25 kB / 0.897 GB, free: 207.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/2.235, allocations: 0.5542 MB / 0.8976 GB, free: 207.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01759/2.253, allocations: 5.946 MB / 0.9034 GB, free: 204.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001234/2.254, allocations: 77.39 kB / 0.9035 GB, free: 204.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03487/2.289, allocations: 28.2 MB / 0.931 GB, free: 179 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/2.289, allocations: 11.94 kB / 0.931 GB, free: 179 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03318/2.322, allocations: 20 MB / 0.9505 GB, free: 159.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004601/2.327, allocations: 1.536 MB / 0.952 GB, free: 158 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002245/2.329, allocations: 83.66 kB / 0.9521 GB, free: 158 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004384/2.333, allocations: 311.5 kB / 0.9524 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/2.335, allocations: 298.3 kB / 0.9527 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003423/2.335, allocations: 113.1 kB / 0.9528 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007492/2.342, allocations: 4.894 MB / 0.9576 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.7e-07/2.343, allocations: 0 / 0.9576 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01141/2.354, allocations: 2.41 MB / 0.9599 GB, free: 150 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.001021/2.355, allocations: 284.3 kB / 0.9602 GB, free: 149.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01624/2.371, allocations: 12.39 MB / 0.9723 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/2.371, allocations: 4 kB / 0.9723 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007235/2.379, allocations: 5.097 MB / 0.9773 GB, free: 132.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009679/2.388, allocations: 1.021 MB / 0.9783 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04485/2.433, allocations: 26.86 MB / 1.005 GB, free: 104.6 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007728/2.441, allocations: 6.389 MB / 1.011 GB, free: 98.22 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007247/2.448, allocations: 2.958 MB / 1.014 GB, free: 95.25 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/2.45, allocations: 435.4 kB / 1.014 GB, free: 94.83 MB / 0.5138 GB Notification: Performance of SimCode: time 1.122e-06/2.45, allocations: 0 / 1.014 GB, free: 94.83 MB / 0.5138 GB Notification: Performance of Templates: time 0.4052/2.855, allocations: 106.9 MB / 1.118 GB, free: 193.4 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)