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.00147/0.00147, allocations: 105 kB / 20.44 MB, free: 1.504 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.001639/0.001639, allocations: 217.3 kB / 23.76 MB, free: 4.727 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.321/1.321, allocations: 207.6 MB / 234.5 MB, free: 10.86 MB / 190.1 MB " [Timeout remaining time 179] 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.2019/0.2019, allocations: 44.24 MB / 331 MB, free: 9.609 MB / 270.1 MB " [Timeout remaining time 180] 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.00207/0.00207, allocations: 71.89 kB / 468.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1035, allocations: 61.03 MB / 0.5174 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01222/0.1157, allocations: 11.37 MB / 0.5285 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005321/0.121, allocations: 2.801 MB / 0.5312 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.1223, allocations: 63.81 kB / 0.5313 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.1248, allocations: 1.35 MB / 0.5326 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.1271, allocations: 1.265 MB / 0.5338 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1274, allocations: 75.84 kB / 0.5339 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002854/0.1302, allocations: 2.745 MB / 0.5366 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.132, allocations: 1.679 MB / 0.5382 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.1333, allocations: 1.07 MB / 0.5392 GB, free: 304 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1833/0.3167, allocations: 1.606 MB / 0.5408 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005085/0.3172, allocations: 209.5 kB / 0.541 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3182, allocations: 0.4954 MB / 0.5415 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.3193, allocations: 1.446 MB / 0.5429 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.3205, allocations: 1.717 MB / 0.5446 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005746/0.3263, allocations: 5.511 MB / 0.55 GB, free: 10.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3263, allocations: 3.375 kB / 0.55 GB, free: 10.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3263, allocations: 0 / 0.55 GB, free: 10.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001353/0.3264, allocations: 1.281 kB / 0.55 GB, free: 10.18 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.005846/0.3323, allocations: 3.632 MB / 0.5535 GB, free: 8.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3323, allocations: 9.781 kB / 0.5535 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009044/0.3414, allocations: 2.962 MB / 0.5564 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.3447, allocations: 1.483 MB / 0.5579 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.3448, allocations: 172 kB / 0.558 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000481/0.3453, allocations: 222.6 kB / 0.5582 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.3572, allocations: 9.476 MB / 0.5675 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.14e-05/0.3572, allocations: 20.66 kB / 0.5675 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/0.3576, allocations: 106.5 kB / 0.5676 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00306/0.3606, allocations: 2.375 MB / 0.5699 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.3747, allocations: 8.665 MB / 0.5784 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04071/0.4155, allocations: 29.06 MB / 0.6068 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/0.4199, allocations: 2.043 MB / 0.6088 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.4212, allocations: 0.9009 MB / 0.6097 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008787/0.43, allocations: 3.949 MB / 0.6135 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.43, allocations: 47.86 kB / 0.6136 GB, free: 13.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 3.216e-06/0.43, allocations: 0 / 0.6136 GB, free: 13.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.0062/0.4362, allocations: 2.75 MB / 0.6162 GB, free: 10.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4363, allocations: 60.06 kB / 0.6163 GB, free: 10.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/0.4406, allocations: 2.57 MB / 0.6188 GB, free: 7.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.463e-05/0.4406, allocations: 37.7 kB / 0.6188 GB, free: 7.637 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.4428, allocations: 2.765 MB / 0.6215 GB, free: 4.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006029/0.4434, allocations: 0.5009 MB / 0.622 GB, free: 4.387 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/0.4448, allocations: 0.9118 MB / 0.6229 GB, free: 3.465 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.445, allocations: 362.5 kB / 0.6233 GB, free: 3.105 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.4471, allocations: 1.355 MB / 0.6246 GB, free: 1.742 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/0.4516, allocations: 4.12 MB / 0.6286 GB, free: 12.28 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007213/0.4588, allocations: 5.959 MB / 0.6344 GB, free: 5.344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.4589, allocations: 28 kB / 0.6345 GB, free: 5.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00955/0.4685, allocations: 5.297 MB / 0.6396 GB, free: 196 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/0.4686, allocations: 48 kB / 0.6397 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/0.4687, allocations: 101.3 kB / 0.6398 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.4689, allocations: 128 kB / 0.6399 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/0.4718, allocations: 0.9708 MB / 0.6409 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001858/0.472, allocations: 195.2 kB / 0.641 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/0.4751, allocations: 0.6239 MB / 0.6416 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/0.4757, allocations: 280 kB / 0.6419 GB, free: 13.86 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.003651/0.4794, allocations: 1.892 MB / 0.6438 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/0.4798, allocations: 226.5 kB / 0.644 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.4804, allocations: 267.4 kB / 0.6442 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/0.4805, allocations: 16 kB / 0.6442 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4805, allocations: 3.938 kB / 0.6443 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.4805, allocations: 3.984 kB / 0.6443 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.492, allocations: 5.588 MB / 0.6497 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.492, allocations: 4 kB / 0.6497 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.4926, allocations: 150.4 kB / 0.6499 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-05/0.4926, allocations: 8 kB / 0.6499 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-05/0.4927, allocations: 24 kB / 0.6499 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.4927, allocations: 11.94 kB / 0.6499 GB, free: 5.574 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4927, allocations: 4 kB / 0.6499 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.4951, allocations: 1.8 MB / 0.6517 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006086/0.4957, allocations: 226.2 kB / 0.6519 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/0.4961, allocations: 16.61 kB / 0.6519 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.4968, allocations: 42.61 kB / 0.6519 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.4969, allocations: 68.28 kB / 0.652 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.497, allocations: 36 kB / 0.652 GB, free: 3.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002896/0.4999, allocations: 1.56 MB / 0.6536 GB, free: 1.734 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4999, allocations: 0 / 0.6536 GB, free: 1.734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003873/0.5038, allocations: 1.019 MB / 0.6546 GB, free: 0.7148 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.0003683/0.5042, allocations: 149.6 kB / 0.6547 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004867/0.509, allocations: 3.022 MB / 0.6576 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.509, allocations: 0 / 0.6576 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.51, allocations: 0.6837 MB / 0.6583 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5114, allocations: 272.1 kB / 0.6586 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.5257, allocations: 7.693 MB / 0.6661 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004055/0.5297, allocations: 2.972 MB / 0.669 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/0.5304, allocations: 199.4 kB / 0.6692 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.5304, allocations: 0 / 0.6692 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.06545/0.5958, allocations: 42.64 MB / 0.7108 GB, free: 7.031 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: 9.646377897122875] Failed to read output from testmodel.py, exit status != 0: 0.6048169808927923 0.618030805 0.28874893 Calling exit ...