Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 176.5 kB / 15.43 MB, free: 6.203 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.288/1.288, allocations: 225.7 MB / 241.9 MB, free: 412 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.0008419/0.000842, allocations: 90.56 kB / 293.1 MB, free: 12.93 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.03956/0.03956, allocations: 9.091 MB / 353.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 7.312 kB / 416.4 MB, free: 88.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09341, allocations: 52.4 MB / 468.8 MB, free: 40.35 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01381/0.1073, allocations: 21.15 MB / 489.9 MB, free: 19.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.1176, allocations: 6.663 MB / 496.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003436/0.121, allocations: 87.81 kB / 496.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007443/0.1218, allocations: 298.5 kB / 497 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.1244, allocations: 1.183 MB / 498.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1247, allocations: 111.8 kB / 498.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.1274, allocations: 3.362 MB / 0.4899 GB, free: 7.082 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009103/0.1283, allocations: 0.7559 MB / 0.4906 GB, free: 6.297 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.1294, allocations: 0.7778 MB / 0.4914 GB, free: 5.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.1307, allocations: 1.265 MB / 0.4926 GB, free: 4.246 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.1309, allocations: 124 kB / 0.4927 GB, free: 4.125 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.132, allocations: 0.6668 MB / 0.4934 GB, free: 3.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007053/0.1327, allocations: 1.079 MB / 0.4944 GB, free: 2.375 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009236/0.1336, allocations: 1.446 MB / 0.4958 GB, free: 0.9141 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.1377, allocations: 4.383 MB / 0.5001 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1377, allocations: 4 kB / 0.5001 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1377, allocations: 7.922 kB / 0.5001 GB, free: 12.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.213e-05/0.1378, allocations: 0 / 0.5001 GB, free: 12.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.013/0.1508, allocations: 4.179 MB / 0.5042 GB, free: 8.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.1509, allocations: 12.03 kB / 0.5042 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006394/0.1573, allocations: 1.798 MB / 0.506 GB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.1598, allocations: 1.365 MB / 0.5073 GB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/0.1599, allocations: 143.8 kB / 0.5074 GB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/0.1602, allocations: 196 kB / 0.5076 GB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.172, allocations: 8.13 MB / 0.5156 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.391e-05/0.1721, allocations: 19.78 kB / 0.5156 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.1725, allocations: 91.86 kB / 0.5157 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002729/0.1752, allocations: 1.832 MB / 0.5175 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.1901, allocations: 7.784 MB / 0.5251 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2351/0.4252, allocations: 24.66 MB / 0.5491 GB, free: 50.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/0.4328, allocations: 2.669 MB / 0.5517 GB, free: 48.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.4342, allocations: 0.9848 MB / 0.5527 GB, free: 48.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005726/0.4399, allocations: 4.338 MB / 0.5569 GB, free: 45.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.44, allocations: 52.62 kB / 0.557 GB, free: 45.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=142): time 3.958e-06/0.44, allocations: 0 / 0.557 GB, free: 45.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=167): time 0.01303/0.453, allocations: 7.484 MB / 0.5643 GB, free: 41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.4531, allocations: 71.34 kB / 0.5644 GB, free: 40.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.4563, allocations: 2.482 MB / 0.5668 GB, free: 39.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.4563, allocations: 51.48 kB / 0.5668 GB, free: 39.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008714/0.4572, allocations: 1.986 MB / 0.5688 GB, free: 37.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.4576, allocations: 0.6091 MB / 0.5694 GB, free: 37.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4577, allocations: 74.62 kB / 0.5694 GB, free: 37.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4579, allocations: 483.5 kB / 0.5699 GB, free: 36.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.4596, allocations: 1.317 MB / 0.5712 GB, free: 36.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.4618, allocations: 3.369 MB / 0.5745 GB, free: 31.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/0.4658, allocations: 5.076 MB / 0.5794 GB, free: 25.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-05/0.4658, allocations: 24 kB / 0.5795 GB, free: 25.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.006142/0.472, allocations: 4.989 MB / 0.5843 GB, free: 20.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.4721, allocations: 39.98 kB / 0.5844 GB, free: 20.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/0.4721, allocations: 72 kB / 0.5844 GB, free: 20.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008698/0.473, allocations: 417.4 kB / 0.5848 GB, free: 20.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.4751, allocations: 0.8344 MB / 0.5857 GB, free: 19.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/0.4801, allocations: 5.445 MB / 0.591 GB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/0.483, allocations: 192 kB / 0.5912 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003867/0.4834, allocations: 224 kB / 0.5914 GB, free: 13.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 449 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002044/0.4854, allocations: 1.536 MB / 0.5929 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.4857, allocations: 213.2 kB / 0.5931 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.4889, allocations: 2.35 MB / 0.5954 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.943e-05/0.489, allocations: 27.98 kB / 0.5954 GB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.489, allocations: 8.312 kB / 0.5954 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4891, allocations: 7.969 kB / 0.5954 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008264/0.4973, allocations: 6.102 MB / 0.6014 GB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.4974, allocations: 4 kB / 0.6014 GB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008315/0.4982, allocations: 219.7 kB / 0.6016 GB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006521/0.4989, allocations: 275.2 kB / 0.6018 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.567e-05/0.499, allocations: 32 kB / 0.6019 GB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/0.5031, allocations: 4.34 MB / 0.6061 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5031, allocations: 7.875 kB / 0.6061 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005128/0.5083, allocations: 3.522 MB / 0.6096 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008228/0.5091, allocations: 310.1 kB / 0.6099 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.5094, allocations: 27.94 kB / 0.6099 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007842/0.5102, allocations: 67.88 kB / 0.6099 GB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.5104, allocations: 103.4 kB / 0.61 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5105, allocations: 44 kB / 0.6101 GB, free: 9.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002379/0.5129, allocations: 1.603 MB / 0.6117 GB, free: 8.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5129, allocations: 0 / 0.6117 GB, free: 8.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002951/0.5159, allocations: 0.6872 MB / 0.6123 GB, free: 7.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000357/0.5162, allocations: 171.3 kB / 0.6125 GB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005995/0.5222, allocations: 3.48 MB / 0.6159 GB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5223, allocations: 0 / 0.6159 GB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.5243, allocations: 1.325 MB / 0.6172 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.5269, allocations: 346.8 kB / 0.6175 GB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.5399, allocations: 8.156 MB / 0.6255 GB, free: 9.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/0.5428, allocations: 2.55 MB / 0.628 GB, free: 7.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003005/0.5458, allocations: 1.172 MB / 0.6291 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.5463, allocations: 171.4 kB / 0.6293 GB, free: 5.977 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5463, allocations: 0 / 0.6293 GB, free: 5.977 MB / 394.7 MB Notification: Performance of Templates: time 0.04919/0.5955, allocations: 26.11 MB / 0.6548 GB, free: 12.04 MB / 426.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)