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: 101.5 kB / 19.73 MB, free: 2.23 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.001394/0.001394, allocations: 218.3 kB / 23.04 MB, free: 5.074 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.04998/0.04998, allocations: 9.24 MB / 322.5 MB, free: 10.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="cs",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.002115/0.002115, allocations: 66.09 kB / 448.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1312, allocations: 55.46 MB / 0.4922 GB, free: 7.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.0116/0.1428, allocations: 8.87 MB / 0.5008 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006562/0.1494, allocations: 2.799 MB / 0.5036 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1506, allocations: 39.88 kB / 0.5036 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009699/0.1515, allocations: 385.4 kB / 0.504 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.1551, allocations: 1.451 MB / 0.5054 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.1556, allocations: 179.6 kB / 0.5056 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.1592, allocations: 2.533 MB / 0.508 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.1603, allocations: 0.7377 MB / 0.5088 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.1619, allocations: 0.9261 MB / 0.5097 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.1638, allocations: 1.448 MB / 0.5111 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004417/0.1643, allocations: 232 kB / 0.5113 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.1662, allocations: 0.944 MB / 0.5122 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.1675, allocations: 1.223 MB / 0.5134 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.1692, allocations: 1.561 MB / 0.5149 GB, free: 40 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2712/0.4404, allocations: 5.067 MB / 0.5199 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4404, allocations: 0 / 0.5199 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4404, allocations: 0 / 0.5199 GB, free: 11.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001931/0.4406, allocations: 0 / 0.5199 GB, free: 11.8 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.02162/0.4622, allocations: 5.096 MB / 0.5249 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/0.4623, allocations: 14.28 kB / 0.5249 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001836/0.4624, allocations: 70.84 kB / 0.525 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002557/0.465, allocations: 0.5387 MB / 0.5255 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008995/0.474, allocations: 1.802 MB / 0.5272 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.4784, allocations: 1.39 MB / 0.5286 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.4786, allocations: 146.4 kB / 0.5287 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.4798, allocations: 202.3 kB / 0.5289 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.5002, allocations: 8.474 MB / 0.5372 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/0.5004, allocations: 24.58 kB / 0.5372 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001147/0.5015, allocations: 91.36 kB / 0.5373 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003941/0.5055, allocations: 1.882 MB / 0.5392 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.5244, allocations: 8.14 MB / 0.5471 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04831/0.5727, allocations: 25.89 MB / 0.5724 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.5834, allocations: 2.321 MB / 0.5747 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002031/0.5855, allocations: 1.021 MB / 0.5757 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007721/0.5932, allocations: 3.16 MB / 0.5787 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.831e-05/0.5932, allocations: 47.88 kB / 0.5788 GB, free: 4.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 5.77e-06/0.5932, allocations: 0 / 0.5788 GB, free: 4.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.02381/0.6171, allocations: 8.177 MB / 0.5868 GB, free: 12.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.6171, allocations: 68.72 kB / 0.5868 GB, free: 12.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/0.6226, allocations: 2.638 MB / 0.5894 GB, free: 9.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002895/0.6229, allocations: 49.7 kB / 0.5895 GB, free: 9.531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002075/0.625, allocations: 2.156 MB / 0.5916 GB, free: 7.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001247/0.6262, allocations: 0.6663 MB / 0.5922 GB, free: 6.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.6277, allocations: 0.8169 MB / 0.593 GB, free: 5.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6278, allocations: 305.1 kB / 0.5933 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/0.6303, allocations: 1.378 MB / 0.5946 GB, free: 4.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004356/0.6347, allocations: 3.547 MB / 0.5981 GB, free: 15.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007544/0.6422, allocations: 5.314 MB / 0.6033 GB, free: 9.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.786e-05/0.6423, allocations: 24 kB / 0.6033 GB, free: 9.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01165/0.6539, allocations: 5.139 MB / 0.6083 GB, free: 4.652 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.091e-05/0.654, allocations: 36 kB / 0.6084 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.6541, allocations: 76 kB / 0.6084 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/0.6551, allocations: 321.9 kB / 0.6088 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/0.6583, allocations: 0.9105 MB / 0.6096 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.6628, allocations: 3.185 MB / 0.6128 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/0.666, allocations: 195.9 kB / 0.6129 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008797/0.6669, allocations: 242.2 kB / 0.6132 GB, free: 15.59 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.003454/0.6703, allocations: 1.571 MB / 0.6147 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005276/0.6709, allocations: 243.1 kB / 0.6149 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/0.6755, allocations: 2.37 MB / 0.6173 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000128/0.6756, allocations: 32.48 kB / 0.6173 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.6756, allocations: 4 kB / 0.6173 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.6757, allocations: 7.984 kB / 0.6173 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.6897, allocations: 6.217 MB / 0.6234 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.6897, allocations: 4 kB / 0.6234 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.6909, allocations: 251.7 kB / 0.6236 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007129/0.6916, allocations: 221.8 kB / 0.6238 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/0.6918, allocations: 39.92 kB / 0.6239 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/0.6955, allocations: 2.767 MB / 0.6266 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.6955, allocations: 8.219 kB / 0.6266 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006466/0.702, allocations: 3.619 MB / 0.6301 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/0.7028, allocations: 244 kB / 0.6303 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/0.7032, allocations: 31.94 kB / 0.6304 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.7043, allocations: 74.27 kB / 0.6304 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.7046, allocations: 105 kB / 0.6305 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.7047, allocations: 51.98 kB / 0.6306 GB, free: 13.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003607/0.7083, allocations: 1.708 MB / 0.6323 GB, free: 11.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7083, allocations: 0 / 0.6323 GB, free: 11.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004336/0.7126, allocations: 0.6978 MB / 0.6329 GB, free: 11.06 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.008046/0.7207, allocations: 4.284 MB / 0.6371 GB, free: 6.715 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00982/0.7305, allocations: 3.298 MB / 0.6403 GB, free: 3.418 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7305, allocations: 0 / 0.6403 GB, free: 3.418 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.7338, allocations: 1.102 MB / 0.6414 GB, free: 2.297 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/0.7376, allocations: 390 kB / 0.6418 GB, free: 1.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05923/0.7968, allocations: 29.1 MB / 0.6702 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003251/0.8001, allocations: 2.596 MB / 0.6727 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003127/0.8032, allocations: 1.232 MB / 0.6739 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002365/0.8056, allocations: 1.335 MB / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.8056, allocations: 0 / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.319/1.125, allocations: 53.67 MB / 0.7277 GB, free: 185.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.62/20.74, allocations: 16.2 kB / 0.7277 GB, free: 185.1 MB / 0.545 GB " [Timeout remaining time 639] (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: 23.799135342007503] Failed to read output from testmodel.py, exit status != 0: 20.947808747994713 20.971871389 20.527108412 Calling exit ...