Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002806/0.002806, allocations: 211.2 kB / 22.24 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.07993/0.07993, allocations: 9.239 MB / 321.7 MB, free: 9.859 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.91 kB / 447.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1177, allocations: 55.47 MB / 0.4913 GB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01051/0.1282, allocations: 7.587 MB / 0.4988 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006314/0.1345, allocations: 2.624 MB / 0.5013 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.1355, allocations: 35.88 kB / 0.5013 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009144/0.1365, allocations: 373.5 kB / 0.5017 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.1401, allocations: 1.455 MB / 0.5031 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1406, allocations: 167.6 kB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003041/0.1436, allocations: 2.502 MB / 0.5057 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.1448, allocations: 0.7255 MB / 0.5064 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.1462, allocations: 0.9183 MB / 0.5073 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.1482, allocations: 1.382 MB / 0.5087 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004283/0.1486, allocations: 232 kB / 0.5089 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.1503, allocations: 0.8113 MB / 0.5097 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.1515, allocations: 1.223 MB / 0.5109 GB, free: 2.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.1528, allocations: 1.091 MB / 0.512 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3015/0.4543, allocations: 5.046 MB / 0.5169 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.4543, allocations: 2.531 kB / 0.5169 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.4543, allocations: 0.5312 kB / 0.5169 GB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001704/0.4545, allocations: 1.375 kB / 0.5169 GB, free: 12.3 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01918/0.4737, allocations: 5.074 MB / 0.5218 GB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4737, allocations: 9.312 kB / 0.5219 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/0.4749, allocations: 0.5388 MB / 0.5224 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007558/0.4825, allocations: 1.801 MB / 0.5241 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.4862, allocations: 1.393 MB / 0.5255 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.4863, allocations: 151.5 kB / 0.5256 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006312/0.487, allocations: 189.3 kB / 0.5258 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.5042, allocations: 8.46 MB / 0.5341 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.792e-05/0.5042, allocations: 20.81 kB / 0.5341 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003652/0.5046, allocations: 97.64 kB / 0.5342 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003495/0.5081, allocations: 1.876 MB / 0.536 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.5253, allocations: 8.107 MB / 0.5439 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03817/0.5635, allocations: 24.37 MB / 0.5677 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00983/0.5733, allocations: 2.303 MB / 0.57 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/0.575, allocations: 1.021 MB / 0.571 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006864/0.5819, allocations: 2.874 MB / 0.5738 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.582, allocations: 45.75 kB / 0.5738 GB, free: 8.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=155): time 4.9e-06/0.582, allocations: 4.75 kB / 0.5739 GB, free: 8.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=173): time 0.0195/0.6015, allocations: 8.122 MB / 0.5818 GB, free: 500 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.6015, allocations: 72.72 kB / 0.5819 GB, free: 416 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/0.6059, allocations: 2.752 MB / 0.5845 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.606, allocations: 47.97 kB / 0.5846 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.6078, allocations: 2.144 MB / 0.5867 GB, free: 11.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007363/0.6086, allocations: 0.663 MB / 0.5873 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.6097, allocations: 0.8094 MB / 0.5881 GB, free: 9.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6099, allocations: 305.1 kB / 0.5884 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.6122, allocations: 1.37 MB / 0.5897 GB, free: 8.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00438/0.6166, allocations: 3.531 MB / 0.5932 GB, free: 3.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007291/0.6239, allocations: 5.309 MB / 0.5984 GB, free: 13.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.78e-05/0.6239, allocations: 24 kB / 0.5984 GB, free: 13.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01041/0.6344, allocations: 5.12 MB / 0.6034 GB, free: 8.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.6344, allocations: 36 kB / 0.6034 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.732e-05/0.6345, allocations: 76 kB / 0.6035 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/0.6354, allocations: 313.5 kB / 0.6038 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/0.6383, allocations: 0.905 MB / 0.6047 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/0.6427, allocations: 3.151 MB / 0.6078 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/0.6459, allocations: 195.9 kB / 0.608 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004294/0.6464, allocations: 236.8 kB / 0.6082 GB, free: 3.793 MB / 446.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 (490): * Single equations (assignments): 484 * 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.003363/0.6497, allocations: 1.577 MB / 0.6097 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005557/0.6503, allocations: 246.4 kB / 0.61 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/0.6547, allocations: 2.337 MB / 0.6122 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/0.6548, allocations: 31.98 kB / 0.6123 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.6548, allocations: 1.125 kB / 0.6123 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.6548, allocations: 12.53 kB / 0.6123 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.6665, allocations: 5.853 MB / 0.618 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.6665, allocations: 4.344 kB / 0.618 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6676, allocations: 255.6 kB / 0.6182 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006684/0.6682, allocations: 217.5 kB / 0.6185 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-05/0.6683, allocations: 32 kB / 0.6185 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.6719, allocations: 2.739 MB / 0.6212 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6719, allocations: 4 kB / 0.6212 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006082/0.678, allocations: 3.604 MB / 0.6247 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009075/0.6789, allocations: 234.5 kB / 0.6249 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.6792, allocations: 31.98 kB / 0.6249 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.6801, allocations: 73.98 kB / 0.625 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.6803, allocations: 101.1 kB / 0.6251 GB, free: 2.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.6805, allocations: 52.73 kB / 0.6252 GB, free: 2.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002806/0.6833, allocations: 1.695 MB / 0.6268 GB, free: 456 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6833, allocations: 0 / 0.6268 GB, free: 456 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.003078/0.6863, allocations: 0.6916 MB / 0.6275 GB, free: 15.75 MB / 478.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 (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.006544/0.6929, allocations: 4.264 MB / 0.6316 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006165/0.699, allocations: 3.268 MB / 0.6348 GB, free: 8.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.6991, allocations: 0 / 0.6348 GB, free: 8.164 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/0.7008, allocations: 1.096 MB / 0.6359 GB, free: 7.055 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.7031, allocations: 384.1 kB / 0.6363 GB, free: 6.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05221/0.7553, allocations: 29.14 MB / 0.6647 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003324/0.7586, allocations: 2.032 MB / 0.6667 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003387/0.762, allocations: 1.229 MB / 0.6679 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/0.7643, allocations: 1.323 MB / 0.6692 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of SimCode: time 1.634e-06/0.7643, allocations: 4 kB / 0.6692 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/0.8929, allocations: 50.47 MB / 0.7185 GB, free: 124 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.47, allocations: 14.12 kB / 0.7185 GB, free: 116 kB / 0.545 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel_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_TestDryFrictionWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.661081471014768] Failed to read output from testmodel.py, exit status != 0: 15.845700982958078 15.858767882 15.40162533 Calling exit ...