Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009246/0.0009247, 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.265/1.265, allocations: 225.7 MB / 241.9 MB, free: 388 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.0007557/0.0007557, allocations: 92.25 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.04035/0.04035, allocations: 9.091 MB / 353.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 7.719 kB / 416.4 MB, free: 88.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08541/0.08574, allocations: 52.4 MB / 468.8 MB, free: 40.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.02081/0.1066, allocations: 32.66 MB / 0.4897 GB, free: 7.582 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.1217, allocations: 8.98 MB / 0.4984 GB, free: 14.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006379/0.1282, allocations: 131.8 kB / 0.4986 GB, free: 14.12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.1293, allocations: 350.2 kB / 0.4989 GB, free: 13.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003517/0.1328, allocations: 1.471 MB / 0.5003 GB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.1333, allocations: 143.8 kB / 0.5005 GB, free: 12.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004572/0.1378, allocations: 4.012 MB / 0.5044 GB, free: 8.133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.1392, allocations: 0.9099 MB / 0.5053 GB, free: 7.191 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.141, allocations: 0.945 MB / 0.5062 GB, free: 6.242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.1429, allocations: 1.502 MB / 0.5077 GB, free: 4.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003976/0.1434, allocations: 144 kB / 0.5078 GB, free: 4.594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.1447, allocations: 0.7722 MB / 0.5086 GB, free: 3.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.1459, allocations: 1.32 MB / 0.5099 GB, free: 2.496 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.1474, allocations: 1.721 MB / 0.5115 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004867/0.1523, allocations: 5.092 MB / 0.5165 GB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1523, allocations: 0 / 0.5165 GB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1523, allocations: 0 / 0.5165 GB, free: 11.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.1525, allocations: 4 kB / 0.5165 GB, free: 11.64 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: 1360 * Number of variables: 1360 Notification: Performance of Generate backend data structure: time 0.02212/0.1746, allocations: 6.043 MB / 0.5224 GB, free: 5.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.1747, allocations: 12.02 kB / 0.5224 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007038/0.1817, allocations: 1.86 MB / 0.5242 GB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.1851, allocations: 1.643 MB / 0.5258 GB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.1852, allocations: 172.7 kB / 0.526 GB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/0.1858, allocations: 232.1 kB / 0.5262 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1953/0.3811, allocations: 10.23 MB / 0.5362 GB, free: 62.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-05/0.3812, allocations: 33.59 kB / 0.5363 GB, free: 62.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.3816, allocations: 112.5 kB / 0.5364 GB, free: 62.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003679/0.3853, allocations: 2.144 MB / 0.5385 GB, free: 62.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/0.4074, allocations: 10.14 MB / 0.5484 GB, free: 59.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03676/0.4442, allocations: 32.94 MB / 0.5805 GB, free: 28.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/0.458, allocations: 4.172 MB / 0.5846 GB, free: 23.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.46, allocations: 1.557 MB / 0.5861 GB, free: 22.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007528/0.4676, allocations: 8.44 MB / 0.5944 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.4676, allocations: 52.56 kB / 0.5944 GB, free: 12.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 3.988e-06/0.4676, allocations: 0 / 0.5944 GB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=257): time 0.02217/0.4898, allocations: 12.16 MB / 0.6063 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003777/0.4936, allocations: 3.333 MB / 0.6095 GB, free: 13.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.498, allocations: 2.97 MB / 0.6124 GB, free: 10.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003429/0.4983, allocations: 62.33 kB / 0.6125 GB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.5, allocations: 2.379 MB / 0.6148 GB, free: 7.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.501, allocations: 0.9375 MB / 0.6157 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.5013, allocations: 104.9 kB / 0.6158 GB, free: 6.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003006/0.5016, allocations: 0.5254 MB / 0.6164 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/0.5044, allocations: 1.791 MB / 0.6181 GB, free: 4.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004259/0.5086, allocations: 4.506 MB / 0.6225 GB, free: 14.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008642/0.5173, allocations: 6.89 MB / 0.6292 GB, free: 6.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.504e-05/0.5174, allocations: 31.94 kB / 0.6293 GB, free: 6.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01211/0.5296, allocations: 6.734 MB / 0.6358 GB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/0.5297, allocations: 48 kB / 0.6359 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.5298, allocations: 92 kB / 0.636 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.5311, allocations: 0.521 MB / 0.6365 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004008/0.5351, allocations: 1.177 MB / 0.6376 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/0.543, allocations: 6.365 MB / 0.6438 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/0.5469, allocations: 259.9 kB / 0.6441 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006745/0.5476, allocations: 309.4 kB / 0.6444 GB, free: 6.555 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 15 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],chassis.color[3],chassis.color[2],chassis.color[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (638): * Single equations (assignments): 632 * 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 {(6,24,55.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002879/0.5505, allocations: 1.825 MB / 0.6462 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.5509, allocations: 288.3 kB / 0.6464 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/0.5565, allocations: 3.575 MB / 0.6499 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001098/0.5567, allocations: 39.98 kB / 0.65 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5567, allocations: 4 kB / 0.65 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/0.5567, allocations: 11.95 kB / 0.65 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.5748, allocations: 10.42 MB / 0.6602 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.5749, allocations: 4 kB / 0.6602 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.5764, allocations: 356.2 kB / 0.6605 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.5778, allocations: 0.5387 MB / 0.661 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.578, allocations: 51.92 kB / 0.6611 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008363/0.5864, allocations: 6.947 MB / 0.6679 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003558/0.59, allocations: 3.098 MB / 0.6709 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/0.5997, allocations: 5.439 MB / 0.6762 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.6008, allocations: 365.4 kB / 0.6766 GB, free: 4.852 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007183/0.6015, allocations: 48 kB / 0.6766 GB, free: 4.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.6031, allocations: 107.9 kB / 0.6767 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004335/0.6035, allocations: 169.6 kB / 0.6769 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.6037, allocations: 72.08 kB / 0.6769 GB, free: 4.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003733/0.6075, allocations: 1.888 MB / 0.6788 GB, free: 2.566 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.963e-06/0.6075, allocations: 0 / 0.6788 GB, free: 2.566 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004145/0.6116, allocations: 0.9473 MB / 0.6797 GB, free: 1.625 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 ($STATESET1.x,idealWheelFront.phi_roll,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,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 (190): * Single equations (assignments): 184 * 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 {(6,24,55.6%), (3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004274/0.6121, allocations: 198.7 kB / 0.6799 GB, free: 1.426 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00788/0.62, allocations: 4.77 MB / 0.6846 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.62, allocations: 4 kB / 0.6846 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002956/0.623, allocations: 2.001 MB / 0.6865 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/0.6272, allocations: 431.9 kB / 0.6869 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2018/0.829, allocations: 10.6 MB / 0.6973 GB, free: 141.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/0.8328, allocations: 2.947 MB / 0.7002 GB, free: 140.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004065/0.8369, allocations: 1.549 MB / 0.7017 GB, free: 140.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/0.8376, allocations: 229.5 kB / 0.7019 GB, free: 140.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8376, allocations: 3.281 kB / 0.7019 GB, free: 140.8 MB / 458.7 MB Notification: Performance of Templates: time 0.06177/0.8993, allocations: 35.49 MB / 0.7365 GB, free: 125.4 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1)