Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 174.2 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.7 MB / 243.9 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 81.41 kB / 295 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3695/0.3695, allocations: 44.32 MB / 390.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.00041, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3546, allocations: 61.9 MB / 0.5127 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01276/0.3674, allocations: 15.58 MB / 0.5279 GB, free: 26.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009907/0.3774, allocations: 5.739 MB / 0.5336 GB, free: 21.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.3798, allocations: 70.69 kB / 0.5336 GB, free: 21.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.3804, allocations: 265 kB / 0.5339 GB, free: 21.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.3819, allocations: 0.8102 MB / 0.5347 GB, free: 21.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006301/0.3826, allocations: 267.4 kB / 0.5349 GB, free: 21.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.385, allocations: 2.773 MB / 0.5376 GB, free: 20.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.387, allocations: 1.884 MB / 0.5395 GB, free: 19.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/0.3879, allocations: 0.6621 MB / 0.5401 GB, free: 19.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.389, allocations: 0.9931 MB / 0.5411 GB, free: 18.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.3891, allocations: 74.72 kB / 0.5412 GB, free: 18.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3902, allocations: 0.7006 MB / 0.5418 GB, free: 18.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005815/0.3908, allocations: 0.8835 MB / 0.5427 GB, free: 18.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007521/0.3916, allocations: 1.108 MB / 0.5438 GB, free: 17.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.3945, allocations: 3.475 MB / 0.5472 GB, free: 16.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3945, allocations: 0 / 0.5472 GB, free: 16.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3945, allocations: 3.094 kB / 0.5472 GB, free: 16.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.2e-05/0.3946, allocations: 3.938 kB / 0.5472 GB, free: 16.68 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.003715/0.3983, allocations: 2.196 MB / 0.5493 GB, free: 15.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3984, allocations: 8.953 kB / 0.5493 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/0.4036, allocations: 1.606 MB / 0.5509 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.4058, allocations: 1.073 MB / 0.552 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-05/0.4059, allocations: 115.6 kB / 0.5521 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.4063, allocations: 157.6 kB / 0.5522 GB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009528/0.4158, allocations: 6.183 MB / 0.5583 GB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/0.4159, allocations: 27.08 kB / 0.5583 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.4161, allocations: 78.78 kB / 0.5584 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002298/0.4185, allocations: 1.445 MB / 0.5598 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008943/0.4274, allocations: 5.363 MB / 0.565 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02673/0.4542, allocations: 24.89 MB / 0.5893 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.4585, allocations: 2.349 MB / 0.5916 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.4596, allocations: 0.9873 MB / 0.5926 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/0.46, allocations: 327.6 kB / 0.5929 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.46, allocations: 38.56 kB / 0.5929 GB, free: 9.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.807e-06/0.46, allocations: 0 / 0.5929 GB, free: 9.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.02176/0.4818, allocations: 8.472 MB / 0.6012 GB, free: 1.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.4819, allocations: 148.5 kB / 0.6013 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/0.4851, allocations: 2.62 MB / 0.6039 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.4853, allocations: 37.7 kB / 0.6039 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.4866, allocations: 2.02 MB / 0.6059 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.487, allocations: 438.6 kB / 0.6063 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.4871, allocations: 91.98 kB / 0.6064 GB, free: 11.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002743/0.4874, allocations: 499.5 kB / 0.6069 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.4892, allocations: 1.312 MB / 0.6082 GB, free: 9.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003515/0.4927, allocations: 4.092 MB / 0.6122 GB, free: 4.273 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005993/0.4987, allocations: 5.921 MB / 0.6179 GB, free: 12.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-05/0.4988, allocations: 28 kB / 0.618 GB, free: 12.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008751/0.5076, allocations: 5.451 MB / 0.6233 GB, free: 7.488 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.5077, allocations: 51.91 kB / 0.6233 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.291e-05/0.5078, allocations: 96 kB / 0.6234 GB, free: 7.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.5088, allocations: 465.3 kB / 0.6239 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/0.5114, allocations: 0.9708 MB / 0.6248 GB, free: 5.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.5151, allocations: 3.407 MB / 0.6282 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.5176, allocations: 231.5 kB / 0.6284 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/0.5179, allocations: 268 kB / 0.6286 GB, free: 1.887 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002056/0.52, allocations: 1.365 MB / 0.63 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.5203, allocations: 213.2 kB / 0.6302 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.5226, allocations: 1.334 MB / 0.6315 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.5226, allocations: 12 kB / 0.6315 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5226, allocations: 0 / 0.6315 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.5226, allocations: 7.984 kB / 0.6315 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006785/0.5294, allocations: 4.242 MB / 0.6356 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.5295, allocations: 0 / 0.6356 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/0.5301, allocations: 139.8 kB / 0.6358 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008294/0.5309, allocations: 316.6 kB / 0.6361 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.531, allocations: 15.98 kB / 0.6361 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003047/0.5341, allocations: 2.819 MB / 0.6388 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5341, allocations: 15.8 kB / 0.6388 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/0.5381, allocations: 3.058 MB / 0.6418 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.5386, allocations: 282.2 kB / 0.6421 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.5388, allocations: 12 kB / 0.6421 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/0.5395, allocations: 51.88 kB / 0.6422 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.5397, allocations: 52.38 kB / 0.6422 GB, free: 3.695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.5397, allocations: 31.97 kB / 0.6422 GB, free: 3.664 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002205/0.542, allocations: 1.609 MB / 0.6438 GB, free: 2.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.542, allocations: 0 / 0.6438 GB, free: 2.043 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002634/0.5446, allocations: 0.6015 MB / 0.6444 GB, free: 1.441 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (77): * Single equations (assignments): 73 * 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 {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002983/0.5449, allocations: 148.4 kB / 0.6445 GB, free: 1.289 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004865/0.5498, allocations: 3.197 MB / 0.6477 GB, free: 14.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5498, allocations: 0 / 0.6477 GB, free: 14.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.5509, allocations: 0.861 MB / 0.6485 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.5526, allocations: 200.2 kB / 0.6487 GB, free: 13.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.5634, allocations: 6.704 MB / 0.6552 GB, free: 6.281 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/0.5655, allocations: 2.167 MB / 0.6574 GB, free: 4.082 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003402/0.5689, allocations: 1.399 MB / 0.6587 GB, free: 2.676 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004103/0.5694, allocations: 155.4 kB / 0.6589 GB, free: 2.523 MB / 474.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5694, allocations: 0 / 0.6589 GB, free: 2.523 MB / 474.7 MB Notification: Performance of Templates: time 0.03872/0.6081, allocations: 19.36 MB / 0.6778 GB, free: 15.21 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches