Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 201.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 102 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001971/0.0001971, allocations: 4 kB / 357.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.186, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.5076, allocations: 112.4 MB / 0.5096 GB, free: 43.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5079, allocations: 98.62 kB / 0.5097 GB, free: 43.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6249/1.133, allocations: 193.6 MB / 0.6988 GB, free: 64.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.133, allocations: 0 / 0.6988 GB, free: 64.55 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006792/1.133, allocations: 188 kB / 0.699 GB, free: 64.55 MB / 458.7 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.03053/1.164, allocations: 10.26 MB / 0.709 GB, free: 60.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.164, allocations: 12.41 kB / 0.709 GB, free: 60.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05696/1.221, allocations: 16.63 MB / 0.7252 GB, free: 60.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03214/1.253, allocations: 12.58 MB / 0.7375 GB, free: 58.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006179/1.254, allocations: 0.6241 MB / 0.7381 GB, free: 58.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003709/1.258, allocations: 0.8604 MB / 0.739 GB, free: 58.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04056/1.298, allocations: 19.42 MB / 0.7579 GB, free: 55.26 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003576/1.299, allocations: 107.9 kB / 0.758 GB, free: 55.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/1.3, allocations: 389.8 kB / 0.7584 GB, free: 55.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/1.302, allocations: 1.606 MB / 0.76 GB, free: 55.21 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02857/1.33, allocations: 15.58 MB / 0.7752 GB, free: 51.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3254/1.656, allocations: 80.41 MB / 0.8537 GB, free: 34.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02003/1.676, allocations: 7.932 MB / 0.8615 GB, free: 33.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02279/1.698, allocations: 14.04 MB / 0.8752 GB, free: 30.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/1.699, allocations: 65.7 kB / 0.8752 GB, free: 30.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 5.42e-06/1.699, allocations: 0 / 0.8752 GB, free: 30.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=417): time 0.1688/1.867, allocations: 51.48 MB / 0.9255 GB, free: 24.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.868, allocations: 415.3 kB / 0.9259 GB, free: 23.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/1.88, allocations: 6.562 MB / 0.9323 GB, free: 23.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009203/1.881, allocations: 90.98 kB / 0.9324 GB, free: 23.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004298/1.886, allocations: 5.813 MB / 0.9381 GB, free: 20.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002297/1.888, allocations: 1.505 MB / 0.9396 GB, free: 19.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/1.889, allocations: 192 kB / 0.9397 GB, free: 19.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005694/1.89, allocations: 0.6948 MB / 0.9404 GB, free: 19.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005763/1.895, allocations: 4.287 MB / 0.9446 GB, free: 19.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008829/1.904, allocations: 9.286 MB / 0.9537 GB, free: 10.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008545/1.913, allocations: 6.195 MB / 0.9597 GB, free: 5.082 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/1.913, allocations: 48 kB / 0.9598 GB, free: 5.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=1218) (initialization): time 0.04119/1.954, allocations: 17.99 MB / 0.9773 GB, free: 7.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002604/1.954, allocations: 84.03 kB / 0.9774 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003016/1.955, allocations: 172 kB / 0.9776 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/1.971, allocations: 4.926 MB / 0.9824 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007171/1.978, allocations: 1.972 MB / 0.9843 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04268/2.021, allocations: 27.71 MB / 1.011 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008092/2.029, allocations: 0.5401 MB / 1.012 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/2.031, allocations: 0.5183 MB / 1.012 GB, free: 10.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 787 * 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],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[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],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 1056 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 129} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01017/2.041, allocations: 4.079 MB / 1.016 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002106/2.043, allocations: 0.7134 MB / 1.017 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03004/2.073, allocations: 11.65 MB / 1.028 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.051e-05/2.073, allocations: 40 kB / 1.029 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.326e-05/2.074, allocations: 24 kB / 1.029 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/2.074, allocations: 23.92 kB / 1.029 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06171/2.135, allocations: 24.82 MB / 1.053 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.434e-05/2.136, allocations: 11.97 kB / 1.053 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/2.139, allocations: 0.5695 MB / 1.053 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2442/2.383, allocations: 4.502 MB / 1.058 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000939/2.384, allocations: 74.59 kB / 1.058 GB, free: 137 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03213/2.416, allocations: 24.47 MB / 1.082 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/2.416, allocations: 13.98 kB / 1.082 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02824/2.444, allocations: 18.51 MB / 1.1 GB, free: 133.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003964/2.448, allocations: 1.401 MB / 1.101 GB, free: 133 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/2.449, allocations: 77.75 kB / 1.101 GB, free: 133 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/2.452, allocations: 256.3 kB / 1.102 GB, free: 133 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007317/2.453, allocations: 298.8 kB / 1.102 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/2.453, allocations: 114.4 kB / 1.102 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006594/2.46, allocations: 4.739 MB / 1.107 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/2.46, allocations: 0 / 1.107 GB, free: 132.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008694/2.469, allocations: 2.23 MB / 1.109 GB, free: 132.7 MB / 0.5417 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 (288): * Single equations (assignments): 284 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 113} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000854/2.469, allocations: 279.2 kB / 1.109 GB, free: 132.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01368/2.483, allocations: 10.91 MB / 1.12 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/2.483, allocations: 10.62 kB / 1.12 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006193/2.489, allocations: 4.664 MB / 1.124 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005914/2.495, allocations: 1.052 MB / 1.125 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0392/2.535, allocations: 24.73 MB / 1.149 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008227/2.543, allocations: 6.574 MB / 1.156 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007187/2.55, allocations: 2.939 MB / 1.159 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/2.551, allocations: 434.5 kB / 1.159 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/2.551, allocations: 2.781 kB / 1.159 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.1375/2.689, allocations: 94.67 MB / 1.252 GB, free: 41.49 MB / 0.5417 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches