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.001282/0.001282, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00143/0.00143, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.988 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.04971/0.04971, allocations: 9.236 MB / 321.7 MB, free: 10.04 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.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: 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.00194/0.00194, allocations: 68.17 kB / 447.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09983, allocations: 55.48 MB / 0.4914 GB, free: 7.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01098/0.1108, allocations: 8.861 MB / 0.5001 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.1164, allocations: 2.803 MB / 0.5028 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005073/0.1169, allocations: 39.88 kB / 0.5029 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.1178, allocations: 385.4 kB / 0.5032 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.1205, allocations: 1.447 MB / 0.5046 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1211, allocations: 179.7 kB / 0.5048 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.1241, allocations: 2.526 MB / 0.5073 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.1251, allocations: 0.7338 MB / 0.508 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.1263, allocations: 0.93 MB / 0.5089 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.1281, allocations: 1.456 MB / 0.5103 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.1284, allocations: 232 kB / 0.5105 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.1299, allocations: 0.94 MB / 0.5115 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.1311, allocations: 1.219 MB / 0.5126 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.1325, allocations: 1.561 MB / 0.5142 GB, free: 72 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1923/0.3248, allocations: 5.073 MB / 0.5191 GB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3248, allocations: 0 / 0.5191 GB, free: 11.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3248, allocations: 0.5312 kB / 0.5191 GB, free: 11.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.965e-05/0.3248, allocations: 0 / 0.5191 GB, free: 11.79 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: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.0157/0.3405, allocations: 5.093 MB / 0.5241 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.017e-05/0.3406, allocations: 9.656 kB / 0.5241 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008112/0.3414, allocations: 0.542 MB / 0.5246 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.3478, allocations: 1.801 MB / 0.5264 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.3505, allocations: 1.392 MB / 0.5278 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/0.3506, allocations: 147.7 kB / 0.5279 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006099/0.3512, allocations: 197.5 kB / 0.5281 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/0.3645, allocations: 8.477 MB / 0.5364 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001427/0.3646, allocations: 24.7 kB / 0.5364 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/0.365, allocations: 92.44 kB / 0.5365 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002824/0.3678, allocations: 1.878 MB / 0.5383 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.3811, allocations: 8.15 MB / 0.5463 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0358/0.4169, allocations: 25.88 MB / 0.5715 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009661/0.4266, allocations: 2.317 MB / 0.5738 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.4283, allocations: 1.021 MB / 0.5748 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006214/0.4345, allocations: 3.159 MB / 0.5779 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.4346, allocations: 43.88 kB / 0.5779 GB, free: 4.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 3.246e-06/0.4346, allocations: 0 / 0.5779 GB, free: 4.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.0188/0.4534, allocations: 8.179 MB / 0.5859 GB, free: 12.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4534, allocations: 68.72 kB / 0.586 GB, free: 12.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003914/0.4573, allocations: 2.638 MB / 0.5886 GB, free: 9.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.4574, allocations: 53.7 kB / 0.5886 GB, free: 9.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.459, allocations: 2.155 MB / 0.5907 GB, free: 7.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006328/0.4596, allocations: 0.6665 MB / 0.5914 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.4606, allocations: 0.8127 MB / 0.5922 GB, free: 6.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4608, allocations: 305.1 kB / 0.5925 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.463, allocations: 1.374 MB / 0.5938 GB, free: 4.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/0.4669, allocations: 3.55 MB / 0.5973 GB, free: 15.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006451/0.4734, allocations: 5.329 MB / 0.6025 GB, free: 9.695 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/0.4734, allocations: 20 kB / 0.6025 GB, free: 9.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008655/0.4821, allocations: 5.14 MB / 0.6075 GB, free: 4.766 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.4821, allocations: 40 kB / 0.6075 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-05/0.4822, allocations: 72 kB / 0.6076 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008897/0.4831, allocations: 322.1 kB / 0.6079 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/0.4859, allocations: 0.9046 MB / 0.6088 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.4902, allocations: 3.19 MB / 0.6119 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.4926, allocations: 192 kB / 0.6121 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.4929, allocations: 242.3 kB / 0.6123 GB, free: 15.71 MB / 462.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.00269/0.4956, allocations: 1.576 MB / 0.6139 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.4959, allocations: 247.2 kB / 0.6141 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.5, allocations: 2.355 MB / 0.6164 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/0.5001, allocations: 31.98 kB / 0.6164 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-05/0.5002, allocations: 12.06 kB / 0.6164 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/0.5002, allocations: 7.969 kB / 0.6165 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.5115, allocations: 6.217 MB / 0.6225 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5115, allocations: 0 / 0.6225 GB, free: 5.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.5126, allocations: 260 kB / 0.6228 GB, free: 4.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006156/0.5132, allocations: 218 kB / 0.623 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/0.5133, allocations: 38.64 kB / 0.623 GB, free: 4.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.5168, allocations: 2.769 MB / 0.6257 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5169, allocations: 7.922 kB / 0.6257 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0056/0.5225, allocations: 3.624 MB / 0.6293 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/0.523, allocations: 238.4 kB / 0.6295 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.5233, allocations: 32 kB / 0.6295 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.5242, allocations: 70.84 kB / 0.6296 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.5244, allocations: 109 kB / 0.6297 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.5245, allocations: 55.98 kB / 0.6298 GB, free: 13.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002588/0.5271, allocations: 1.704 MB / 0.6314 GB, free: 11.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5271, allocations: 0 / 0.6314 GB, free: 11.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002728/0.5299, allocations: 0.6982 MB / 0.6321 GB, free: 11.18 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 (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.006016/0.5359, allocations: 4.292 MB / 0.6363 GB, free: 6.824 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005321/0.5412, allocations: 3.294 MB / 0.6395 GB, free: 3.531 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5412, allocations: 0 / 0.6395 GB, free: 3.531 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.5429, allocations: 1.102 MB / 0.6406 GB, free: 2.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5445, allocations: 402.8 kB / 0.641 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04334/0.5878, allocations: 29.09 MB / 0.6694 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003459/0.5913, allocations: 2.606 MB / 0.6719 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002962/0.5943, allocations: 1.232 MB / 0.6731 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/0.5963, allocations: 1.335 MB / 0.6744 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.5963, allocations: 4 kB / 0.6744 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2921/0.8885, allocations: 53.62 MB / 0.7268 GB, free: 184.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/20.12, allocations: 18.84 kB / 0.7268 GB, free: 184.8 MB / 0.545 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.72487464803271] Failed to read output from testmodel.py, exit status != 0: 20.260054951999336 20.281941289 19.953228021 Calling exit ...