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.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.001409/0.001409, allocations: 104.3 kB / 20.45 MB, free: 1.406 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.001843/0.001843, allocations: 212.1 kB / 23.74 MB, free: 4.57 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.642/1.642, allocations: 207.7 MB / 234.6 MB, free: 9.816 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.2412/0.2412, allocations: 44.26 MB / 331.1 MB, free: 9.312 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.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: 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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002631, allocations: 67.91 kB / 468.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1216, allocations: 61.05 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01361/0.1352, allocations: 9.854 MB / 0.527 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007508/0.1427, allocations: 2.672 MB / 0.5296 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.1447, allocations: 59.81 kB / 0.5297 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.1479, allocations: 1.296 MB / 0.5309 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.1513, allocations: 1.261 MB / 0.5322 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.1518, allocations: 75.84 kB / 0.5322 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003914/0.1557, allocations: 2.756 MB / 0.5349 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.1586, allocations: 1.668 MB / 0.5365 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.1607, allocations: 1.074 MB / 0.5376 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.1633, allocations: 1.545 MB / 0.5391 GB, free: 312 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007038/0.164, allocations: 208 kB / 0.5393 GB, free: 104 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2591/0.423, allocations: 400.6 kB / 0.5397 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002356/0.4254, allocations: 1.445 MB / 0.5411 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.4272, allocations: 1.218 MB / 0.5423 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007263/0.4345, allocations: 5.528 MB / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.4345, allocations: 1.125 kB / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4345, allocations: 0 / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002252/0.4347, allocations: 5.438 kB / 0.5477 GB, free: 11.73 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.007929/0.4426, allocations: 3.63 MB / 0.5512 GB, free: 10.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4427, allocations: 10.53 kB / 0.5512 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.4536, allocations: 2.965 MB / 0.5541 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/0.4587, allocations: 1.493 MB / 0.5556 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.4589, allocations: 175.8 kB / 0.5558 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.4604, allocations: 219.1 kB / 0.556 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.4801, allocations: 9.479 MB / 0.5652 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.4803, allocations: 19.31 kB / 0.5653 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/0.4814, allocations: 105.3 kB / 0.5654 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004211/0.4856, allocations: 2.375 MB / 0.5677 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.5028, allocations: 8.647 MB / 0.5761 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04888/0.5517, allocations: 26.44 MB / 0.6019 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005509/0.5572, allocations: 2.043 MB / 0.6039 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.5589, allocations: 0.8955 MB / 0.6048 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009665/0.5686, allocations: 3.759 MB / 0.6085 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.5686, allocations: 43.22 kB / 0.6085 GB, free: 3.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 5.47e-06/0.5686, allocations: 0 / 0.6085 GB, free: 3.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006635/0.5753, allocations: 2.739 MB / 0.6112 GB, free: 1.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.5753, allocations: 61.53 kB / 0.6113 GB, free: 1.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005316/0.5806, allocations: 2.621 MB / 0.6138 GB, free: 14.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.5807, allocations: 41.36 kB / 0.6138 GB, free: 14.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002647/0.5834, allocations: 2.771 MB / 0.6166 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007319/0.5841, allocations: 0.5129 MB / 0.6171 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.5862, allocations: 0.9102 MB / 0.6179 GB, free: 10.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5864, allocations: 341.9 kB / 0.6183 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/0.5888, allocations: 1.355 MB / 0.6196 GB, free: 8.461 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005009/0.5938, allocations: 4.118 MB / 0.6236 GB, free: 3.004 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007788/0.6016, allocations: 5.968 MB / 0.6294 GB, free: 12.05 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/0.6017, allocations: 31.94 kB / 0.6295 GB, free: 12.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01179/0.6135, allocations: 5.283 MB / 0.6346 GB, free: 6.832 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.6136, allocations: 44 kB / 0.6347 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/0.6138, allocations: 100 kB / 0.6348 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.614, allocations: 131.9 kB / 0.6349 GB, free: 6.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/0.6173, allocations: 0.9747 MB / 0.6358 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002079/0.6175, allocations: 187.3 kB / 0.636 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/0.6211, allocations: 0.6141 MB / 0.6366 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007286/0.6218, allocations: 276 kB / 0.6369 GB, free: 4.52 MB / 478.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.004102/0.6259, allocations: 1.897 MB / 0.6387 GB, free: 2.613 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/0.6264, allocations: 210.5 kB / 0.6389 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.6271, allocations: 266.4 kB / 0.6392 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/0.6271, allocations: 14.66 kB / 0.6392 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.6272, allocations: 0 / 0.6392 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6272, allocations: 3.984 kB / 0.6392 GB, free: 2.125 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.6377, allocations: 4.275 MB / 0.6434 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.6377, allocations: 4 kB / 0.6434 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006724/0.6384, allocations: 135.8 kB / 0.6435 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/0.6384, allocations: 8 kB / 0.6435 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.6385, allocations: 23.98 kB / 0.6436 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/0.6385, allocations: 11.94 kB / 0.6436 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.6385, allocations: 8.531 kB / 0.6436 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.6412, allocations: 1.799 MB / 0.6453 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/0.6419, allocations: 210.2 kB / 0.6455 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004686/0.6424, allocations: 16 kB / 0.6455 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/0.6433, allocations: 46.61 kB / 0.6456 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.6435, allocations: 60.28 kB / 0.6456 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.355e-05/0.6436, allocations: 40 kB / 0.6457 GB, free: 11.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003061/0.6467, allocations: 1.475 MB / 0.6471 GB, free: 9.852 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6467, allocations: 0 / 0.6471 GB, free: 9.852 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004564/0.6512, allocations: 1.03 MB / 0.6481 GB, free: 8.82 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.0004625/0.6517, allocations: 148.8 kB / 0.6483 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005442/0.6571, allocations: 3.016 MB / 0.6512 GB, free: 5.688 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.6571, allocations: 0 / 0.6512 GB, free: 5.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009946/0.6581, allocations: 0.6892 MB / 0.6519 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.6597, allocations: 176.5 kB / 0.6521 GB, free: 4.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/0.6791, allocations: 7.694 MB / 0.6596 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005728/0.6848, allocations: 2.42 MB / 0.6619 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008137/0.6856, allocations: 191.4 kB / 0.6621 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.673e-06/0.6856, allocations: 0 / 0.6621 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.07581/0.7614, allocations: 42.75 MB / 0.7039 GB, free: 15.66 MB / 0.545 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: 10.979509170167148] Failed to read output from testmodel.py, exit status != 0: 0.77206642460078 0.788088515 0.35000482199999994 Calling exit ...