Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 178.8 kB / 15.43 MB, free: 5.766 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.385/1.385, allocations: 225.7 MB / 241.9 MB, free: 392 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.0008373/0.0008374, allocations: 95.88 kB / 293.1 MB, free: 12.89 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.04122/0.04122, allocations: 9.083 MB / 353.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003536, allocations: 12 kB / 416.4 MB, free: 88.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09816, allocations: 52.4 MB / 468.8 MB, free: 40.33 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.01133/0.1095, allocations: 16.47 MB / 485.2 MB, free: 23.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008798/0.1184, allocations: 5.654 MB / 490.9 MB, free: 17.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.1213, allocations: 63.88 kB / 491 MB, free: 17.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006566/0.122, allocations: 274.7 kB / 491.2 MB, free: 17.49 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.1243, allocations: 1.176 MB / 492.4 MB, free: 16.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1246, allocations: 71.92 kB / 492.5 MB, free: 16.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.1265, allocations: 3.038 MB / 495.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.127, allocations: 0.6376 MB / 496.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.1275, allocations: 0.6806 MB / 496.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009142/0.1284, allocations: 1.121 MB / 498 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.1286, allocations: 108 kB / 498.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009595/0.1296, allocations: 0.7448 MB / 498.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005571/0.1302, allocations: 0.9815 MB / 499.8 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007093/0.1309, allocations: 1.294 MB / 0.4893 GB, free: 7.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.1337, allocations: 4.049 MB / 0.4933 GB, free: 3.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1337, allocations: 0 / 0.4933 GB, free: 3.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1337, allocations: 3.938 kB / 0.4933 GB, free: 3.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.778e-05/0.1338, allocations: 0 / 0.4933 GB, free: 3.523 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: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.004589/0.1384, allocations: 2.81 MB / 0.496 GB, free: 0.6562 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1384, allocations: 8.031 kB / 0.496 GB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/0.144, allocations: 1.76 MB / 0.4978 GB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.1458, allocations: 1.19 MB / 0.4989 GB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.595e-05/0.1459, allocations: 123.3 kB / 0.499 GB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.1462, allocations: 156.2 kB / 0.4992 GB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008876/0.1551, allocations: 7.2 MB / 0.5062 GB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/0.1551, allocations: 19.78 kB / 0.5062 GB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.1554, allocations: 75.88 kB / 0.5063 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002535/0.1579, allocations: 1.738 MB / 0.508 GB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.1685, allocations: 6.561 MB / 0.5144 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2123/0.3808, allocations: 21.19 MB / 0.5351 GB, free: 51.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.3845, allocations: 2.005 MB / 0.5371 GB, free: 50.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3856, allocations: 0.6741 MB / 0.5377 GB, free: 50.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004311/0.3899, allocations: 3.279 MB / 0.5409 GB, free: 49.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.39, allocations: 40.5 kB / 0.541 GB, free: 48.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 3.226e-06/0.39, allocations: 0 / 0.541 GB, free: 48.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.01008/0.4001, allocations: 5.512 MB / 0.5464 GB, free: 47.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.4002, allocations: 64.33 kB / 0.5464 GB, free: 47.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/0.4031, allocations: 2.257 MB / 0.5486 GB, free: 47.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.4032, allocations: 46.55 kB / 0.5487 GB, free: 47.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009095/0.4041, allocations: 1.83 MB / 0.5505 GB, free: 46.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.4043, allocations: 454.2 kB / 0.5509 GB, free: 46.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.4045, allocations: 66.06 kB / 0.5509 GB, free: 46.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4047, allocations: 452.1 kB / 0.5514 GB, free: 45.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.4062, allocations: 1.087 MB / 0.5524 GB, free: 45.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/0.4087, allocations: 2.947 MB / 0.5553 GB, free: 42.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/0.4132, allocations: 4.359 MB / 0.5596 GB, free: 39.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.765e-05/0.4133, allocations: 18.72 kB / 0.5596 GB, free: 39.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005997/0.4193, allocations: 4.114 MB / 0.5636 GB, free: 37.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.4194, allocations: 34.75 kB / 0.5636 GB, free: 37.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.224e-05/0.4194, allocations: 70.16 kB / 0.5637 GB, free: 37.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004281/0.4199, allocations: 197.6 kB / 0.5639 GB, free: 37.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.4217, allocations: 0.7232 MB / 0.5646 GB, free: 37.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.4238, allocations: 2.474 MB / 0.567 GB, free: 35.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.4258, allocations: 173.7 kB / 0.5672 GB, free: 35.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.4261, allocations: 193.2 kB / 0.5674 GB, free: 35.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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 (395): * Single equations (assignments): 390 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001914/0.428, allocations: 1.434 MB / 0.5688 GB, free: 34.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.4282, allocations: 183.1 kB / 0.5689 GB, free: 34.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.4304, allocations: 1.613 MB / 0.5705 GB, free: 32.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.408e-05/0.4305, allocations: 19.98 kB / 0.5705 GB, free: 32.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4305, allocations: 4 kB / 0.5705 GB, free: 32.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4305, allocations: 7.969 kB / 0.5706 GB, free: 32.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/0.4366, allocations: 4.873 MB / 0.5753 GB, free: 27.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4367, allocations: 4 kB / 0.5753 GB, free: 27.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.4372, allocations: 156.1 kB / 0.5755 GB, free: 27.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.4375, allocations: 124.7 kB / 0.5756 GB, free: 27.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.4376, allocations: 23.91 kB / 0.5756 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.4391, allocations: 1.998 MB / 0.5776 GB, free: 25.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4391, allocations: 480 / 0.5776 GB, free: 25.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.442, allocations: 2.555 MB / 0.5801 GB, free: 22.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.4424, allocations: 279.6 kB / 0.5803 GB, free: 22.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.4426, allocations: 16 kB / 0.5803 GB, free: 22.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/0.4433, allocations: 55.41 kB / 0.5804 GB, free: 22.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4434, allocations: 76.95 kB / 0.5805 GB, free: 22.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.4435, allocations: 39.94 kB / 0.5805 GB, free: 22.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001634/0.4451, allocations: 1.457 MB / 0.5819 GB, free: 20.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4451, allocations: 0 / 0.5819 GB, free: 20.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00236/0.4475, allocations: 0.5649 MB / 0.5825 GB, free: 20.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute.phi,revolute.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 (88): * Single equations (assignments): 83 * 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 {(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.0002474/0.4477, allocations: 151.9 kB / 0.5826 GB, free: 20.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.4511, allocations: 2.616 MB / 0.5852 GB, free: 17.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4512, allocations: 0 / 0.5852 GB, free: 17.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008798/0.452, allocations: 0.8174 MB / 0.586 GB, free: 16.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.4542, allocations: 319.8 kB / 0.5863 GB, free: 16.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009002/0.4632, allocations: 6.95 MB / 0.5931 GB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.4652, allocations: 2.358 MB / 0.5954 GB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002507/0.4678, allocations: 1.044 MB / 0.5964 GB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.4681, allocations: 143.4 kB / 0.5965 GB, free: 5.852 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4681, allocations: 3.938 kB / 0.5965 GB, free: 5.848 MB / 362.7 MB Notification: Performance of Templates: time 0.03717/0.5052, allocations: 20.41 MB / 0.6165 GB, free: 1.598 MB / 378.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1)