Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009515/0.0009515, allocations: 94.05 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007782/0.0007782, allocations: 35.95 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2052, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.08292/0.2882, allocations: 114.3 MB / 488.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2235/0.5117, allocations: 22.39 MB / 0.4986 GB, free: 308 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01999/0.5318, allocations: 0.5063 MB / 0.4991 GB, free: 308 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01207/0.544, allocations: 7.987 MB / 0.5069 GB, free: 108 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007077/0.5511, allocations: 3.428 MB / 0.5102 GB, free: 15.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.5545, allocations: 1.85 MB / 0.512 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01911/0.5737, allocations: 17.42 MB / 0.529 GB, free: 12.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/0.5877, allocations: 10.15 MB / 0.5389 GB, free: 6.672 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/0.5946, allocations: 3.768 MB / 0.5426 GB, free: 3.621 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007919/0.6026, allocations: 6.017 MB / 0.5485 GB, free: 14.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002435/0.605, allocations: 0.6328 MB / 0.5491 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005217/0.6103, allocations: 1.873 MB / 0.5509 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006303/0.6166, allocations: 4.737 MB / 0.5556 GB, free: 7.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008546/0.6251, allocations: 5.039 MB / 0.5605 GB, free: 2.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0171/0.6423, allocations: 16.65 MB / 0.5768 GB, free: 1.766 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.6423, allocations: 0 / 0.5768 GB, free: 1.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6423, allocations: 0 / 0.5768 GB, free: 1.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004965/0.6428, allocations: 0 / 0.5768 GB, free: 1.766 MB / 426.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.0269/0.6697, allocations: 11.23 MB / 0.5877 GB, free: 6.586 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.6698, allocations: 8.031 kB / 0.5877 GB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04311/0.7129, allocations: 5.422 MB / 0.593 GB, free: 1.137 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0224/0.7354, allocations: 9.162 MB / 0.602 GB, free: 8.254 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.7357, allocations: 0.5234 MB / 0.6025 GB, free: 7.777 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/0.7378, allocations: 0.7296 MB / 0.6032 GB, free: 7.098 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/0.7695, allocations: 19.51 MB / 0.6222 GB, free: 2.812 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000247/0.7698, allocations: 93.61 kB / 0.6223 GB, free: 2.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008142/0.7707, allocations: 323.9 kB / 0.6226 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003649/0.7743, allocations: 2.824 MB / 0.6254 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/0.8039, allocations: 16.25 MB / 0.6413 GB, free: 15.68 MB / 0.4948 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.3631/1.167, allocations: 74.57 MB / 0.7141 GB, free: 188.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01967/1.187, allocations: 8.483 MB / 0.7224 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005221/1.192, allocations: 4.762 MB / 0.727 GB, free: 183.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02083/1.213, allocations: 15.4 MB / 0.7421 GB, free: 172.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/1.213, allocations: 70.22 kB / 0.7421 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=319): time 5.3e-06/1.213, allocations: 3.938 kB / 0.7421 GB, free: 172.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=419): time 0.1431/1.356, allocations: 50.45 MB / 0.7914 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/1.356, allocations: 406.2 kB / 0.7918 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007695/1.364, allocations: 7.64 MB / 0.7993 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005772/1.365, allocations: 93.7 kB / 0.7993 GB, free: 117 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002151/1.367, allocations: 5.618 MB / 0.8048 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/1.368, allocations: 1.54 MB / 0.8063 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002242/1.37, allocations: 2.08 MB / 0.8084 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.629e-05/1.37, allocations: 301.1 kB / 0.8087 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005303/1.375, allocations: 5.119 MB / 0.8137 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006823/1.382, allocations: 10.2 MB / 0.8236 GB, free: 89.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/1.396, allocations: 16.13 MB / 0.8394 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.465e-05/1.397, allocations: 52 kB / 0.8394 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.03338/1.43, allocations: 20.87 MB / 0.8598 GB, free: 50.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/1.43, allocations: 80 kB / 0.8599 GB, free: 50.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003114/1.43, allocations: 172 kB / 0.86 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/1.448, allocations: 6.456 MB / 0.8663 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006198/1.454, allocations: 2.152 MB / 0.8684 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03867/1.493, allocations: 31.43 MB / 0.8991 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007536/1.5, allocations: 0.6162 MB / 0.8997 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/1.502, allocations: 0.5325 MB / 0.9003 GB, free: 8.684 MB / 0.5105 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.006121/1.508, allocations: 4.099 MB / 0.9043 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/1.509, allocations: 0.6981 MB / 0.9049 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1867/1.696, allocations: 13.84 MB / 0.9185 GB, free: 213 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/1.696, allocations: 44.02 kB / 0.9185 GB, free: 213 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/1.696, allocations: 22.47 kB / 0.9185 GB, free: 213 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-05/1.696, allocations: 22.77 kB / 0.9185 GB, free: 213 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04379/1.74, allocations: 27.19 MB / 0.9451 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.966e-05/1.74, allocations: 10.75 kB / 0.9451 GB, free: 201.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/1.743, allocations: 0.5476 MB / 0.9456 GB, free: 201.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01597/1.759, allocations: 5.958 MB / 0.9515 GB, free: 198.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006813/1.759, allocations: 75.78 kB / 0.9515 GB, free: 198 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03099/1.79, allocations: 28.2 MB / 0.9791 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.79, allocations: 15.94 kB / 0.9791 GB, free: 169.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4411/2.232, allocations: 176.2 MB / 1.151 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003999/2.236, allocations: 1.541 MB / 1.153 GB, free: 180.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/2.237, allocations: 72.47 kB / 1.153 GB, free: 180.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00344/2.24, allocations: 316.1 kB / 1.153 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009426/2.241, allocations: 294.2 kB / 1.153 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003028/2.242, allocations: 115.2 kB / 1.153 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005739/2.247, allocations: 4.897 MB / 1.158 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/2.247, allocations: 0 / 1.158 GB, free: 178.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01009/2.258, allocations: 3.402 MB / 1.161 GB, free: 178.4 MB / 0.5105 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.000821/2.258, allocations: 276 kB / 1.162 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01422/2.273, allocations: 12.39 MB / 1.174 GB, free: 173.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.273, allocations: 0 / 1.174 GB, free: 173.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005824/2.278, allocations: 5.099 MB / 1.179 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/2.284, allocations: 1.028 MB / 1.18 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03756/2.321, allocations: 30.4 MB / 1.21 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006187/2.327, allocations: 6.558 MB / 1.216 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006644/2.334, allocations: 3.053 MB / 1.219 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/2.335, allocations: 455.4 kB / 1.219 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/2.335, allocations: 0 / 1.219 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.3312/2.667, allocations: 157.1 MB / 1.373 GB, free: 170.6 MB / 0.5105 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches