Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 178.4 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.375/1.375, 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.0007334/0.0007337, allocations: 98.88 kB / 293 MB, free: 4.84 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.04113/0.04113, allocations: 9.095 MB / 353.3 MB, free: 3.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.0003294, allocations: 8 kB / 416.4 MB, free: 3.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 52.38 MB / 468.8 MB, free: 68.12 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01499/0.2443, allocations: 21.34 MB / 490.1 MB, free: 46.72 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2565, allocations: 6.951 MB / 497.1 MB, free: 39.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005102/0.2617, allocations: 87.81 kB / 497.1 MB, free: 39.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.2631, allocations: 302.5 kB / 497.4 MB, free: 39 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.2671, allocations: 1.316 MB / 498.8 MB, free: 37.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.2678, allocations: 151.8 kB / 498.9 MB, free: 37.53 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.2711, allocations: 3.491 MB / 0.4906 GB, free: 34.03 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.2723, allocations: 0.7912 MB / 0.4914 GB, free: 33.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.2736, allocations: 0.805 MB / 0.4922 GB, free: 32.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.2752, allocations: 1.315 MB / 0.4935 GB, free: 31.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005657/0.2758, allocations: 128 kB / 0.4936 GB, free: 30.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.2774, allocations: 0.8072 MB / 0.4944 GB, free: 30.15 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.2786, allocations: 1.122 MB / 0.4955 GB, free: 29.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.2802, allocations: 1.492 MB / 0.4969 GB, free: 27.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004048/0.2843, allocations: 4.578 MB / 0.5014 GB, free: 22.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2843, allocations: 0 / 0.5014 GB, free: 22.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2843, allocations: 4 kB / 0.5014 GB, free: 22.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001202/0.2844, allocations: 0 / 0.5014 GB, free: 22.92 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: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.01239/0.2968, allocations: 4.372 MB / 0.5057 GB, free: 18.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2969, allocations: 8.031 kB / 0.5057 GB, free: 18.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005997/0.3029, allocations: 1.818 MB / 0.5075 GB, free: 16.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.3053, allocations: 1.44 MB / 0.5089 GB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.3054, allocations: 148 kB / 0.509 GB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003822/0.3058, allocations: 196 kB / 0.5092 GB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.3163, allocations: 8.449 MB / 0.5174 GB, free: 6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.159e-05/0.3164, allocations: 31.72 kB / 0.5175 GB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/0.3167, allocations: 91.86 kB / 0.5176 GB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002368/0.3191, allocations: 1.872 MB / 0.5194 GB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.3338, allocations: 8.105 MB / 0.5273 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03826/0.372, allocations: 26.03 MB / 0.5527 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2261/0.5982, allocations: 2.862 MB / 0.5555 GB, free: 84.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.5999, allocations: 1.072 MB / 0.5566 GB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005963/0.6059, allocations: 5.027 MB / 0.5615 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.606, allocations: 47.38 kB / 0.5615 GB, free: 81.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=155): time 3.206e-06/0.606, allocations: 2.406 kB / 0.5615 GB, free: 81.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=173): time 0.01509/0.6211, allocations: 7.924 MB / 0.5693 GB, free: 78.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.6212, allocations: 68.23 kB / 0.5693 GB, free: 78.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/0.6246, allocations: 2.585 MB / 0.5719 GB, free: 77.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.6247, allocations: 46.28 kB / 0.5719 GB, free: 76.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000878/0.6256, allocations: 2.06 MB / 0.5739 GB, free: 75.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.6259, allocations: 0.6404 MB / 0.5745 GB, free: 74.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.6261, allocations: 83.7 kB / 0.5746 GB, free: 74.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6262, allocations: 484.5 kB / 0.5751 GB, free: 74.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.6279, allocations: 1.36 MB / 0.5764 GB, free: 74.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.6302, allocations: 3.522 MB / 0.5798 GB, free: 69.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004288/0.6345, allocations: 5.303 MB / 0.585 GB, free: 63.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-05/0.6345, allocations: 24 kB / 0.585 GB, free: 63.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.006496/0.641, allocations: 5.086 MB / 0.59 GB, free: 58.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.6411, allocations: 36 kB / 0.59 GB, free: 58.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-05/0.6412, allocations: 76 kB / 0.5901 GB, free: 58.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.6418, allocations: 313.5 kB / 0.5904 GB, free: 58.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.6441, allocations: 0.9058 MB / 0.5913 GB, free: 57.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.6469, allocations: 3.016 MB / 0.5942 GB, free: 54.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.6497, allocations: 197.4 kB / 0.5944 GB, free: 53.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/0.6501, allocations: 236 kB / 0.5947 GB, free: 53.68 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 (491): * Single equations (assignments): 485 * 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.002235/0.6523, allocations: 1.579 MB / 0.5962 GB, free: 52.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.6526, allocations: 232.9 kB / 0.5964 GB, free: 51.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/0.6557, allocations: 2.33 MB / 0.5987 GB, free: 49.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-05/0.6558, allocations: 31.98 kB / 0.5987 GB, free: 49.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6558, allocations: 4 kB / 0.5987 GB, free: 49.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6558, allocations: 7.969 kB / 0.5987 GB, free: 49.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007672/0.6635, allocations: 6.194 MB / 0.6048 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.6635, allocations: 0 / 0.6048 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008876/0.6644, allocations: 259.9 kB / 0.605 GB, free: 42.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.6649, allocations: 208.2 kB / 0.6052 GB, free: 42.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.949e-05/0.665, allocations: 33.56 kB / 0.6053 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.6673, allocations: 2.601 MB / 0.6078 GB, free: 39.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6673, allocations: 0 / 0.6078 GB, free: 39.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.6712, allocations: 3.578 MB / 0.6113 GB, free: 36.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.6719, allocations: 318.1 kB / 0.6116 GB, free: 36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.6722, allocations: 29.19 kB / 0.6116 GB, free: 35.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/0.6729, allocations: 71.92 kB / 0.6117 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.6731, allocations: 95.22 kB / 0.6118 GB, free: 35.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.915e-05/0.6732, allocations: 47.98 kB / 0.6118 GB, free: 35.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002098/0.6753, allocations: 1.668 MB / 0.6135 GB, free: 34.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6753, allocations: 0 / 0.6135 GB, free: 34.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002876/0.6782, allocations: 0.7056 MB / 0.6142 GB, free: 33.38 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 (138): * Single equations (assignments): 132 * 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.0003622/0.6786, allocations: 190.2 kB / 0.6143 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004469/0.6831, allocations: 3.448 MB / 0.6177 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6831, allocations: 0 / 0.6177 GB, free: 29.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.6844, allocations: 1.235 MB / 0.6189 GB, free: 28.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.6867, allocations: 370.9 kB / 0.6193 GB, free: 28.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.6968, allocations: 8.509 MB / 0.6276 GB, free: 19.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.6988, allocations: 2.586 MB / 0.6301 GB, free: 16.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002737/0.7016, allocations: 1.232 MB / 0.6313 GB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.702, allocations: 179.4 kB / 0.6315 GB, free: 15.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.702, allocations: 0 / 0.6315 GB, free: 15.5 MB / 378.7 MB Notification: Performance of Templates: time 0.04296/0.745, allocations: 25.97 MB / 0.6568 GB, free: 5.703 MB / 394.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1)