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.001425/0.001425, allocations: 75.67 kB / 19.93 MB, free: 1.785 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.001794/0.001794, allocations: 162.4 kB / 23.21 MB, free: 4.906 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.561/1.561, allocations: 158.6 MB / 185 MB, free: 6.391 MB / 174.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.2331/0.2331, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.911e-05, allocations: 2.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01283/0.01286, allocations: 9.866 MB / 417.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007076/0.01994, allocations: 2.676 MB / 419.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.02207, allocations: 59.81 kB / 419.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003639/0.02571, allocations: 1.346 MB / 421.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003936/0.02965, allocations: 1.295 MB / 422.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.03019, allocations: 79.78 kB / 422.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004857/0.03505, allocations: 2.828 MB / 425.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004149/0.0392, allocations: 1.698 MB / 427.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005176/0.04437, allocations: 1.563 MB / 428.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.04796, allocations: 1.508 MB / 430.3 MB, free: 12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.04897, allocations: 208 kB / 430.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.05076, allocations: 467.4 kB / 430.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002297/0.05306, allocations: 1.503 MB / 432.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.0551, allocations: 0.8756 MB / 433.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007739/0.06284, allocations: 5.375 MB / 438.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.06284, allocations: 0 / 438.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.06284, allocations: 0 / 438.7 MB, free: 3.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.06302, allocations: 0 / 438.7 MB, free: 3.559 MB / 366.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.008147/0.07117, allocations: 3.585 MB / 442.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.07121, allocations: 8.031 kB / 442.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.08271, allocations: 2.997 MB / 445.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004116/0.08682, allocations: 1.495 MB / 446.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.08703, allocations: 180.6 kB / 446.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009434/0.08798, allocations: 216.2 kB / 447.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/0.109, allocations: 9.481 MB / 456.6 MB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.1091, allocations: 23.75 kB / 456.6 MB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001325/0.1104, allocations: 107.8 kB / 456.8 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005176/0.1156, allocations: 2.377 MB / 459.1 MB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/0.1362, allocations: 8.66 MB / 467.8 MB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2447/0.381, allocations: 26.54 MB / 494.3 MB, free: 47.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.3862, allocations: 2.105 MB / 496.4 MB, free: 47.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.3877, allocations: 0.9024 MB / 497.3 MB, free: 47.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009269/0.397, allocations: 3.904 MB / 0.4895 GB, free: 45.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.397, allocations: 40.88 kB / 0.4895 GB, free: 45.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=126): time 5.13e-06/0.3971, allocations: 0 / 0.4895 GB, free: 45.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=126): time 0.006068/0.4031, allocations: 2.869 MB / 0.4923 GB, free: 45.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.4032, allocations: 66.84 kB / 0.4924 GB, free: 45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/0.4069, allocations: 2.62 MB / 0.495 GB, free: 43.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.407, allocations: 37.23 kB / 0.495 GB, free: 43.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.4085, allocations: 2.747 MB / 0.4977 GB, free: 41.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/0.4089, allocations: 0.5021 MB / 0.4982 GB, free: 41.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.4101, allocations: 0.8958 MB / 0.499 GB, free: 40.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.4102, allocations: 348.2 kB / 0.4994 GB, free: 40.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.412, allocations: 1.358 MB / 0.5007 GB, free: 39.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003126/0.4152, allocations: 4.119 MB / 0.5047 GB, free: 35.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005007/0.4202, allocations: 5.968 MB / 0.5105 GB, free: 28.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/0.4203, allocations: 28 kB / 0.5106 GB, free: 28.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007568/0.4278, allocations: 5.284 MB / 0.5157 GB, free: 23.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.368e-05/0.4279, allocations: 48.22 kB / 0.5158 GB, free: 23.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/0.4281, allocations: 100 kB / 0.5159 GB, free: 23.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.4282, allocations: 128 kB / 0.516 GB, free: 23.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.4306, allocations: 0.9786 MB / 0.5169 GB, free: 22.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.656e-05/0.4307, allocations: 195.2 kB / 0.5171 GB, free: 22.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.4343, allocations: 0.6023 MB / 0.5177 GB, free: 21.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/0.4346, allocations: 276 kB / 0.518 GB, free: 21.3 MB / 398.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.002846/0.4374, allocations: 1.891 MB / 0.5198 GB, free: 19.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.4379, allocations: 210.5 kB / 0.52 GB, free: 19.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.4384, allocations: 270.4 kB / 0.5203 GB, free: 18.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-05/0.4384, allocations: 12 kB / 0.5203 GB, free: 18.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.4384, allocations: 7.938 kB / 0.5203 GB, free: 18.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.4384, allocations: 3.984 kB / 0.5203 GB, free: 18.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008719/0.4472, allocations: 4.314 MB / 0.5245 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.4472, allocations: 9.406 kB / 0.5245 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.4478, allocations: 131.8 kB / 0.5247 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/0.4478, allocations: 8 kB / 0.5247 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.4479, allocations: 20.69 kB / 0.5247 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.4479, allocations: 11.98 kB / 0.5247 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.4479, allocations: 15.7 kB / 0.5247 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.45, allocations: 1.785 MB / 0.5265 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.4505, allocations: 202.3 kB / 0.5267 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.4507, allocations: 31.98 kB / 0.5267 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006111/0.4513, allocations: 35.95 kB / 0.5267 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.4515, allocations: 64.28 kB / 0.5268 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/0.4515, allocations: 43.2 kB / 0.5268 GB, free: 12.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001764/0.4533, allocations: 1.471 MB / 0.5283 GB, free: 10.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4533, allocations: 0 / 0.5283 GB, free: 10.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004089/0.4574, allocations: 1.039 MB / 0.5293 GB, free: 9.57 MB / 398.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.0003965/0.4578, allocations: 147.1 kB / 0.5294 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004171/0.462, allocations: 3.019 MB / 0.5324 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.462, allocations: 0 / 0.5324 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.4626, allocations: 0.6876 MB / 0.533 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.4637, allocations: 173.6 kB / 0.5332 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.4764, allocations: 7.239 MB / 0.5403 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004591/0.481, allocations: 2.415 MB / 0.5426 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003872/0.4849, allocations: 1.464 MB / 0.5441 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/0.4855, allocations: 152.5 kB / 0.5442 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 1.432e-06/0.4855, allocations: 0 / 0.5442 GB, free: 10.18 MB / 414.1 MB Notification: Performance of Templates: time 0.03909/0.5245, allocations: 11.9 MB / 0.5558 GB, free: 14.47 MB / 430.1 MB " [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.445715118199587] Failed to read output from testmodel.py, exit status != 0: 0.5359848774969578 0.554285371 0.487708557 Calling exit ...