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.001461/0.001461, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001856/0.001856, allocations: 213.3 kB / 22.98 MB, free: 4.977 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.603/1.603, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2405/0.2405, allocations: 44.26 MB / 330.3 MB, free: 9.301 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.002584/0.002584, allocations: 75.89 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1388, allocations: 61.03 MB / 0.5166 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0152/0.154, allocations: 9.862 MB / 0.5263 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.1622, allocations: 2.672 MB / 0.5289 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.1653, allocations: 59.81 kB / 0.5289 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004085/0.1694, allocations: 1.296 MB / 0.5302 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/0.1734, allocations: 1.264 MB / 0.5314 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.1739, allocations: 71.92 kB / 0.5315 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004166/0.1781, allocations: 2.757 MB / 0.5342 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002999/0.1811, allocations: 1.668 MB / 0.5358 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.1828, allocations: 1.074 MB / 0.5369 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.1852, allocations: 1.541 MB / 0.5384 GB, free: 300 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.1857, allocations: 208 kB / 0.5386 GB, free: 92 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2581/0.4437, allocations: 406.1 kB / 0.539 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.4456, allocations: 1.446 MB / 0.5404 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.447, allocations: 1.214 MB / 0.5416 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007027/0.454, allocations: 5.535 MB / 0.547 GB, free: 11.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.454, allocations: 0 / 0.547 GB, free: 11.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.454, allocations: 0 / 0.547 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002412/0.4542, allocations: 1.625 kB / 0.547 GB, free: 11.71 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.007841/0.4621, allocations: 3.632 MB / 0.5505 GB, free: 10.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4621, allocations: 8.812 kB / 0.5505 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.4732, allocations: 2.964 MB / 0.5534 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.4782, allocations: 1.494 MB / 0.5549 GB, free: 9.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.4785, allocations: 171.5 kB / 0.555 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.48, allocations: 222.3 kB / 0.5552 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.4964, allocations: 9.474 MB / 0.5645 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.327e-05/0.4964, allocations: 16.34 kB / 0.5645 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/0.4968, allocations: 111.9 kB / 0.5646 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003545/0.5003, allocations: 2.377 MB / 0.5669 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.516, allocations: 8.641 MB / 0.5754 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04521/0.5612, allocations: 26.44 MB / 0.6012 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/0.5664, allocations: 2.04 MB / 0.6032 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.5679, allocations: 0.8934 MB / 0.6041 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008999/0.5769, allocations: 3.772 MB / 0.6077 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.5769, allocations: 36.25 kB / 0.6078 GB, free: 3.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 5.109e-06/0.5769, allocations: 4 kB / 0.6078 GB, free: 3.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006427/0.5834, allocations: 2.74 MB / 0.6105 GB, free: 1.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.5834, allocations: 60.06 kB / 0.6105 GB, free: 1.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.588, allocations: 2.613 MB / 0.6131 GB, free: 14.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.991e-05/0.5881, allocations: 33.7 kB / 0.6131 GB, free: 14.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.5903, allocations: 2.772 MB / 0.6158 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006614/0.5909, allocations: 0.5186 MB / 0.6163 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.5923, allocations: 0.9082 MB / 0.6172 GB, free: 10.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.5926, allocations: 351 kB / 0.6175 GB, free: 9.789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.5947, allocations: 1.355 MB / 0.6189 GB, free: 8.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004485/0.5992, allocations: 4.123 MB / 0.6229 GB, free: 2.965 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007491/0.6067, allocations: 5.963 MB / 0.6287 GB, free: 12.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.601e-05/0.6067, allocations: 35.88 kB / 0.6287 GB, free: 11.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009052/0.6158, allocations: 5.276 MB / 0.6339 GB, free: 6.797 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.6159, allocations: 48 kB / 0.6339 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.616, allocations: 96.91 kB / 0.634 GB, free: 6.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.6161, allocations: 128 kB / 0.6342 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.6191, allocations: 0.9903 MB / 0.6351 GB, free: 5.539 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000167/0.6192, allocations: 187.3 kB / 0.6353 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/0.6224, allocations: 0.5972 MB / 0.6359 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/0.6228, allocations: 280 kB / 0.6362 GB, free: 4.48 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.003723/0.6266, allocations: 1.896 MB / 0.638 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004238/0.627, allocations: 214.5 kB / 0.6382 GB, free: 2.367 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.6275, allocations: 262.4 kB / 0.6385 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/0.6275, allocations: 20 kB / 0.6385 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.6275, allocations: 0 / 0.6385 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.6275, allocations: 3.984 kB / 0.6385 GB, free: 2.082 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.6377, allocations: 4.267 MB / 0.6427 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.6377, allocations: 11.98 kB / 0.6427 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.6384, allocations: 139.7 kB / 0.6428 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.77e-05/0.6384, allocations: 8 kB / 0.6428 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.6385, allocations: 23.05 kB / 0.6428 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.749e-05/0.6385, allocations: 15.92 kB / 0.6428 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.6385, allocations: 4 kB / 0.6428 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.6413, allocations: 1.789 MB / 0.6446 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/0.6419, allocations: 214.3 kB / 0.6448 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/0.6422, allocations: 31.03 kB / 0.6448 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.6428, allocations: 31.97 kB / 0.6449 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.643, allocations: 64.28 kB / 0.6449 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.755e-05/0.6431, allocations: 47.03 kB / 0.645 GB, free: 11.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002567/0.6456, allocations: 1.467 MB / 0.6464 GB, free: 9.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6456, allocations: 0 / 0.6464 GB, free: 9.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004245/0.6499, allocations: 1.032 MB / 0.6474 GB, free: 8.781 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.0004123/0.6503, allocations: 146.3 kB / 0.6475 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005255/0.6555, allocations: 3.016 MB / 0.6505 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.6556, allocations: 0 / 0.6505 GB, free: 5.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009985/0.6566, allocations: 0.6862 MB / 0.6512 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.6579, allocations: 184.9 kB / 0.6513 GB, free: 4.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/0.6734, allocations: 7.262 MB / 0.6584 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00402/0.6774, allocations: 2.417 MB / 0.6608 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003447/0.6808, allocations: 1.465 MB / 0.6622 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.6812, allocations: 151.4 kB / 0.6624 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.6812, allocations: 0 / 0.6624 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of Templates: time 0.04105/0.7223, allocations: 15.61 MB / 0.6776 GB, free: 9.883 MB / 0.5137 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.468253200873733] Failed to read output from testmodel.py, exit status != 0: 0.7329050693660975 0.747692103 0.290102238 Calling exit ...