Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008263/0.0008263, allocations: 178.7 kB / 15.43 MB, free: 5.77 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.29/1.29, allocations: 225.7 MB / 241.9 MB, free: 14.65 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.0008295/0.0008295, allocations: 96.27 kB / 293 MB, free: 4.805 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.04007/0.04007, allocations: 9.092 MB / 353.3 MB, free: 3.059 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8 kB / 416.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2308, allocations: 52.37 MB / 468.8 MB, free: 68.14 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.02737/0.2583, allocations: 42.72 MB / 0.4995 GB, free: 25.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.2792, allocations: 11.48 MB / 0.5107 GB, free: 13.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009745/0.289, allocations: 175.7 kB / 0.5109 GB, free: 13.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.2914, allocations: 0.5404 MB / 0.5114 GB, free: 12.67 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.2971, allocations: 2.012 MB / 0.5134 GB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007252/0.2979, allocations: 131.9 kB / 0.5135 GB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006131/0.304, allocations: 6.166 MB / 0.5195 GB, free: 4.336 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.3065, allocations: 2.02 MB / 0.5215 GB, free: 2.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.3085, allocations: 1.4 MB / 0.5229 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.3109, allocations: 2.3 MB / 0.5251 GB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005194/0.3115, allocations: 220 kB / 0.5253 GB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.3131, allocations: 0.78 MB / 0.5261 GB, free: 13.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.315, allocations: 1.978 MB / 0.528 GB, free: 11.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.3177, allocations: 2.618 MB / 0.5306 GB, free: 8.941 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007467/0.3252, allocations: 7.91 MB / 0.5383 GB, free: 1.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3252, allocations: 0 / 0.5383 GB, free: 1.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3252, allocations: 0 / 0.5383 GB, free: 1.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001875/0.3254, allocations: 0 / 0.5383 GB, free: 1.004 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2108 * Number of variables: 2108 Notification: Performance of Generate backend data structure: time 0.01133/0.3367, allocations: 5.338 MB / 0.5435 GB, free: 11.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3368, allocations: 12.03 kB / 0.5435 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.3487, allocations: 3.464 MB / 0.5469 GB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.3536, allocations: 2.219 MB / 0.5491 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.3539, allocations: 254 kB / 0.5493 GB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.355, allocations: 315.8 kB / 0.5496 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2148/0.5698, allocations: 14.56 MB / 0.5638 GB, free: 80.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.57, allocations: 42.81 kB / 0.5639 GB, free: 80.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005729/0.5706, allocations: 163.4 kB / 0.564 GB, free: 80.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004997/0.5756, allocations: 3.474 MB / 0.5674 GB, free: 79.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0205/0.5961, allocations: 13.05 MB / 0.5802 GB, free: 68.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05385/0.65, allocations: 49.93 MB / 0.6289 GB, free: 17.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006514/0.6565, allocations: 4.131 MB / 0.6329 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.6584, allocations: 1.465 MB / 0.6344 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007171/0.6656, allocations: 6.685 MB / 0.6409 GB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.6656, allocations: 59.81 kB / 0.641 GB, free: 4.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 4.228e-06/0.6656, allocations: 0 / 0.641 GB, free: 4.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=228): time 0.01548/0.6811, allocations: 9.457 MB / 0.6502 GB, free: 10.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/0.6813, allocations: 149.8 kB / 0.6503 GB, free: 10.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/0.6883, allocations: 5.028 MB / 0.6553 GB, free: 5.512 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003817/0.6887, allocations: 49.7 kB / 0.6553 GB, free: 5.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003336/0.6921, allocations: 4.049 MB / 0.6593 GB, free: 1.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.6933, allocations: 0.8833 MB / 0.6601 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004441/0.6938, allocations: 156 kB / 0.6603 GB, free: 392 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004975/0.6943, allocations: 0.6407 MB / 0.6609 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004223/0.6985, allocations: 2.471 MB / 0.6633 GB, free: 13.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007532/0.7061, allocations: 7.356 MB / 0.6705 GB, free: 3.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/0.7191, allocations: 10.66 MB / 0.6809 GB, free: 6.383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001685/0.7193, allocations: 55.94 kB / 0.6809 GB, free: 6.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.02119/0.7405, allocations: 9.608 MB / 0.6903 GB, free: 12.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.7407, allocations: 80 kB / 0.6904 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/0.7409, allocations: 176.1 kB / 0.6906 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006961/0.7416, allocations: 358.7 kB / 0.6909 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00614/0.7477, allocations: 1.801 MB / 0.6927 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.7512, allocations: 2.823 MB / 0.6954 GB, free: 7.355 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006856/0.7581, allocations: 408.8 kB / 0.6958 GB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/0.7597, allocations: 495.6 kB / 0.6963 GB, free: 6.477 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 29 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],cutForce.world.gravityArrowColor[3],cutForce.world.gravityArrowColor[2],cutForce.world.gravityArrowColor[1],cutForce.world.axisColor_x[3],cutForce.world.axisColor_x[2],cutForce.world.axisColor_x[1],cutForce.world.groundColor[3],cutForce.world.groundColor[2],cutForce.world.groundColor[1],cutForce.world.gravitySphereColor[3],cutForce.world.gravitySphereColor[2],cutForce.world.gravitySphereColor[1],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 (969): * Single equations (assignments): 961 * Array equations: 7 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005467/0.7652, allocations: 2.951 MB / 0.6992 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/0.766, allocations: 414.5 kB / 0.6996 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.7704, allocations: 2.546 MB / 0.7021 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/0.7705, allocations: 43.92 kB / 0.7021 GB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.7705, allocations: 4 kB / 0.7021 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.7706, allocations: 7.969 kB / 0.7021 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.7856, allocations: 8.533 MB / 0.7104 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.7856, allocations: 4 kB / 0.7104 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.787, allocations: 335.5 kB / 0.7108 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.7874, allocations: 136.7 kB / 0.7109 GB, free: 7.344 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.7875, allocations: 44.14 kB / 0.7109 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.7898, allocations: 2.291 MB / 0.7132 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.7898, allocations: 4 kB / 0.7132 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007126/0.797, allocations: 5.104 MB / 0.7182 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.7982, allocations: 499.5 kB / 0.7186 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/0.7986, allocations: 35.94 kB / 0.7187 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.8, allocations: 107.8 kB / 0.7188 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.8003, allocations: 129.2 kB / 0.7189 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.8004, allocations: 75.92 kB / 0.719 GB, free: 14.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004413/0.8048, allocations: 3.167 MB / 0.7221 GB, free: 11.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8048, allocations: 0 / 0.7221 GB, free: 11.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005631/0.8105, allocations: 1.163 MB / 0.7232 GB, free: 10.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (171): * Single equations (assignments): 163 * Array equations: 7 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004489/0.8109, allocations: 180.1 kB / 0.7234 GB, free: 10.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01046/0.8214, allocations: 5.775 MB / 0.729 GB, free: 4.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.8215, allocations: 0 / 0.729 GB, free: 4.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.8238, allocations: 1.53 MB / 0.7305 GB, free: 3.047 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004984/0.8287, allocations: 0.5498 MB / 0.731 GB, free: 2.496 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2054/1.034, allocations: 14.19 MB / 0.7449 GB, free: 156.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004581/1.039, allocations: 4.133 MB / 0.7489 GB, free: 155.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005388/1.044, allocations: 2.477 MB / 0.7514 GB, free: 155.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006899/1.045, allocations: 306.4 kB / 0.7517 GB, free: 155.7 MB / 474.7 MB Notification: Performance of SimCode: time 7.52e-07/1.045, allocations: 0 / 0.7517 GB, free: 155.7 MB / 474.7 MB Notification: Performance of Templates: time 0.06499/1.11, allocations: 38.57 MB / 0.7893 GB, free: 123.1 MB / 474.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.sim & ./PlanarMechanics_PlanarMechanics.Examples.PendulumExcited -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1)