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.00189/0.00189, allocations: 200.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008117/0.0008116, allocations: 97.34 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.858e-05, allocations: 7.984 kB / 343.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 51.47 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4945, allocations: 111.7 MB / 0.495 GB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4947, allocations: 90 kB / 0.4951 GB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8369/1.332, allocations: 190.2 MB / 0.6808 GB, free: 58.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.573e-06/1.332, allocations: 0 / 0.6808 GB, free: 58.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009244/1.333, allocations: 186.5 kB / 0.681 GB, free: 58.17 MB / 442.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.03218/1.365, allocations: 9.153 MB / 0.6899 GB, free: 51.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.365, allocations: 16.02 kB / 0.6899 GB, free: 51.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0631/1.428, allocations: 16.65 MB / 0.7062 GB, free: 34.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03121/1.459, allocations: 12.51 MB / 0.7184 GB, free: 22.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/1.46, allocations: 276 kB / 0.7187 GB, free: 22.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006242/1.466, allocations: 0.5206 MB / 0.7192 GB, free: 21.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02649/1.493, allocations: 11.71 MB / 0.7306 GB, free: 9.922 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3353/1.828, allocations: 16.54 MB / 0.7468 GB, free: 48.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004744/1.829, allocations: 103.3 kB / 0.7469 GB, free: 48.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001733/1.83, allocations: 41.72 kB / 0.7469 GB, free: 48.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001922/1.832, allocations: 1.604 MB / 0.7485 GB, free: 48.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09499/1.927, allocations: 77.99 MB / 0.8246 GB, free: 39.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008095/1.935, allocations: 5.47 MB / 0.83 GB, free: 36.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004526/1.94, allocations: 3.887 MB / 0.8338 GB, free: 35.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003119/1.943, allocations: 2.858 MB / 0.8366 GB, free: 32.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.219e-05/1.943, allocations: 68.7 kB / 0.8366 GB, free: 32.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=316): time 7.935e-06/1.943, allocations: 0.875 kB / 0.8366 GB, free: 32.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=426): time 0.1011/2.044, allocations: 44.75 MB / 0.8803 GB, free: 17.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/2.044, allocations: 409.1 kB / 0.8807 GB, free: 17.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008638/2.053, allocations: 5.842 MB / 0.8864 GB, free: 15.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008483/2.054, allocations: 30.83 kB / 0.8865 GB, free: 15.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004026/2.058, allocations: 5.841 MB / 0.8922 GB, free: 10.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002011/2.06, allocations: 1.49 MB / 0.8936 GB, free: 9.488 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/2.061, allocations: 2.344 kB / 0.8936 GB, free: 9.488 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004873/2.061, allocations: 0.7074 MB / 0.8943 GB, free: 9.008 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005606/2.067, allocations: 4.12 MB / 0.8983 GB, free: 5.402 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009177/2.076, allocations: 9.193 MB / 0.9073 GB, free: 10.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008586/2.084, allocations: 6.094 MB / 0.9133 GB, free: 4.992 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.83e-05/2.085, allocations: 52 kB / 0.9133 GB, free: 4.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.3297/2.414, allocations: 16.53 MB / 0.9294 GB, free: 92.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/2.415, allocations: 84.31 kB / 0.9295 GB, free: 92.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004265/2.415, allocations: 177.1 kB / 0.9297 GB, free: 92.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01558/2.431, allocations: 4.785 MB / 0.9344 GB, free: 92.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007497/2.438, allocations: 2.032 MB / 0.9364 GB, free: 92.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03773/2.476, allocations: 24.67 MB / 0.9604 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009333/2.485, allocations: 378.9 kB / 0.9608 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002802/2.488, allocations: 0.528 MB / 0.9613 GB, free: 91.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 811 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1089 * 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,77.8%) 129} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002293/2.49, allocations: 0.5685 MB / 0.9619 GB, free: 91.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/2.492, allocations: 0.6859 MB / 0.9625 GB, free: 91.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02505/2.517, allocations: 11.04 MB / 0.9733 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.78e-05/2.518, allocations: 43.11 kB / 0.9734 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.426e-05/2.518, allocations: 26.06 kB / 0.9734 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-05/2.518, allocations: 22.66 kB / 0.9734 GB, free: 89.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04662/2.564, allocations: 23.47 MB / 0.9963 GB, free: 80.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.795e-05/2.564, allocations: 6.281 kB / 0.9963 GB, free: 80.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002914/2.567, allocations: 0.5911 MB / 0.9969 GB, free: 80.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01346/2.581, allocations: 4.341 MB / 1.001 GB, free: 79.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/2.582, allocations: 15.36 kB / 1.001 GB, free: 79.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03014/2.612, allocations: 21.6 MB / 1.022 GB, free: 69.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/2.612, allocations: 17.11 kB / 1.022 GB, free: 69.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02789/2.64, allocations: 18.12 MB / 1.04 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004249/2.644, allocations: 1.377 MB / 1.041 GB, free: 53.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00241/2.647, allocations: 13.31 kB / 1.041 GB, free: 53.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004863/2.652, allocations: 194 kB / 1.042 GB, free: 53.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/2.653, allocations: 304.2 kB / 1.042 GB, free: 52.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004602/2.653, allocations: 111.4 kB / 1.042 GB, free: 52.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00896/2.662, allocations: 4.075 MB / 1.046 GB, free: 49.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.662, allocations: 0 / 1.046 GB, free: 49.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01216/2.675, allocations: 1.964 MB / 1.048 GB, free: 47.29 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 293 * 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.001895/2.677, allocations: 214.9 kB / 1.048 GB, free: 47.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01661/2.693, allocations: 10.4 MB / 1.058 GB, free: 37.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/2.693, allocations: 0 / 1.058 GB, free: 37.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007385/2.701, allocations: 4.516 MB / 1.063 GB, free: 33.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006875/2.708, allocations: 0.909 MB / 1.063 GB, free: 32.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03797/2.746, allocations: 17.87 MB / 1.081 GB, free: 17.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01087/2.756, allocations: 6.571 MB / 1.087 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01047/2.767, allocations: 3.014 MB / 1.09 GB, free: 9.531 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/2.769, allocations: 419.4 kB / 1.091 GB, free: 9.121 MB / 490.7 MB Notification: Performance of SimCode: time 2.004e-06/2.769, allocations: 4 kB / 1.091 GB, free: 9.117 MB / 490.7 MB Notification: Performance of Templates: time 0.4657/3.235, allocations: 88.46 MB / 1.177 GB, free: 74.41 MB / 490.7 MB 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