Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.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.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") translateModel(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.311/1.311, allocations: 225.7 MB / 241.9 MB, free: 384 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.0007235/0.0007236, allocations: 96 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.04131/0.04131, allocations: 9.084 MB / 353.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003356, allocations: 7.375 kB / 416.4 MB, free: 88.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.093, allocations: 52.4 MB / 468.8 MB, free: 40.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.04444/0.1375, allocations: 60.21 MB / 0.5166 GB, free: 11.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2555/0.393, allocations: 17.49 MB / 0.5337 GB, free: 6.648 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01408/0.4072, allocations: 264.5 kB / 0.5339 GB, free: 6.648 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.4095, allocations: 0.6875 MB / 0.5346 GB, free: 6.645 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006803/0.4164, allocations: 2.809 MB / 0.5373 GB, free: 6.531 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.418, allocations: 0.6567 MB / 0.538 GB, free: 6.516 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01107/0.4291, allocations: 8.775 MB / 0.5465 GB, free: 6.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006669/0.4359, allocations: 4.338 MB / 0.5508 GB, free: 5.332 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004632/0.4405, allocations: 1.916 MB / 0.5526 GB, free: 5.008 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00562/0.4462, allocations: 2.846 MB / 0.5554 GB, free: 4.016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001776/0.448, allocations: 271.7 kB / 0.5557 GB, free: 4.016 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003647/0.4517, allocations: 1.105 MB / 0.5568 GB, free: 3.766 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003157/0.4548, allocations: 2.444 MB / 0.5591 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007138/0.462, allocations: 3.302 MB / 0.5624 GB, free: 1.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.478, allocations: 10.39 MB / 0.5725 GB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4781, allocations: 0 / 0.5725 GB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4781, allocations: 1.844 kB / 0.5725 GB, free: 11.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005673/0.4787, allocations: 0 / 0.5725 GB, free: 11.69 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: 2454 * Number of variables: 2454 Notification: Performance of Generate backend data structure: time 0.03253/0.5112, allocations: 9.375 MB / 0.5817 GB, free: 5.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.5113, allocations: 12.03 kB / 0.5817 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01328/0.5246, allocations: 3.632 MB / 0.5852 GB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00813/0.5327, allocations: 3.394 MB / 0.5886 GB, free: 172 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.533, allocations: 333.8 kB / 0.5889 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.5341, allocations: 445.2 kB / 0.5893 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03018/0.5643, allocations: 17.59 MB / 0.6065 GB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002185/0.5645, allocations: 77.56 kB / 0.6065 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008241/0.5653, allocations: 220.1 kB / 0.6068 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005782/0.5711, allocations: 3.71 MB / 0.6104 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0329/0.6041, allocations: 15.34 MB / 0.6254 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09758/0.7017, allocations: 72 MB / 0.6957 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02205/0.7238, allocations: 7.296 MB / 0.7028 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2183/0.9421, allocations: 3.311 MB / 0.706 GB, free: 173.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02773/0.9699, allocations: 14.5 MB / 0.7202 GB, free: 170.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.9699, allocations: 71.69 kB / 0.7203 GB, free: 170.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=373): time 6.603e-06/0.97, allocations: 0 / 0.7203 GB, free: 170.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=420): time 0.06346/1.033, allocations: 25.39 MB / 0.7451 GB, free: 159.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/1.034, allocations: 195.2 kB / 0.7452 GB, free: 159.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008716/1.042, allocations: 6.527 MB / 0.7516 GB, free: 156 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006174/1.043, allocations: 81.7 kB / 0.7517 GB, free: 155.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/1.045, allocations: 4.771 MB / 0.7563 GB, free: 151.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.046, allocations: 1.549 MB / 0.7579 GB, free: 150.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/1.047, allocations: 211.6 kB / 0.7581 GB, free: 150 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004229/1.047, allocations: 0.7645 MB / 0.7588 GB, free: 149.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004536/1.052, allocations: 3.569 MB / 0.7623 GB, free: 145.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007321/1.059, allocations: 9.582 MB / 0.7717 GB, free: 133.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01423/1.073, allocations: 14.4 MB / 0.7857 GB, free: 115.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001698/1.073, allocations: 60 kB / 0.7858 GB, free: 115.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1398) (initialization): time 0.02172/1.095, allocations: 13.29 MB / 0.7987 GB, free: 102.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/1.095, allocations: 96 kB / 0.7988 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002559/1.096, allocations: 208.9 kB / 0.799 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.097, allocations: 0.6068 MB / 0.7996 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007907/1.105, allocations: 2.454 MB / 0.802 GB, free: 99.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004915/1.11, allocations: 4.745 MB / 0.8067 GB, free: 94.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00797/1.118, allocations: 491.5 kB / 0.8071 GB, free: 93.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/1.119, allocations: 0.6286 MB / 0.8077 GB, free: 93.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 958 * Number of states: 0 () * Number of discrete variables: 42 (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],fixed.color[3],fixed.color[2],fixed.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],planetary.body3D.sphereColor[3],planetary.body3D.sphereColor[2],planetary.body3D.sphereColor[1],planetary.carrierPart.color[3],planetary.carrierPart.color[2],planetary.carrierPart.color[1],planetary.carrierAngle.color[3],planetary.carrierAngle.color[2],planetary.carrierAngle.color[1],planetary.bearing_Carrier.cylinderColor[3],planetary.bearing_Carrier.cylinderColor[2],planetary.bearing_Carrier.cylinderColor[1],planetary.bearing_Planet.cylinderColor[3],planetary.bearing_Planet.cylinderColor[2],planetary.bearing_Planet.cylinderColor[1],planetary.bearing_Ring.cylinderColor[3],planetary.bearing_Ring.cylinderColor[2],planetary.bearing_Ring.cylinderColor[1],planetary.bearing_Sun.cylinderColor[3],planetary.bearing_Sun.cylinderColor[2],planetary.bearing_Sun.cylinderColor[1],planetary.planet.sphereColor[3],planetary.planet.sphereColor[2],planetary.planet.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1307): * Single equations (assignments): 1298 * Array equations: 8 * 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 {(6,28,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006084/1.125, allocations: 3.523 MB / 0.8112 GB, free: 89.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.127, allocations: 0.5784 MB / 0.8117 GB, free: 89.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008351/1.135, allocations: 5.211 MB / 0.8168 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.56e-05/1.135, allocations: 72.73 kB / 0.8169 GB, free: 83.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.135, allocations: 8 kB / 0.8169 GB, free: 83.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.653e-05/1.135, allocations: 15.94 kB / 0.8169 GB, free: 83.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02995/1.165, allocations: 20.04 MB / 0.8365 GB, free: 63.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/1.165, allocations: 28.25 kB / 0.8365 GB, free: 63.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/1.168, allocations: 0.6786 MB / 0.8372 GB, free: 62.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007558/1.169, allocations: 342.6 kB / 0.8375 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002785/1.169, allocations: 115.8 kB / 0.8376 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004624/1.174, allocations: 6.17 MB / 0.8436 GB, free: 55.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/1.174, allocations: 31.88 kB / 0.8437 GB, free: 55.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.184, allocations: 9.726 MB / 0.8532 GB, free: 45.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/1.187, allocations: 1.145 MB / 0.8543 GB, free: 44.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007893/1.188, allocations: 97.78 kB / 0.8544 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/1.19, allocations: 163.8 kB / 0.8545 GB, free: 43.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005078/1.191, allocations: 313.5 kB / 0.8548 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/1.191, allocations: 141.5 kB / 0.855 GB, free: 43.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00687/1.198, allocations: 4.304 MB / 0.8592 GB, free: 39.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.198, allocations: 0 / 0.8592 GB, free: 39.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008806/1.207, allocations: 1.626 MB / 0.8608 GB, free: 37.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 104 * Number of states: 6 (heatCapacitor.T,planetary.planet.phi,planetary.bearing_Carrier.phi,planetary.bearing_Carrier.w,sunSpeed.phi,ringTorque.phi) * 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 (365): * Single equations (assignments): 356 * Array equations: 6 * 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): 3 systems {(5,22,52.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007283/1.207, allocations: 274.2 kB / 0.861 GB, free: 37.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01273/1.22, allocations: 8.648 MB / 0.8695 GB, free: 28.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.361e-05/1.22, allocations: 4 kB / 0.8695 GB, free: 28.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00412/1.224, allocations: 3.078 MB / 0.8725 GB, free: 25.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02259/1.247, allocations: 0.8308 MB / 0.8733 GB, free: 24.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.206/1.453, allocations: 19.26 MB / 0.8921 GB, free: 151.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008894/1.462, allocations: 4.928 MB / 0.8969 GB, free: 150.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009364/1.471, allocations: 3.226 MB / 0.9001 GB, free: 150.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/1.473, allocations: 473.4 kB / 0.9005 GB, free: 150.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/1.473, allocations: 0 / 0.9005 GB, free: 150.4 MB / 490.7 MB Notification: Performance of Templates: time 0.1348/1.608, allocations: 63.72 MB / 0.9627 GB, free: 101.1 MB / 490.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.makefile (rm -f PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe ; mkfifo PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe >> ../files/PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.sim & ./PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.pipe 2>&1)