Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 179 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008018/0.0008019, allocations: 87.27 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002493, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.07462/0.2969, allocations: 94.21 MB / 470.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04228/0.3392, allocations: 22.63 MB / 493.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0149/0.3541, allocations: 466.8 kB / 493.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.3567, allocations: 0.7112 MB / 494.6 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007306/0.364, allocations: 3.196 MB / 497.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.3668, allocations: 1.463 MB / 499.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1902/0.557, allocations: 15.92 MB / 0.5031 GB, free: 6.906 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01475/0.5718, allocations: 12.38 MB / 0.5152 GB, free: 3.199 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005661/0.5775, allocations: 2.998 MB / 0.5181 GB, free: 3.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006423/0.584, allocations: 4.445 MB / 0.5225 GB, free: 2.238 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.5852, allocations: 276.8 kB / 0.5227 GB, free: 2.238 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.588, allocations: 1.283 MB / 0.524 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002978/0.591, allocations: 3.685 MB / 0.5276 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004876/0.5959, allocations: 3.883 MB / 0.5314 GB, free: 14.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.6103, allocations: 12.74 MB / 0.5438 GB, free: 7.414 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.6103, allocations: 2.812 kB / 0.5438 GB, free: 7.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.6103, allocations: 0 / 0.5438 GB, free: 7.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005321/0.6109, allocations: 0 / 0.5438 GB, free: 7.414 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01919/0.6301, allocations: 8.02 MB / 0.5517 GB, free: 15.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6301, allocations: 12.03 kB / 0.5517 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03822/0.6684, allocations: 5.354 MB / 0.5569 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/0.6874, allocations: 8.196 MB / 0.5649 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/0.6878, allocations: 429.2 kB / 0.5653 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002227/0.6901, allocations: 0.5815 MB / 0.5659 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/0.72, allocations: 16.58 MB / 0.5821 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/0.7205, allocations: 99.08 kB / 0.5822 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/0.7221, allocations: 262.1 kB / 0.5824 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0042/0.7263, allocations: 2.767 MB / 0.5851 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02733/0.7537, allocations: 13.64 MB / 0.5984 GB, free: 11.4 MB / 442.7 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.0896/0.8433, allocations: 68.04 MB / 0.6649 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3709/1.214, allocations: 7.917 MB / 0.6726 GB, free: 201.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004774/1.219, allocations: 4.501 MB / 0.677 GB, free: 199.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02103/1.24, allocations: 12.44 MB / 0.6891 GB, free: 194.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.734e-05/1.24, allocations: 65.75 kB / 0.6892 GB, free: 194.1 MB / 490.8 MB Notification: Performance of pre-optimization done (n=280): time 5.871e-06/1.24, allocations: 0 / 0.6892 GB, free: 194.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=340): time 0.1551/1.395, allocations: 50.08 MB / 0.7381 GB, free: 150.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.396, allocations: 402.1 kB / 0.7385 GB, free: 149.7 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008733/1.404, allocations: 7.128 MB / 0.7455 GB, free: 142.6 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000841/1.405, allocations: 77.7 kB / 0.7455 GB, free: 142.5 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.408, allocations: 5.033 MB / 0.7505 GB, free: 137.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.409, allocations: 1.258 MB / 0.7517 GB, free: 136.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005623/1.41, allocations: 181.5 kB / 0.7519 GB, free: 136.1 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003422/1.41, allocations: 0.6904 MB / 0.7525 GB, free: 135.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005719/1.416, allocations: 4.508 MB / 0.7569 GB, free: 130.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008532/1.425, allocations: 9.239 MB / 0.766 GB, free: 119.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/1.439, allocations: 14.49 MB / 0.7801 GB, free: 102.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.44, allocations: 52 kB / 0.7801 GB, free: 102.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04061/1.48, allocations: 19.7 MB / 0.7994 GB, free: 82.75 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.48, allocations: 72 kB / 0.7995 GB, free: 82.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/1.48, allocations: 160.8 kB / 0.7996 GB, free: 82.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01889/1.499, allocations: 7.044 MB / 0.8065 GB, free: 75.46 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/1.506, allocations: 1.938 MB / 0.8084 GB, free: 73.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03808/1.544, allocations: 33.21 MB / 0.8408 GB, free: 39.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00956/1.553, allocations: 0.5966 MB / 0.8414 GB, free: 39.31 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001646/1.555, allocations: 496 kB / 0.8419 GB, free: 38.82 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.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],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.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 (1049): * Single equations (assignments): 1043 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,94,55.1%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.006206/1.561, allocations: 3.49 MB / 0.8453 GB, free: 35.32 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/1.563, allocations: 0.6325 MB / 0.8459 GB, free: 34.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2344/1.797, allocations: 13.31 MB / 0.8589 GB, free: 181.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/1.797, allocations: 37.25 kB / 0.8589 GB, free: 181.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/1.797, allocations: 19.84 kB / 0.8589 GB, free: 181.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-05/1.797, allocations: 17.52 kB / 0.859 GB, free: 181.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05075/1.848, allocations: 26.73 MB / 0.8851 GB, free: 173.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/1.848, allocations: 8.125 kB / 0.8851 GB, free: 173.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.85, allocations: 418.5 kB / 0.8855 GB, free: 173.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0173/1.867, allocations: 6.682 MB / 0.892 GB, free: 170.5 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007676/1.868, allocations: 70.69 kB / 0.8921 GB, free: 170.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.041/1.909, allocations: 31.94 MB / 0.9232 GB, free: 144.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/1.909, allocations: 11.94 kB / 0.9233 GB, free: 144.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03126/1.941, allocations: 18.74 MB / 0.9416 GB, free: 125.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004397/1.945, allocations: 1.4 MB / 0.9429 GB, free: 124.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002469/1.947, allocations: 63.91 kB / 0.943 GB, free: 124.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004987/1.953, allocations: 319 kB / 0.9433 GB, free: 124.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/1.954, allocations: 242.4 kB / 0.9435 GB, free: 124.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005788/1.954, allocations: 95.88 kB / 0.9436 GB, free: 124 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009239/1.964, allocations: 4.548 MB / 0.9481 GB, free: 119.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.182e-06/1.964, allocations: 0 / 0.9481 GB, free: 119.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0119/1.976, allocations: 2.143 MB / 0.9501 GB, free: 117.3 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/1.977, allocations: 215.2 kB / 0.9504 GB, free: 117.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01978/1.997, allocations: 11.51 MB / 0.9616 GB, free: 105.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.997, allocations: 4 kB / 0.9616 GB, free: 105.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008596/2.005, allocations: 4.995 MB / 0.9665 GB, free: 100.7 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01459/2.02, allocations: 0.9346 MB / 0.9674 GB, free: 99.76 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03855/2.059, allocations: 23.45 MB / 0.9903 GB, free: 76.39 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.011/2.07, allocations: 5.552 MB / 0.9957 GB, free: 70.8 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008276/2.078, allocations: 2.613 MB / 0.9983 GB, free: 68.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/2.08, allocations: 391.4 kB / 0.9986 GB, free: 67.8 MB / 490.8 MB Notification: Performance of SimCode: time 1.002e-06/2.08, allocations: 0 / 0.9986 GB, free: 67.8 MB / 490.8 MB Notification: Performance of Templates: time 0.3972/2.477, allocations: 93.43 MB / 1.09 GB, free: 152 MB / 490.8 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches