Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 179.2 kB / 15.43 MB, free: 6.215 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.325/1.325, 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.0007801/0.0007802, allocations: 95.59 kB / 293 MB, free: 4.766 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.03994/0.03994, allocations: 9.088 MB / 353.3 MB, free: 3.051 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003153, allocations: 8 kB / 416.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2178, allocations: 52.37 MB / 468.8 MB, free: 68.12 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01466/0.2325, allocations: 21.53 MB / 490.3 MB, free: 46.53 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.2434, allocations: 6.972 MB / 497.3 MB, free: 39.17 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.247, allocations: 83.81 kB / 497.3 MB, free: 39.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008396/0.2479, allocations: 314.5 kB / 497.7 MB, free: 38.78 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002363/0.2503, allocations: 1.316 MB / 499 MB, free: 37.46 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.2507, allocations: 155.8 kB / 499.1 MB, free: 37.31 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002378/0.2531, allocations: 3.514 MB / 0.4909 GB, free: 33.79 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.2539, allocations: 0.8114 MB / 0.4917 GB, free: 32.95 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009422/0.2549, allocations: 0.8167 MB / 0.4924 GB, free: 32.13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.2562, allocations: 1.319 MB / 0.4937 GB, free: 30.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.2565, allocations: 128 kB / 0.4939 GB, free: 30.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.2577, allocations: 0.8073 MB / 0.4946 GB, free: 29.87 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007226/0.2585, allocations: 1.126 MB / 0.4957 GB, free: 28.74 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009915/0.2595, allocations: 1.508 MB / 0.4972 GB, free: 27.22 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.2625, allocations: 4.594 MB / 0.5017 GB, free: 22.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2626, allocations: 0 / 0.5017 GB, free: 22.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2626, allocations: 0 / 0.5017 GB, free: 22.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.595e-05/0.2626, allocations: 0 / 0.5017 GB, free: 22.61 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: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01207/0.2747, allocations: 4.392 MB / 0.506 GB, free: 18.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2748, allocations: 11.97 kB / 0.506 GB, free: 18.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005957/0.2807, allocations: 1.814 MB / 0.5078 GB, free: 16.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.2831, allocations: 1.441 MB / 0.5092 GB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.2832, allocations: 148 kB / 0.5093 GB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/0.2836, allocations: 200 kB / 0.5095 GB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.2947, allocations: 8.473 MB / 0.5178 GB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.204e-05/0.2948, allocations: 23.72 kB / 0.5178 GB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.2951, allocations: 91.86 kB / 0.5179 GB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002307/0.2974, allocations: 1.883 MB / 0.5197 GB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.3109, allocations: 8.117 MB / 0.5277 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03578/0.3467, allocations: 26.09 MB / 0.5531 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1864/0.5331, allocations: 2.939 MB / 0.556 GB, free: 85.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.5348, allocations: 1.072 MB / 0.5571 GB, free: 84.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005412/0.5403, allocations: 5.048 MB / 0.562 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.5403, allocations: 47.75 kB / 0.562 GB, free: 81.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 2.816e-06/0.5403, allocations: 0 / 0.562 GB, free: 81.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.0141/0.5544, allocations: 7.901 MB / 0.5698 GB, free: 78.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.5545, allocations: 71.75 kB / 0.5698 GB, free: 78.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.5572, allocations: 2.605 MB / 0.5724 GB, free: 77.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/0.5573, allocations: 45.3 kB / 0.5724 GB, free: 76.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.5581, allocations: 2.071 MB / 0.5744 GB, free: 75.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.5584, allocations: 0.6411 MB / 0.5751 GB, free: 74.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.5585, allocations: 79.31 kB / 0.5751 GB, free: 74.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5587, allocations: 484.7 kB / 0.5756 GB, free: 74.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.5603, allocations: 1.366 MB / 0.5769 GB, free: 73.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.5625, allocations: 3.538 MB / 0.5804 GB, free: 69.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/0.5665, allocations: 5.312 MB / 0.5856 GB, free: 63.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.684e-05/0.5665, allocations: 20 kB / 0.5856 GB, free: 63.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.006214/0.5727, allocations: 5.122 MB / 0.5906 GB, free: 57.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.5728, allocations: 36 kB / 0.5906 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-05/0.5729, allocations: 76 kB / 0.5907 GB, free: 57.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.5735, allocations: 315.5 kB / 0.591 GB, free: 57.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/0.5759, allocations: 0.9085 MB / 0.5919 GB, free: 56.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/0.5787, allocations: 3.023 MB / 0.5948 GB, free: 53.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.5813, allocations: 197 kB / 0.595 GB, free: 53.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.5816, allocations: 236 kB / 0.5953 GB, free: 53.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 343 * 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 (494): * Single equations (assignments): 488 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00255/0.5841, allocations: 1.585 MB / 0.5968 GB, free: 51.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/0.5846, allocations: 225.1 kB / 0.597 GB, free: 51.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.5878, allocations: 2.363 MB / 0.5993 GB, free: 48.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-05/0.5879, allocations: 31.98 kB / 0.5994 GB, free: 48.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.588, allocations: 0 / 0.5994 GB, free: 48.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.588, allocations: 7.969 kB / 0.5994 GB, free: 48.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008323/0.5963, allocations: 6.244 MB / 0.6055 GB, free: 42.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.5963, allocations: 0 / 0.6055 GB, free: 42.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009197/0.5973, allocations: 259.6 kB / 0.6057 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.5978, allocations: 202.6 kB / 0.6059 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/0.5979, allocations: 39.98 kB / 0.6059 GB, free: 42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.6001, allocations: 2.618 MB / 0.6085 GB, free: 39.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6001, allocations: 0 / 0.6085 GB, free: 39.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/0.6041, allocations: 3.6 MB / 0.612 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/0.6047, allocations: 322 kB / 0.6123 GB, free: 35.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.605, allocations: 32.78 kB / 0.6123 GB, free: 35.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007775/0.6058, allocations: 72.53 kB / 0.6124 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.6059, allocations: 89.97 kB / 0.6125 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.606, allocations: 56.47 kB / 0.6126 GB, free: 35.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001892/0.6079, allocations: 1.676 MB / 0.6142 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6079, allocations: 4 kB / 0.6142 GB, free: 33.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002693/0.6106, allocations: 0.7134 MB / 0.6149 GB, free: 32.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.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 (140): * Single equations (assignments): 134 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003432/0.611, allocations: 176.6 kB / 0.6151 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004359/0.6153, allocations: 3.476 MB / 0.6185 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6154, allocations: 0.6875 kB / 0.6185 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.6167, allocations: 1.239 MB / 0.6197 GB, free: 27.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.6192, allocations: 367.7 kB / 0.62 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009427/0.6286, allocations: 8.54 MB / 0.6284 GB, free: 18.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.6305, allocations: 2.601 MB / 0.6309 GB, free: 16.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002695/0.6332, allocations: 1.24 MB / 0.6321 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.6336, allocations: 183.4 kB / 0.6323 GB, free: 14.66 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6336, allocations: 0 / 0.6323 GB, free: 14.66 MB / 378.7 MB Notification: Performance of Templates: time 0.0401/0.6737, allocations: 26.11 MB / 0.6578 GB, free: 4.723 MB / 394.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)