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.001221/0.001221, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 106.5 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009265/0.0009266, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1936, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.3048/0.4984, allocations: 114.3 MB / 0.5091 GB, free: 232 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0409/0.5394, allocations: 22.42 MB / 0.531 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02049/0.5599, allocations: 0.5055 MB / 0.5315 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.5731, allocations: 7.951 MB / 0.5392 GB, free: 10.76 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008347/0.5814, allocations: 3.39 MB / 0.5425 GB, free: 8.715 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004151/0.5856, allocations: 1.852 MB / 0.5444 GB, free: 7.586 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.02008/0.6057, allocations: 19.2 MB / 0.5631 GB, free: 11.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0121/0.6178, allocations: 10.15 MB / 0.573 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.6241, allocations: 3.756 MB / 0.5767 GB, free: 13.36 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008556/0.6327, allocations: 5.992 MB / 0.5825 GB, free: 7.676 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.6349, allocations: 0.6289 MB / 0.5832 GB, free: 7.047 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004496/0.6394, allocations: 1.867 MB / 0.585 GB, free: 5.238 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005189/0.6446, allocations: 4.709 MB / 0.5896 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007067/0.6517, allocations: 5.03 MB / 0.5945 GB, free: 11.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01582/0.6675, allocations: 16.62 MB / 0.6107 GB, free: 11.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.6676, allocations: 0 / 0.6107 GB, free: 11.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6676, allocations: 0 / 0.6107 GB, free: 11.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004282/0.668, allocations: 0 / 0.6107 GB, free: 11.2 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.02706/0.6951, allocations: 11.23 MB / 0.6217 GB, free: 24 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6951, allocations: 8.875 kB / 0.6217 GB, free: 16 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04517/0.7403, allocations: 5.417 MB / 0.627 GB, free: 10.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/0.7606, allocations: 8.675 MB / 0.6355 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/0.761, allocations: 0.5239 MB / 0.636 GB, free: 1.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/0.7631, allocations: 0.7283 MB / 0.6367 GB, free: 0.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03552/0.7987, allocations: 19.52 MB / 0.6557 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003218/0.799, allocations: 95.17 kB / 0.6558 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/0.8002, allocations: 323.3 kB / 0.6561 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004432/0.8046, allocations: 2.822 MB / 0.6589 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03248/0.8371, allocations: 16.26 MB / 0.6748 GB, free: 8.887 MB / 0.5105 GB 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.4237/1.261, allocations: 74.42 MB / 0.7475 GB, free: 184.5 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01999/1.281, allocations: 8.514 MB / 0.7558 GB, free: 180.9 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004953/1.286, allocations: 4.773 MB / 0.7604 GB, free: 178.3 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02012/1.306, allocations: 15.4 MB / 0.7755 GB, free: 165.5 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.306, allocations: 72.11 kB / 0.7755 GB, free: 165.4 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=321): time 5.38e-06/1.306, allocations: 0 / 0.7755 GB, free: 165.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=428): time 0.1775/1.484, allocations: 54.62 MB / 0.8289 GB, free: 110.9 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.484, allocations: 410.7 kB / 0.8293 GB, free: 110.4 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/1.496, allocations: 7.559 MB / 0.8366 GB, free: 102.9 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001219/1.497, allocations: 93.7 kB / 0.8367 GB, free: 102.8 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002967/1.5, allocations: 5.596 MB / 0.8422 GB, free: 97.17 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001918/1.502, allocations: 1.563 MB / 0.8437 GB, free: 95.62 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002974/1.505, allocations: 2.086 MB / 0.8458 GB, free: 93.52 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.032e-05/1.505, allocations: 305.1 kB / 0.8461 GB, free: 93.22 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006124/1.511, allocations: 5.221 MB / 0.8512 GB, free: 88 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009264/1.521, allocations: 10.27 MB / 0.8612 GB, free: 75.31 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01721/1.538, allocations: 16.31 MB / 0.8771 GB, free: 56.59 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/1.538, allocations: 48 kB / 0.8772 GB, free: 56.55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1335) (initialization): time 0.04088/1.579, allocations: 21.25 MB / 0.8979 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002253/1.579, allocations: 80 kB / 0.898 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002696/1.58, allocations: 168 kB / 0.8981 GB, free: 35.03 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01986/1.6, allocations: 6.658 MB / 0.9046 GB, free: 28.36 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007083/1.607, allocations: 2.156 MB / 0.9068 GB, free: 26.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2591/1.866, allocations: 32.8 MB / 0.9388 GB, free: 202.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008734/1.875, allocations: 0.6185 MB / 0.9394 GB, free: 202.4 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/1.877, allocations: 0.5333 MB / 0.9399 GB, free: 202.4 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 778 * 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 (1178): * Single equations (assignments): 1173 * 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,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00732/1.884, allocations: 4.097 MB / 0.9439 GB, free: 201.6 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.885, allocations: 0.692 MB / 0.9446 GB, free: 201.6 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02694/1.912, allocations: 14.32 MB / 0.9586 GB, free: 196.8 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.977e-05/1.912, allocations: 43.19 kB / 0.9586 GB, free: 196.8 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/1.913, allocations: 26.78 kB / 0.9586 GB, free: 196.8 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-05/1.913, allocations: 19.03 kB / 0.9587 GB, free: 196.8 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04908/1.962, allocations: 28.26 MB / 0.9863 GB, free: 181.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.099e-05/1.962, allocations: 8 kB / 0.9863 GB, free: 181.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.965, allocations: 0.5928 MB / 0.9868 GB, free: 181.1 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01806/1.983, allocations: 6.32 MB / 0.993 GB, free: 174.8 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008966/1.984, allocations: 79.59 kB / 0.9931 GB, free: 174.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03689/2.021, allocations: 29.72 MB / 1.022 GB, free: 145.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/2.021, allocations: 19.88 kB / 1.022 GB, free: 145.1 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5281/2.549, allocations: 185.2 MB / 1.203 GB, free: 163.9 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004211/2.553, allocations: 1.567 MB / 1.204 GB, free: 162.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/2.554, allocations: 81.7 kB / 1.205 GB, free: 162.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003626/2.558, allocations: 329.7 kB / 1.205 GB, free: 162.6 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/2.559, allocations: 305.2 kB / 1.205 GB, free: 162.4 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003309/2.559, allocations: 111.8 kB / 1.205 GB, free: 162.3 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006271/2.566, allocations: 4.838 MB / 1.21 GB, free: 158.3 MB / 0.5262 GB Notification: Performance of sort global known variables: time 3e-07/2.566, allocations: 0 / 1.21 GB, free: 158.3 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01248/2.578, allocations: 3.428 MB / 1.213 GB, free: 154.9 MB / 0.5262 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 (296): * Single equations (assignments): 292 * 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,116,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/2.579, allocations: 286.6 kB / 1.214 GB, free: 154.7 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01626/2.595, allocations: 12.7 MB / 1.226 GB, free: 143.5 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/2.595, allocations: 0 / 1.226 GB, free: 143.5 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.007013/2.603, allocations: 5.353 MB / 1.231 GB, free: 138.3 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005931/2.608, allocations: 1.016 MB / 1.232 GB, free: 137.3 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04288/2.651, allocations: 30.65 MB / 1.262 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009082/2.66, allocations: 6.55 MB / 1.269 GB, free: 100.3 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.008066/2.669, allocations: 3.059 MB / 1.272 GB, free: 97.26 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/2.671, allocations: 447.4 kB / 1.272 GB, free: 96.82 MB / 0.5262 GB Notification: Performance of SimCode: time 5.71e-07/2.671, allocations: 0 / 1.272 GB, free: 96.82 MB / 0.5262 GB Notification: Performance of Templates: time 0.4181/3.089, allocations: 160.7 MB / 1.429 GB, free: 123.6 MB / 0.5262 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@2/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