Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.001444/0.001444, 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.001474/0.001474, allocations: 188 kB / 22.22 MB, free: 5.164 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.54/1.54, 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.0526/0.0526, allocations: 9.26 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.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo")
translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 67.88 kB / 439.8 MB, free: 11.1 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1172, allocations: 54.29 MB / 494 MB, free: 4.723 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.01064/0.1279, allocations: 8.26 MB / 0.4905 GB, free: 12.42 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005484/0.1334, allocations: 2.533 MB / 0.493 GB, free: 9.879 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.1346, allocations: 35.88 kB / 0.493 GB, free: 9.844 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009631/0.1356, allocations: 369.6 kB / 0.4934 GB, free: 9.48 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003705/0.1393, allocations: 1.37 MB / 0.4947 GB, free: 8.105 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.1397, allocations: 119.7 kB / 0.4948 GB, free: 7.988 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004271/0.1439, allocations: 2.447 MB / 0.4972 GB, free: 5.535 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.1455, allocations: 0.67 MB / 0.4979 GB, free: 4.844 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.1475, allocations: 0.8677 MB / 0.4987 GB, free: 3.973 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.1502, allocations: 1.393 MB / 0.5001 GB, free: 2.574 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008618/0.151, allocations: 224 kB / 0.5003 GB, free: 2.355 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.1532, allocations: 0.8426 MB / 0.5011 GB, free: 1.512 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001654/0.1549, allocations: 1.227 MB / 0.5023 GB, free: 288 kB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002732/0.1576, allocations: 1.542 MB / 0.5038 GB, free: 14.73 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008074/0.1657, allocations: 4.991 MB / 0.5087 GB, free: 9.719 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1657, allocations: 3.984 kB / 0.5087 GB, free: 9.715 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.014e-06/0.1657, allocations: 0 / 0.5087 GB, free: 9.715 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0001587/0.1659, allocations: 0 / 0.5087 GB, free: 9.715 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: 1172
 * Number of variables: 1172
Notification: Performance of Generate backend data structure: time 0.007576/0.1734, allocations: 3.27 MB / 0.5119 GB, free: 6.395 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1735, allocations: 12.03 kB / 0.5119 GB, free: 6.383 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006653/0.1801, allocations: 1.781 MB / 0.5137 GB, free: 4.598 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.1829, allocations: 1.25 MB / 0.5149 GB, free: 3.316 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.183, allocations: 139.8 kB / 0.515 GB, free: 3.18 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004001/0.1834, allocations: 192.1 kB / 0.5152 GB, free: 2.992 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.2469/0.4303, allocations: 8.06 MB / 0.5231 GB, free: 30.39 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.4304, allocations: 23.59 kB / 0.5231 GB, free: 30.38 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.4307, allocations: 90.17 kB / 0.5232 GB, free: 30.35 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003459/0.4341, allocations: 1.999 MB / 0.5251 GB, free: 29.97 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/0.4505, allocations: 7.129 MB / 0.5321 GB, free: 27.54 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0346/0.4851, allocations: 24.07 MB / 0.5556 GB, free: 9.93 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003791/0.4889, allocations: 1.631 MB / 0.5572 GB, free: 8.281 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008869/0.4898, allocations: 0.6728 MB / 0.5578 GB, free: 7.602 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.004659/0.4944, allocations: 2.705 MB / 0.5605 GB, free: 4.98 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.4944, allocations: 39.56 kB / 0.5605 GB, free: 4.934 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=114): time 3.697e-06/0.4944, allocations: 0 / 0.5605 GB, free: 4.934 MB / 382.1 MB
Notification: Performance of matching and sorting (n=117): time 0.008173/0.5026, allocations: 4.361 MB / 0.5648 GB, free: 0.6992 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.5027, allocations: 60.41 kB / 0.5648 GB, free: 0.625 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003886/0.5065, allocations: 2.586 MB / 0.5674 GB, free: 14.01 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.5068, allocations: 37.7 kB / 0.5674 GB, free: 13.96 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.5085, allocations: 2.199 MB / 0.5695 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005409/0.5091, allocations: 484.7 kB / 0.57 GB, free: 11.3 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.5102, allocations: 0.7571 MB / 0.5707 GB, free: 10.54 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001467/0.5103, allocations: 313 kB / 0.571 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.5125, allocations: 1.167 MB / 0.5722 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004493/0.517, allocations: 3.32 MB / 0.5754 GB, free: 4.684 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007166/0.5241, allocations: 4.789 MB / 0.5801 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.187e-05/0.5242, allocations: 20 kB / 0.5801 GB, free: 14.82 MB / 414.1 MB
Notification: Performance of matching and sorting (n=487) (initialization): time 0.009549/0.5338, allocations: 4.437 MB / 0.5845 GB, free: 10.38 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/0.5338, allocations: 36 kB / 0.5845 GB, free: 10.34 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.094e-05/0.5339, allocations: 79.98 kB / 0.5846 GB, free: 10.27 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/0.534, allocations: 100 kB / 0.5847 GB, free: 10.17 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.537, allocations: 0.8383 MB / 0.5855 GB, free: 9.328 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001435/0.5371, allocations: 147.9 kB / 0.5856 GB, free: 9.184 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.5397, allocations: 191.9 kB / 0.5858 GB, free: 8.996 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/0.5401, allocations: 229.5 kB / 0.586 GB, free: 8.773 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 345
 * Number of states: 0 ()
 * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (459):
 * Single equations (assignments): 454
 * Array equations: 5
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.002739/0.5428, allocations: 1.567 MB / 0.5876 GB, free: 7.195 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.5433, allocations: 214.5 kB / 0.5878 GB, free: 6.984 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.5459, allocations: 1.414 MB / 0.5891 GB, free: 5.562 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001327/0.546, allocations: 23.98 kB / 0.5892 GB, free: 5.539 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.546, allocations: 0 / 0.5892 GB, free: 5.539 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.5461, allocations: 11.97 kB / 0.5892 GB, free: 5.527 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00904/0.5551, allocations: 4.765 MB / 0.5938 GB, free: 0.6289 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.5551, allocations: 7.938 kB / 0.5938 GB, free: 0.6211 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.556, allocations: 175.8 kB / 0.594 GB, free: 460 kB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.556, allocations: 8 kB / 0.594 GB, free: 452 kB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.906e-05/0.5561, allocations: 33.8 kB / 0.594 GB, free: 420 kB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.407e-05/0.5561, allocations: 16.16 kB / 0.5941 GB, free: 404 kB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.5561, allocations: 8 kB / 0.5941 GB, free: 396 kB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.5597, allocations: 2.376 MB / 0.5964 GB, free: 13.93 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007214/0.5605, allocations: 226.5 kB / 0.5966 GB, free: 13.71 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.5607, allocations: 28 kB / 0.5966 GB, free: 13.68 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/0.5614, allocations: 51.89 kB / 0.5967 GB, free: 13.63 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.5616, allocations: 72.41 kB / 0.5967 GB, free: 13.55 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.5616, allocations: 36 kB / 0.5968 GB, free: 13.52 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.002662/0.5643, allocations: 1.663 MB / 0.5984 GB, free: 11.84 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1.21e-07/0.5643, allocations: 0 / 0.5984 GB, free: 11.84 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.002915/0.5672, allocations: 0.6249 MB / 0.599 GB, free: 11.21 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 23
 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (93):
 * Single equations (assignments): 88
 * Array equations: 5
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003304/0.5676, allocations: 154.9 kB / 0.5992 GB, free: 11.05 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.005039/0.5726, allocations: 2.524 MB / 0.6016 GB, free: 8.547 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.5726, allocations: 0.625 kB / 0.6016 GB, free: 8.547 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0011/0.5737, allocations: 0.5972 MB / 0.6022 GB, free: 7.949 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.5759, allocations: 380 kB / 0.6026 GB, free: 7.59 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.5875, allocations: 6.461 MB / 0.6089 GB, free: 1.035 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/0.5907, allocations: 2.555 MB / 0.6114 GB, free: 14.45 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.002702/0.5934, allocations: 1.121 MB / 0.6125 GB, free: 13.32 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.5938, allocations: 163.4 kB / 0.6126 GB, free: 13.16 MB / 446.1 MB
Notification: Performance of SimCode: time 9.11e-07/0.5938, allocations: 4 kB / 0.6126 GB, free: 13.16 MB / 446.1 MB
Notification: Performance of Templates: time 0.05309/0.6469, allocations: 24.6 MB / 0.6367 GB, free: 4.668 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660]
(rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.037355879321694]
Failed to read output from testmodel.py, exit status != 0:
0.6555071491748095 0.671933947 0.502721222
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f376ff457b0>