Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001274/0.001274, allocations: 109.6 kB / 16.62 MB, free: 6.812 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.001272/0.001273, allocations: 190 kB / 17.55 MB, free: 5.934 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.453/1.453, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.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.001687/0.001687, allocations: 48.53 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1045, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.2948/0.3994, allocations: 114.3 MB / 440.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06357/0.463, allocations: 22.27 MB / 462.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03257/0.4957, allocations: 0.5065 MB / 463.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01502/0.5108, allocations: 7.702 MB / 470.9 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.5225, allocations: 3.359 MB / 474.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005816/0.5284, allocations: 1.911 MB / 476.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01997/0.5484, allocations: 12.87 MB / 489.1 MB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01701/0.5655, allocations: 11.02 MB / 0.4884 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009093/0.5746, allocations: 4.401 MB / 0.4927 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01113/0.5858, allocations: 6.323 MB / 0.4988 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004207/0.59, allocations: 1 MB / 0.4998 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007069/0.5971, allocations: 2.17 MB / 0.5019 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00822/0.6054, allocations: 5.117 MB / 0.5069 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01228/0.6177, allocations: 5.468 MB / 0.5123 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02718/0.6449, allocations: 17.01 MB / 0.5289 GB, free: 14.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.645, allocations: 4 kB / 0.5289 GB, free: 14.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.645, allocations: 3.938 kB / 0.5289 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000648/0.6456, allocations: 0 / 0.5289 GB, free: 14.23 MB / 446.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.0379/0.6835, allocations: 11.23 MB / 0.5399 GB, free: 2.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6836, allocations: 8.031 kB / 0.5399 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.38/1.064, allocations: 5.419 MB / 0.5452 GB, free: 164.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02549/1.089, allocations: 9.155 MB / 0.5541 GB, free: 161 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/1.09, allocations: 0.5226 MB / 0.5546 GB, free: 160.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004264/1.094, allocations: 0.7199 MB / 0.5553 GB, free: 160.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04079/1.135, allocations: 19.52 MB / 0.5744 GB, free: 146 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000393/1.135, allocations: 99.97 kB / 0.5745 GB, free: 145.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002038/1.137, allocations: 328.6 kB / 0.5748 GB, free: 145.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003718/1.141, allocations: 2.816 MB / 0.5775 GB, free: 142.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03406/1.175, allocations: 16.25 MB / 0.5934 GB, free: 126.6 MB / 446.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.09769/1.273, allocations: 74.58 MB / 0.6662 GB, free: 50.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.293, allocations: 8.477 MB / 0.6745 GB, free: 41.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005811/1.299, allocations: 4.758 MB / 0.6792 GB, free: 36.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02276/1.322, allocations: 15.41 MB / 0.6942 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/1.322, allocations: 76.59 kB / 0.6943 GB, free: 20.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 6.643e-06/1.322, allocations: 0 / 0.6943 GB, free: 20.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=419): time 0.4107/1.733, allocations: 50.43 MB / 0.7435 GB, free: 141.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.733, allocations: 408.6 kB / 0.7439 GB, free: 141.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01333/1.746, allocations: 7.646 MB / 0.7514 GB, free: 138.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001589/1.748, allocations: 94.89 kB / 0.7515 GB, free: 138.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003436/1.751, allocations: 5.614 MB / 0.757 GB, free: 133.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00249/1.754, allocations: 1.535 MB / 0.7585 GB, free: 131.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002991/1.757, allocations: 2.082 MB / 0.7605 GB, free: 129.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/1.757, allocations: 305.1 kB / 0.7608 GB, free: 129.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005992/1.763, allocations: 5.115 MB / 0.7658 GB, free: 124.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009443/1.772, allocations: 10.2 MB / 0.7757 GB, free: 111.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01799/1.79, allocations: 16.15 MB / 0.7915 GB, free: 93.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001789/1.79, allocations: 51.94 kB / 0.7916 GB, free: 93.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04014/1.831, allocations: 20.86 MB / 0.8119 GB, free: 72.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.831, allocations: 80 kB / 0.812 GB, free: 72.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002287/1.831, allocations: 172 kB / 0.8122 GB, free: 72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01867/1.85, allocations: 6.474 MB / 0.8185 GB, free: 65.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/1.857, allocations: 2.156 MB / 0.8206 GB, free: 63.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04239/1.9, allocations: 33.57 MB / 0.8534 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009347/1.909, allocations: 0.6245 MB / 0.854 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/1.911, allocations: 0.535 MB / 0.8545 GB, free: 28.49 MB / 446.1 MB 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.007951/1.919, allocations: 4.1 MB / 0.8585 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002064/1.921, allocations: 0.6865 MB / 0.8592 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02557/1.947, allocations: 13.86 MB / 0.8727 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.958e-05/1.947, allocations: 40 kB / 0.8728 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-05/1.947, allocations: 27.94 kB / 0.8728 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-05/1.947, allocations: 23.92 kB / 0.8728 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2519/2.199, allocations: 27.17 MB / 0.8994 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.089e-05/2.199, allocations: 10.97 kB / 0.8994 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/2.202, allocations: 0.5526 MB / 0.8999 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01726/2.219, allocations: 5.967 MB / 0.9057 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001206/2.22, allocations: 78.73 kB / 0.9058 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03826/2.259, allocations: 30.28 MB / 0.9354 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/2.259, allocations: 15.88 kB / 0.9354 GB, free: 102.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03279/2.291, allocations: 20 MB / 0.9549 GB, free: 82.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004696/2.296, allocations: 1.535 MB / 0.9564 GB, free: 81.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/2.298, allocations: 83.92 kB / 0.9565 GB, free: 81.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00453/2.303, allocations: 315.5 kB / 0.9568 GB, free: 80.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/2.304, allocations: 298 kB / 0.9571 GB, free: 80.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003262/2.304, allocations: 112 kB / 0.9572 GB, free: 80.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007336/2.312, allocations: 4.894 MB / 0.962 GB, free: 75.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/2.312, allocations: 0 / 0.962 GB, free: 75.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0106/2.322, allocations: 2.41 MB / 0.9643 GB, free: 73.33 MB / 446.1 MB 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.001633/2.324, allocations: 283.8 kB / 0.9646 GB, free: 73.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.04432/2.368, allocations: 17.32 MB / 0.9815 GB, free: 55.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/2.368, allocations: 4 kB / 0.9815 GB, free: 55.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01107/2.379, allocations: 5.107 MB / 0.9865 GB, free: 50.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01262/2.392, allocations: 1.081 MB / 0.9876 GB, free: 49.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05583/2.448, allocations: 26.85 MB / 1.014 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009594/2.458, allocations: 6.386 MB / 1.02 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007946/2.466, allocations: 2.961 MB / 1.023 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001883/2.467, allocations: 439.4 kB / 1.023 GB, free: 12.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/2.467, allocations: 3.938 kB / 1.023 GB, free: 12.97 MB / 446.1 MB Notification: Performance of Templates: time 0.3856/2.853, allocations: 110.9 MB / 1.132 GB, free: 73.01 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)