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.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.000865/0.000865, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001044/0.001044, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9105/0.9105, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02778/0.02778, allocations: 7.118 MB / 266.3 MB, free: 6.316 MB / 250.7 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 392.4 MB, free: 5.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.221e-05, allocations: 5.234 kB / 392.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.006504/0.006526, allocations: 7.785 MB / 400.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004784/0.01131, allocations: 2.638 MB / 402.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.01232, allocations: 39.88 kB / 402.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.01307, allocations: 381.3 kB / 403.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.01554, allocations: 1.501 MB / 404.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.01592, allocations: 179.5 kB / 404.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.01797, allocations: 2.589 MB / 407.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008096/0.01877, allocations: 0.7375 MB / 408.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.02039, allocations: 1.387 MB / 409.6 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.02154, allocations: 1.34 MB / 411 MB, free: 2.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.0218, allocations: 232 kB / 411.2 MB, free: 2.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.02302, allocations: 0.8737 MB / 412.1 MB, free: 1.398 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007411/0.02376, allocations: 1.262 MB / 413.3 MB, free: 136 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007107/0.02447, allocations: 0.8332 MB / 414.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004259/0.02873, allocations: 5.066 MB / 419.2 MB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02873, allocations: 0 / 419.2 MB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.02873, allocations: 3.938 kB / 419.2 MB, free: 10.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001041/0.02884, allocations: 0 / 419.2 MB, free: 10.21 MB / 394.7 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.01068/0.03952, allocations: 5.102 MB / 424.3 MB, free: 5.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.03957, allocations: 8.625 kB / 424.3 MB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006223/0.04019, allocations: 0.5351 MB / 424.9 MB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.04381, allocations: 1.89 MB / 426.8 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.04598, allocations: 1.376 MB / 428.1 MB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/0.04607, allocations: 152 kB / 428.3 MB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.04639, allocations: 196.2 kB / 428.5 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009552/0.05594, allocations: 8.461 MB / 436.9 MB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.604e-05/0.05599, allocations: 31.75 kB / 437 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.0562, allocations: 91.86 kB / 437.1 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001842/0.05804, allocations: 1.88 MB / 438.9 MB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1616/0.2196, allocations: 8.07 MB / 447 MB, free: 82.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.2424, allocations: 24.43 MB / 471.4 MB, free: 66.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005135/0.2475, allocations: 2.395 MB / 473.8 MB, free: 66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009954/0.2485, allocations: 1.019 MB / 474.8 MB, free: 65.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003549/0.252, allocations: 2.915 MB / 477.8 MB, free: 64.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.2521, allocations: 46.06 kB / 477.8 MB, free: 64.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=157): time 5.631e-06/0.2521, allocations: 2.391 kB / 477.8 MB, free: 64.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.01153/0.2636, allocations: 8.317 MB / 486.1 MB, free: 61.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2636, allocations: 71.56 kB / 486.2 MB, free: 61.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.2666, allocations: 2.733 MB / 488.9 MB, free: 60.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.2668, allocations: 51.48 kB / 489 MB, free: 60.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007403/0.2675, allocations: 2.132 MB / 491.1 MB, free: 58.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.2679, allocations: 0.6629 MB / 491.8 MB, free: 58.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007121/0.2686, allocations: 0.8082 MB / 492.6 MB, free: 57.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.774e-05/0.2686, allocations: 302.4 kB / 492.9 MB, free: 57.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.2701, allocations: 1.378 MB / 494.3 MB, free: 57.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.272, allocations: 3.53 MB / 497.8 MB, free: 53.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.2757, allocations: 5.313 MB / 0.4913 GB, free: 49.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-05/0.2758, allocations: 19.84 kB / 0.4913 GB, free: 49.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.005779/0.2816, allocations: 5.119 MB / 0.4963 GB, free: 47.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.2816, allocations: 36.84 kB / 0.4964 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.927e-05/0.2816, allocations: 73.56 kB / 0.4964 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.2821, allocations: 325.3 kB / 0.4967 GB, free: 47.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.2836, allocations: 0.9033 MB / 0.4976 GB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/0.2858, allocations: 3.153 MB / 0.5007 GB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.2877, allocations: 197.6 kB / 0.5009 GB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.288, allocations: 244.6 kB / 0.5011 GB, free: 44.59 MB / 410.7 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.001639/0.2896, allocations: 1.578 MB / 0.5027 GB, free: 43.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.2898, allocations: 247 kB / 0.5029 GB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.2922, allocations: 2.339 MB / 0.5052 GB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.2922, allocations: 32.44 kB / 0.5052 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2922, allocations: 4 kB / 0.5052 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.2922, allocations: 7.266 kB / 0.5052 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006244/0.2985, allocations: 5.91 MB / 0.511 GB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2985, allocations: 4 kB / 0.511 GB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.299, allocations: 254.8 kB / 0.5112 GB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003151/0.2993, allocations: 208.5 kB / 0.5114 GB, free: 35.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-05/0.2994, allocations: 35.94 kB / 0.5115 GB, free: 35.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.3009, allocations: 2.745 MB / 0.5142 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3009, allocations: 4 kB / 0.5142 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.3038, allocations: 3.588 MB / 0.5177 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.3044, allocations: 247.9 kB / 0.5179 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3045, allocations: 28 kB / 0.5179 GB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.305, allocations: 76.52 kB / 0.518 GB, free: 29.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.3052, allocations: 106.5 kB / 0.5181 GB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.3052, allocations: 54.69 kB / 0.5182 GB, free: 29.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.3068, allocations: 1.683 MB / 0.5198 GB, free: 27.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3068, allocations: 1.594 kB / 0.5198 GB, free: 27.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002578/0.3094, allocations: 0.6991 MB / 0.5205 GB, free: 26.81 MB / 410.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.003133/0.3125, allocations: 4.256 MB / 0.5246 GB, free: 22.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003708/0.3162, allocations: 3.274 MB / 0.5278 GB, free: 19.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3162, allocations: 8.844 kB / 0.5278 GB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009424/0.3172, allocations: 1.089 MB / 0.5289 GB, free: 18.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.3185, allocations: 394.6 kB / 0.5293 GB, free: 17.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/0.3481, allocations: 28.75 MB / 0.5574 GB, free: 2.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.3501, allocations: 2.041 MB / 0.5594 GB, free: 44 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001831/0.3519, allocations: 1.232 MB / 0.5606 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.3533, allocations: 1.34 MB / 0.5619 GB, free: 13.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3533, allocations: 0 / 0.5619 GB, free: 13.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/0.5651, allocations: 50.82 MB / 0.6115 GB, free: 136.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.803/9.368, allocations: 3.344 kB / 0.6115 GB, free: 136.9 MB / 474.7 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.288368251174688] Failed to read output from testmodel.py, exit status != 0: 9.477370895445347 9.485118094 9.454807682 Calling exit ...