Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 175.5 kB / 15.43 MB, free: 5.871 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.413/1.413, allocations: 225.7 MB / 241.9 MB, free: 132 kB / 186.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.0008067/0.0008069, allocations: 92.03 kB / 293.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.06175/0.06175, allocations: 9.087 MB / 353.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 9.953 kB / 416.4 MB, free: 88.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08481, allocations: 52.4 MB / 468.8 MB, free: 40.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.006383/0.09123, allocations: 8.564 MB / 477.3 MB, free: 31.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.09571, allocations: 3.726 MB / 481.1 MB, free: 27.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008185/0.09657, allocations: 27.94 kB / 481.1 MB, free: 27.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005164/0.0971, allocations: 231 kB / 481.3 MB, free: 27.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.09873, allocations: 1.036 MB / 482.3 MB, free: 26.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.09886, allocations: 31.91 kB / 482.4 MB, free: 26.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.1006, allocations: 2.688 MB / 485.1 MB, free: 23.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.1008, allocations: 146.8 kB / 485.2 MB, free: 23.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.1014, allocations: 0.5833 MB / 485.8 MB, free: 22.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008839/0.1023, allocations: 0.9887 MB / 486.8 MB, free: 21.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.1025, allocations: 96 kB / 486.9 MB, free: 21.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000907/0.1034, allocations: 0.6824 MB / 487.6 MB, free: 21.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.104, allocations: 0.8764 MB / 488.4 MB, free: 20.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007704/0.1047, allocations: 1.139 MB / 489.6 MB, free: 19.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.1072, allocations: 3.667 MB / 493.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1073, allocations: 0 / 493.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1073, allocations: 3.938 kB / 493.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.463e-05/0.1073, allocations: 4 kB / 493.2 MB, free: 15.48 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.003543/0.1109, allocations: 2.089 MB / 495.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.111, allocations: 8.031 kB / 495.3 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.1161, allocations: 1.725 MB / 497.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.1177, allocations: 1.081 MB / 498.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.1177, allocations: 106.8 kB / 498.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.118, allocations: 124.3 kB / 498.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006731/0.1248, allocations: 6.493 MB / 0.493 GB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.1249, allocations: 15.92 kB / 0.493 GB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.1251, allocations: 67.86 kB / 0.4931 GB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001961/0.127, allocations: 1.621 MB / 0.4947 GB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.1379, allocations: 6.02 MB / 0.5006 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.1662, allocations: 18.23 MB / 0.5184 GB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.1691, allocations: 1.55 MB / 0.5199 GB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008799/0.17, allocations: 0.5343 MB / 0.5204 GB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00416/0.1742, allocations: 2.135 MB / 0.5225 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1743, allocations: 39 kB / 0.5225 GB, free: 4.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 4.097e-06/0.1743, allocations: 0 / 0.5225 GB, free: 4.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=80): time 0.003257/0.1775, allocations: 1.482 MB / 0.524 GB, free: 3.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1776, allocations: 59.78 kB / 0.524 GB, free: 3.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.1808, allocations: 1.999 MB / 0.526 GB, free: 1.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.1809, allocations: 33.7 kB / 0.526 GB, free: 1.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.204/0.385, allocations: 1.646 MB / 0.5276 GB, free: 64.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.3855, allocations: 322.6 kB / 0.5279 GB, free: 64.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3857, allocations: 53.62 kB / 0.528 GB, free: 64.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002933/0.386, allocations: 485.1 kB / 0.5284 GB, free: 63.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.3874, allocations: 0.9072 MB / 0.5293 GB, free: 63.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.3891, allocations: 2.573 MB / 0.5318 GB, free: 61.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002948/0.3921, allocations: 3.712 MB / 0.5355 GB, free: 59.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.691e-05/0.3921, allocations: 17.03 kB / 0.5355 GB, free: 59.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.004547/0.3967, allocations: 3.398 MB / 0.5388 GB, free: 58.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.3967, allocations: 30.5 kB / 0.5388 GB, free: 58.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.418e-05/0.3968, allocations: 61.06 kB / 0.5389 GB, free: 58.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.267e-05/0.3969, allocations: 78.91 kB / 0.539 GB, free: 58.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.3985, allocations: 0.613 MB / 0.5396 GB, free: 58.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.443e-05/0.3986, allocations: 121.3 kB / 0.5397 GB, free: 58.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4001, allocations: 410.8 kB / 0.5401 GB, free: 58.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.4003, allocations: 174 kB / 0.5402 GB, free: 58.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 3 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001652/0.402, allocations: 1.306 MB / 0.5415 GB, free: 58.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4021, allocations: 154 kB / 0.5417 GB, free: 58.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.4036, allocations: 1.056 MB / 0.5427 GB, free: 57.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-05/0.4037, allocations: 23.44 kB / 0.5427 GB, free: 57.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4037, allocations: 2.406 kB / 0.5427 GB, free: 57.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4038, allocations: 5.234 kB / 0.5427 GB, free: 57.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/0.4084, allocations: 3.582 MB / 0.5462 GB, free: 56.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4085, allocations: 1.125 kB / 0.5462 GB, free: 56.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.4089, allocations: 112 kB / 0.5463 GB, free: 56.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.4089, allocations: 3.203 kB / 0.5463 GB, free: 56.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.409, allocations: 16.81 kB / 0.5463 GB, free: 56.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.409, allocations: 5.047 kB / 0.5464 GB, free: 56.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.738e-05/0.409, allocations: 0.7812 kB / 0.5464 GB, free: 56.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.411, allocations: 1.732 MB / 0.548 GB, free: 55.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.4113, allocations: 262.4 kB / 0.5483 GB, free: 55.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.4115, allocations: 13.55 kB / 0.5483 GB, free: 55.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.412, allocations: 28.66 kB / 0.5483 GB, free: 55.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.4121, allocations: 33.45 kB / 0.5484 GB, free: 55.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.4121, allocations: 31.69 kB / 0.5484 GB, free: 55.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001649/0.4138, allocations: 1.304 MB / 0.5497 GB, free: 54.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4138, allocations: 0 / 0.5497 GB, free: 54.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002154/0.4159, allocations: 0.625 MB / 0.5503 GB, free: 54.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (55): * Single equations (assignments): 51 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002584/0.4162, allocations: 155.5 kB / 0.5504 GB, free: 54.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.4192, allocations: 2 MB / 0.5524 GB, free: 53.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4192, allocations: 0 / 0.5524 GB, free: 53.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.4197, allocations: 472.1 kB / 0.5528 GB, free: 53.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.421, allocations: 275.5 kB / 0.5531 GB, free: 53.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.4275, allocations: 6.261 MB / 0.5592 GB, free: 49.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.4292, allocations: 2.163 MB / 0.5613 GB, free: 47.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001867/0.431, allocations: 0.8852 MB / 0.5622 GB, free: 46.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.4313, allocations: 119.4 kB / 0.5623 GB, free: 46.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4313, allocations: 0 / 0.5623 GB, free: 46.12 MB / 362.7 MB Notification: Performance of Templates: time 0.02567/0.457, allocations: 16.42 MB / 0.5783 GB, free: 29.84 MB / 362.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.FreeBody.sim & ./PlanarMechanics_PlanarMechanics.Examples.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1)