Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002762/0.002761, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1845/0.1845, allocations: 9.106 MB / 299.5 MB, free: 1.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 362.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1441, allocations: 51.42 MB / 413.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01299/0.1571, allocations: 8.789 MB / 422.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2991/0.4563, allocations: 2.733 MB / 425 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.4576, allocations: 32.62 kB / 425 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009341/0.4586, allocations: 371.3 kB / 425.4 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.4625, allocations: 1.411 MB / 426.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007796/0.4633, allocations: 175.8 kB / 427 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004352/0.4677, allocations: 2.541 MB / 429.5 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.4691, allocations: 0.8807 MB / 430.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.4705, allocations: 0.9037 MB / 431.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.472, allocations: 1.336 MB / 432.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004899/0.4725, allocations: 232.9 kB / 432.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.4745, allocations: 0.8851 MB / 433.8 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009508/0.4755, allocations: 1.225 MB / 435 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.4768, allocations: 1.569 MB / 436.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005308/0.4821, allocations: 4.842 MB / 441.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4821, allocations: 3.25 kB / 441.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4821, allocations: 0 / 441.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.024e-05/0.4822, allocations: 0 / 441.4 MB, free: 31.56 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.01723/0.4994, allocations: 5.044 MB / 446.4 MB, free: 29.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.4995, allocations: 9.719 kB / 446.4 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001149/0.5007, allocations: 0.5412 MB / 447 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.5123, allocations: 1.776 MB / 448.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.5172, allocations: 1.442 MB / 450.2 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.5175, allocations: 154.2 kB / 450.4 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.5187, allocations: 204.4 kB / 450.6 MB, free: 28.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.5377, allocations: 8.465 MB / 459 MB, free: 24.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.675e-05/0.5378, allocations: 26.25 kB / 459 MB, free: 24.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/0.5381, allocations: 94.92 kB / 459.1 MB, free: 24.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003696/0.5418, allocations: 1.881 MB / 461 MB, free: 24.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.5621, allocations: 8.147 MB / 469.2 MB, free: 21.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04343/0.6056, allocations: 25.98 MB / 495.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.6159, allocations: 2.855 MB / 498 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.6178, allocations: 1.08 MB / 499.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00732/0.6251, allocations: 5.046 MB / 0.4923 GB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.6252, allocations: 43.88 kB / 0.4924 GB, free: 7.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 3.697e-06/0.6252, allocations: 0 / 0.4924 GB, free: 7.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=175): time 0.01958/0.6448, allocations: 8.436 MB / 0.5006 GB, free: 14.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.6449, allocations: 64.72 kB / 0.5007 GB, free: 14.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.649, allocations: 2.634 MB / 0.5032 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.6493, allocations: 49.7 kB / 0.5033 GB, free: 11.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.6509, allocations: 2.075 MB / 0.5053 GB, free: 9.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007577/0.6517, allocations: 0.6362 MB / 0.5059 GB, free: 8.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/0.6528, allocations: 0.809 MB / 0.5067 GB, free: 8.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6529, allocations: 309.1 kB / 0.507 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.6553, allocations: 1.37 MB / 0.5083 GB, free: 6.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004029/0.6594, allocations: 3.548 MB / 0.5118 GB, free: 1.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007505/0.6669, allocations: 5.329 MB / 0.517 GB, free: 11.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.252e-05/0.667, allocations: 20 kB / 0.517 GB, free: 11.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01082/0.6779, allocations: 5.124 MB / 0.522 GB, free: 6.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.678, allocations: 40 kB / 0.5221 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.983e-05/0.6781, allocations: 76 kB / 0.5221 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.6789, allocations: 327.8 kB / 0.5225 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/0.682, allocations: 0.9007 MB / 0.5233 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.6863, allocations: 3.286 MB / 0.5265 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.6894, allocations: 199.9 kB / 0.5267 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/0.6898, allocations: 240 kB / 0.527 GB, free: 1.141 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 (493): * Single equations (assignments): 487 * 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.002505/0.6923, allocations: 1.576 MB / 0.5285 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/0.6928, allocations: 231.9 kB / 0.5287 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.6968, allocations: 2.374 MB / 0.531 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/0.6969, allocations: 31.11 kB / 0.5311 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6969, allocations: 4 kB / 0.5311 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.697, allocations: 11.97 kB / 0.5311 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.7083, allocations: 6.296 MB / 0.5372 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.7083, allocations: 4.344 kB / 0.5372 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.7095, allocations: 263.7 kB / 0.5375 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006626/0.7101, allocations: 217.5 kB / 0.5377 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.7103, allocations: 39.92 kB / 0.5377 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.7136, allocations: 2.86 MB / 0.5405 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.7136, allocations: 7.938 kB / 0.5405 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006193/0.7198, allocations: 3.604 MB / 0.5441 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009018/0.7207, allocations: 306.2 kB / 0.5444 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/0.7211, allocations: 34.03 kB / 0.5444 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009559/0.7221, allocations: 71.86 kB / 0.5445 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.7224, allocations: 105.1 kB / 0.5446 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.7225, allocations: 48.27 kB / 0.5446 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00287/0.7253, allocations: 1.708 MB / 0.5463 GB, free: 13.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7254, allocations: 0 / 0.5463 GB, free: 13.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004022/0.7294, allocations: 0.7132 MB / 0.547 GB, free: 12.3 MB / 430.1 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.00652/0.7359, allocations: 4.283 MB / 0.5511 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01311/0.7491, allocations: 5.28 MB / 0.5563 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.7491, allocations: 0 / 0.5563 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003142/0.7523, allocations: 1.258 MB / 0.5575 GB, free: 1.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/0.7558, allocations: 388.9 kB / 0.5579 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3213/1.077, allocations: 31.51 MB / 0.5887 GB, free: 137.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/1.081, allocations: 2.599 MB / 0.5912 GB, free: 137 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003105/1.084, allocations: 1.228 MB / 0.5924 GB, free: 137 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/1.085, allocations: 1.344 MB / 0.5937 GB, free: 137 MB / 462.1 MB Notification: Performance of SimCode: time 1.623e-06/1.085, allocations: 0 / 0.5937 GB, free: 137 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/1.191, allocations: 50.72 MB / 0.6433 GB, free: 120 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.93, allocations: 0.75 kB / 0.6433 GB, free: 120 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)