Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.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.001541/0.001541, allocations: 113.8 kB / 19.69 MB, free: 2.203 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.001788/0.001788, allocations: 191.3 kB / 22.98 MB, free: 5.078 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2364/0.2364, allocations: 44.23 MB / 330.2 MB, free: 9.555 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus")
translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 67.84 kB / 467.9 MB, free: 4.051 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 61.03 MB / 0.5166 GB, free: 6.879 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01385/0.1461, allocations: 11.37 MB / 0.5277 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006281/0.1523, allocations: 2.801 MB / 0.5304 GB, free: 8.637 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.1538, allocations: 67.75 kB / 0.5305 GB, free: 8.57 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003129/0.157, allocations: 1.335 MB / 0.5318 GB, free: 7.23 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003537/0.1605, allocations: 1.268 MB / 0.533 GB, free: 5.957 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.161, allocations: 83.83 kB / 0.5331 GB, free: 5.875 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004165/0.1651, allocations: 2.745 MB / 0.5358 GB, free: 3.121 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00243/0.1676, allocations: 1.458 MB / 0.5372 GB, free: 1.629 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.17, allocations: 1.07 MB / 0.5382 GB, free: 0.5547 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.2638/0.4338, allocations: 1.604 MB / 0.5398 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001027/0.4349, allocations: 208 kB / 0.54 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.4367, allocations: 0.4989 MB / 0.5405 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002086/0.4388, allocations: 1.446 MB / 0.5419 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002535/0.4413, allocations: 1.714 MB / 0.5436 GB, free: 10.95 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01149/0.4528, allocations: 5.511 MB / 0.549 GB, free: 9.969 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4528, allocations: 0 / 0.549 GB, free: 9.969 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.703e-06/0.4528, allocations: 0 / 0.549 GB, free: 9.969 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0002933/0.4531, allocations: 0 / 0.549 GB, free: 9.969 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1443
 * Number of variables: 1443
Notification: Performance of Generate backend data structure: time 0.01452/0.4676, allocations: 3.637 MB / 0.5525 GB, free: 8.32 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.4677, allocations: 11.94 kB / 0.5525 GB, free: 8.32 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.4794, allocations: 2.963 MB / 0.5554 GB, free: 8.051 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/0.4844, allocations: 1.475 MB / 0.5569 GB, free: 7.574 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.4846, allocations: 174.5 kB / 0.557 GB, free: 7.531 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.4859, allocations: 223.9 kB / 0.5572 GB, free: 7.492 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.5022, allocations: 9.471 MB / 0.5665 GB, free: 3.754 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.5023, allocations: 23.06 kB / 0.5665 GB, free: 3.75 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/0.5026, allocations: 106.4 kB / 0.5666 GB, free: 3.715 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/0.5062, allocations: 2.379 MB / 0.5689 GB, free: 3.086 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.5237, allocations: 8.661 MB / 0.5774 GB, free: 15.38 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05525/0.5789, allocations: 29.07 MB / 0.6058 GB, free: 4.145 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.005302/0.5842, allocations: 2.044 MB / 0.6078 GB, free: 2.117 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.5859, allocations: 0.8993 MB / 0.6087 GB, free: 1.219 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.009584/0.5954, allocations: 3.951 MB / 0.6125 GB, free: 13.28 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.5955, allocations: 43.22 kB / 0.6126 GB, free: 13.23 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=126): time 4.118e-06/0.5955, allocations: 0 / 0.6126 GB, free: 13.23 MB / 462.1 MB
Notification: Performance of matching and sorting (n=126): time 0.006679/0.6022, allocations: 2.739 MB / 0.6152 GB, free: 10.48 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.6022, allocations: 60.06 kB / 0.6153 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006227/0.6085, allocations: 2.579 MB / 0.6178 GB, free: 7.809 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.6086, allocations: 40.36 kB / 0.6179 GB, free: 7.766 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.003234/0.6118, allocations: 2.765 MB / 0.6206 GB, free: 5.008 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0007713/0.6126, allocations: 0.5093 MB / 0.621 GB, free: 4.508 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001862/0.6144, allocations: 0.9051 MB / 0.6219 GB, free: 3.594 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002367/0.6147, allocations: 365.9 kB / 0.6223 GB, free: 3.23 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/0.6176, allocations: 1.352 MB / 0.6236 GB, free: 1.871 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/0.6226, allocations: 4.116 MB / 0.6276 GB, free: 12.41 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007835/0.6304, allocations: 5.971 MB / 0.6335 GB, free: 5.465 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.079e-05/0.6305, allocations: 28 kB / 0.6335 GB, free: 5.438 MB / 478.1 MB
Notification: Performance of matching and sorting (n=588) (initialization): time 0.009424/0.6399, allocations: 5.289 MB / 0.6386 GB, free: 340 kB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.812e-05/0.64, allocations: 51.94 kB / 0.6387 GB, free: 288 kB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.6402, allocations: 100.9 kB / 0.6388 GB, free: 188 kB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.6403, allocations: 128 kB / 0.6389 GB, free: 60 kB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/0.6432, allocations: 0.9786 MB / 0.6399 GB, free: 15.08 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001842/0.6434, allocations: 191.2 kB / 0.64 GB, free: 14.89 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.6466, allocations: 0.6127 MB / 0.6406 GB, free: 14.27 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005176/0.6471, allocations: 278.9 kB / 0.6409 GB, free: 14 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 446
 * Number of states: 0 ()
 * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (540):
 * Single equations (assignments): 534
 * Array equations: 6
 * 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.003909/0.6511, allocations: 1.898 MB / 0.6428 GB, free: 12.1 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/0.6516, allocations: 222.5 kB / 0.643 GB, free: 11.88 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/0.6523, allocations: 275.4 kB / 0.6432 GB, free: 11.61 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/0.6523, allocations: 13.02 kB / 0.6433 GB, free: 11.59 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.6523, allocations: 3.656 kB / 0.6433 GB, free: 11.59 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6523, allocations: 7.984 kB / 0.6433 GB, free: 11.59 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.6653, allocations: 5.589 MB / 0.6487 GB, free: 5.898 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.6654, allocations: 4 kB / 0.6487 GB, free: 5.895 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.6659, allocations: 139.7 kB / 0.6489 GB, free: 5.758 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.666, allocations: 4 kB / 0.6489 GB, free: 5.754 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.666, allocations: 32.55 kB / 0.6489 GB, free: 5.723 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.666, allocations: 8 kB / 0.6489 GB, free: 5.715 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.6661, allocations: 11.94 kB / 0.6489 GB, free: 5.703 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.6686, allocations: 1.803 MB / 0.6507 GB, free: 3.828 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/0.6693, allocations: 214.2 kB / 0.6509 GB, free: 3.617 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004876/0.6698, allocations: 25.69 kB / 0.6509 GB, free: 3.594 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008691/0.6707, allocations: 38.53 kB / 0.6509 GB, free: 3.559 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.6708, allocations: 68.28 kB / 0.651 GB, free: 3.492 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6709, allocations: 39.98 kB / 0.651 GB, free: 3.453 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.003276/0.6742, allocations: 1.556 MB / 0.6526 GB, free: 1.879 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.6742, allocations: 0 / 0.6526 GB, free: 1.879 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.005671/0.6799, allocations: 1.022 MB / 0.6536 GB, free: 0.8555 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 19
 * Number of states: 0 ()
 * 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 (78):
 * Single equations (assignments): 72
 * Array equations: 6
 * 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.0005385/0.6804, allocations: 150.4 kB / 0.6537 GB, free: 0.7031 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.006105/0.6865, allocations: 3.014 MB / 0.6566 GB, free: 13.71 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.6865, allocations: 0 / 0.6566 GB, free: 13.71 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.001168/0.6877, allocations: 0.6873 MB / 0.6573 GB, free: 13.02 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/0.6898, allocations: 258.1 kB / 0.6576 GB, free: 12.78 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/0.712, allocations: 7.276 MB / 0.6647 GB, free: 5.418 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006259/0.7182, allocations: 2.966 MB / 0.6676 GB, free: 2.426 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.003732/0.722, allocations: 1.484 MB / 0.669 GB, free: 0.9336 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/0.7224, allocations: 155.4 kB / 0.6692 GB, free: 0.7812 MB / 0.4981 GB
Notification: Performance of SimCode: time 1.753e-06/0.7224, allocations: 0 / 0.6692 GB, free: 0.7812 MB / 0.4981 GB
Notification: Performance of Templates: time 0.04912/0.7715, allocations: 19.84 MB / 0.6885 GB, free: 13.07 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.399452717043459]
Failed to read output from testmodel.py, exit status != 0:
0.7821751777082682 0.7982191319999999 0.34165183899999996
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f33fde217b0>