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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 191.4 kB / 22.23 MB, free: 5.156 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.05086/0.05086, allocations: 9.253 MB / 315.5 MB, free: 15.62 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-master/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: translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel")
translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.89 kB / 439.8 MB, free: 11.12 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1247, allocations: 54.3 MB / 494 MB, free: 4.727 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01185/0.1365, allocations: 8.859 MB / 0.4911 GB, free: 11.82 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005798/0.1423, allocations: 2.76 MB / 0.4938 GB, free: 9.051 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009537/0.1433, allocations: 43.88 kB / 0.4939 GB, free: 9.008 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.1441, allocations: 377.4 kB / 0.4942 GB, free: 8.637 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003116/0.1472, allocations: 1.455 MB / 0.4956 GB, free: 7.176 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.1477, allocations: 183.6 kB / 0.4958 GB, free: 6.996 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003151/0.1509, allocations: 2.556 MB / 0.4983 GB, free: 4.441 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.152, allocations: 0.757 MB / 0.4991 GB, free: 3.652 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.1534, allocations: 0.926 MB / 0.5 GB, free: 2.723 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.1553, allocations: 1.448 MB / 0.5014 GB, free: 1.27 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003837/0.1557, allocations: 232 kB / 0.5016 GB, free: 1.043 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.1573, allocations: 0.9323 MB / 0.5025 GB, free: 112 kB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001304/0.1586, allocations: 1.246 MB / 0.5037 GB, free: 14.86 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001726/0.1604, allocations: 1.573 MB / 0.5053 GB, free: 13.28 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006399/0.1668, allocations: 5.096 MB / 0.5102 GB, free: 8.16 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1668, allocations: 0 / 0.5102 GB, free: 8.16 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.1668, allocations: 0 / 0.5102 GB, free: 8.16 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0001005/0.1669, allocations: 0 / 0.5102 GB, free: 8.16 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.01665/0.1835, allocations: 5.059 MB / 0.5152 GB, free: 3.047 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1836, allocations: 12.56 kB / 0.5152 GB, free: 3.035 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006437/0.19, allocations: 1.793 MB / 0.5169 GB, free: 1.238 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.2447/0.4347, allocations: 1.374 MB / 0.5183 GB, free: 31.2 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.435, allocations: 146.4 kB / 0.5184 GB, free: 31.2 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009809/0.4359, allocations: 200.2 kB / 0.5186 GB, free: 31.2 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/0.454, allocations: 8.468 MB / 0.5269 GB, free: 28.67 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.832e-05/0.4541, allocations: 23.31 kB / 0.5269 GB, free: 28.66 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.4544, allocations: 91.69 kB / 0.527 GB, free: 28.62 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003443/0.4579, allocations: 1.884 MB / 0.5288 GB, free: 28.25 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/0.477, allocations: 8.143 MB / 0.5368 GB, free: 25.61 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03319/0.5102, allocations: 25.88 MB / 0.5621 GB, free: 3.211 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.008585/0.5188, allocations: 2.316 MB / 0.5643 GB, free: 0.8828 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.5204, allocations: 1.024 MB / 0.5653 GB, free: 15.86 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006814/0.5272, allocations: 3.172 MB / 0.5684 GB, free: 12.76 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.5273, allocations: 51.81 kB / 0.5685 GB, free: 12.7 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=157): time 3.747e-06/0.5273, allocations: 0 / 0.5685 GB, free: 12.7 MB / 398.1 MB
Notification: Performance of matching and sorting (n=175): time 0.01828/0.5455, allocations: 7.739 MB / 0.576 GB, free: 5.039 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.5456, allocations: 68.72 kB / 0.5761 GB, free: 4.961 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005037/0.5506, allocations: 2.622 MB / 0.5786 GB, free: 2.309 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.5508, allocations: 55.47 kB / 0.5787 GB, free: 2.25 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.5527, allocations: 2.146 MB / 0.5808 GB, free: 84 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0008182/0.5536, allocations: 0.6745 MB / 0.5815 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/0.555, allocations: 0.8182 MB / 0.5822 GB, free: 14.57 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001362/0.5551, allocations: 301.1 kB / 0.5825 GB, free: 14.27 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002514/0.5576, allocations: 1.382 MB / 0.5839 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004584/0.5622, allocations: 3.54 MB / 0.5873 GB, free: 8.281 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007658/0.5699, allocations: 5.316 MB / 0.5925 GB, free: 1.914 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.223e-05/0.5699, allocations: 24 kB / 0.5926 GB, free: 1.891 MB / 414.1 MB
Notification: Performance of matching and sorting (n=534) (initialization): time 0.0105/0.5804, allocations: 5.134 MB / 0.5976 GB, free: 12.75 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.271e-05/0.5805, allocations: 40.06 kB / 0.5976 GB, free: 12.71 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.5806, allocations: 79.98 kB / 0.5977 GB, free: 12.63 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008697/0.5815, allocations: 317.4 kB / 0.598 GB, free: 12.32 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.5845, allocations: 0.8968 MB / 0.5989 GB, free: 11.42 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.5888, allocations: 3.191 MB / 0.602 GB, free: 8.109 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.5913, allocations: 195.9 kB / 0.6022 GB, free: 7.918 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004389/0.5917, allocations: 247.3 kB / 0.6024 GB, free: 7.68 MB / 430.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.002624/0.5944, allocations: 1.576 MB / 0.6039 GB, free: 6.094 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000464/0.5948, allocations: 238.4 kB / 0.6042 GB, free: 5.859 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/0.5994, allocations: 2.365 MB / 0.6065 GB, free: 3.477 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/0.5995, allocations: 31.98 kB / 0.6065 GB, free: 3.445 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.5995, allocations: 4 kB / 0.6065 GB, free: 3.441 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.5995, allocations: 11.91 kB / 0.6065 GB, free: 3.43 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.6127, allocations: 6.215 MB / 0.6126 GB, free: 13.09 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6127, allocations: 0 / 0.6126 GB, free: 13.09 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.6138, allocations: 259.6 kB / 0.6128 GB, free: 12.84 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006295/0.6144, allocations: 197.5 kB / 0.613 GB, free: 12.64 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.6146, allocations: 37.2 kB / 0.6131 GB, free: 12.6 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003963/0.6185, allocations: 2.775 MB / 0.6158 GB, free: 9.719 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.6185, allocations: 4 kB / 0.6158 GB, free: 9.715 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/0.6253, allocations: 3.621 MB / 0.6193 GB, free: 6.035 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009189/0.6262, allocations: 242.4 kB / 0.6195 GB, free: 5.797 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/0.6266, allocations: 32 kB / 0.6196 GB, free: 5.766 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6277, allocations: 75.84 kB / 0.6196 GB, free: 5.691 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.628, allocations: 101.1 kB / 0.6197 GB, free: 5.59 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.6281, allocations: 47.98 kB / 0.6198 GB, free: 5.543 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.003272/0.6314, allocations: 1.692 MB / 0.6214 GB, free: 3.836 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.4e-07/0.6314, allocations: 4 kB / 0.6214 GB, free: 3.832 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003329/0.6347, allocations: 0.7108 MB / 0.6221 GB, free: 3.121 MB / 446.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.0004386/0.6351, allocations: 174.8 kB / 0.6223 GB, free: 2.941 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.00588/0.641, allocations: 3.299 MB / 0.6255 GB, free: 15.64 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.641, allocations: 0.6875 kB / 0.6255 GB, free: 15.64 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001844/0.6429, allocations: 1.105 MB / 0.6266 GB, free: 14.52 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.6449, allocations: 398.4 kB / 0.627 GB, free: 14.14 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.6584, allocations: 6.967 MB / 0.6338 GB, free: 7.117 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003789/0.6622, allocations: 2.598 MB / 0.6363 GB, free: 4.484 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.003242/0.6654, allocations: 1.228 MB / 0.6375 GB, free: 3.25 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/0.6661, allocations: 183.4 kB / 0.6377 GB, free: 3.07 MB / 462.1 MB
Notification: Performance of SimCode: time 1.413e-06/0.6661, allocations: 0 / 0.6377 GB, free: 3.07 MB / 462.1 MB
Notification: Performance of Templates: time 0.06079/0.7269, allocations: 29.99 MB / 0.667 GB, free: 5.199 MB / 494.1 MB
"
[Timeout remaining time 659]
make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile [Timeout 660]
(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 & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.4872819148004055]
Failed to read output from testmodel.py, exit status != 0:
0.7358260406181216 0.752350788 0.582246622
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcc43c4d7b0>