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.0009245/0.0009245, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001044/0.001044, allocations: 169.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8971/0.8971, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 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.1263/0.1263, allocations: 32.38 MB / 269.6 MB, free: 14.97 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 406.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.934e-05, allocations: 9.938 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.007135/0.007154, allocations: 9.862 MB / 416.7 MB, free: 8.332 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.01164, allocations: 2.68 MB / 419.4 MB, free: 5.645 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.01266, allocations: 59.81 kB / 419.4 MB, free: 5.586 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.01423, allocations: 1.335 MB / 420.8 MB, free: 4.246 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.0161, allocations: 1.302 MB / 422.1 MB, free: 2.938 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.01632, allocations: 83.78 kB / 422.1 MB, free: 2.855 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.01801, allocations: 2.81 MB / 425 MB, free: 36 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.0192, allocations: 1.694 MB / 426.6 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.02068, allocations: 1.559 MB / 428.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.02209, allocations: 1.508 MB / 429.7 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.0224, allocations: 211.9 kB / 429.9 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007116/0.02311, allocations: 463.5 kB / 430.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.02423, allocations: 1.507 MB / 431.9 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008706/0.0251, allocations: 0.8756 MB / 432.8 MB, free: 8.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.02974, allocations: 5.371 MB / 438.1 MB, free: 2.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.02974, allocations: 0 / 438.1 MB, free: 2.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.02975, allocations: 7.984 kB / 438.1 MB, free: 2.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.688e-05/0.02983, allocations: 0 / 438.1 MB, free: 2.781 MB / 410.7 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.003506/0.03334, allocations: 3.588 MB / 441.7 MB, free: 15.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.03338, allocations: 8.031 kB / 441.7 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005029/0.03389, allocations: 0.6749 MB / 442.4 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.03895, allocations: 2.989 MB / 445.4 MB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.04091, allocations: 1.491 MB / 446.9 MB, free: 9.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.04099, allocations: 180.6 kB / 447.1 MB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.04128, allocations: 224.2 kB / 447.3 MB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008845/0.05013, allocations: 9.488 MB / 456.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.05017, allocations: 15.88 kB / 456.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.05038, allocations: 111.8 kB / 456.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00199/0.05237, allocations: 2.369 MB / 459.3 MB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009677/0.06205, allocations: 8.66 MB / 467.9 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1781/0.2402, allocations: 27.75 MB / 495.7 MB, free: 76.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.2427, allocations: 2.114 MB / 497.8 MB, free: 76.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.2434, allocations: 0.901 MB / 498.7 MB, free: 75.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004289/0.2476, allocations: 3.921 MB / 0.4908 GB, free: 74.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2477, allocations: 41.44 kB / 0.4909 GB, free: 74.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 3.207e-06/0.2477, allocations: 2.125 kB / 0.4909 GB, free: 74.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.003465/0.2511, allocations: 2.875 MB / 0.4937 GB, free: 73.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2512, allocations: 60.31 kB / 0.4937 GB, free: 73.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002485/0.2536, allocations: 2.743 MB / 0.4964 GB, free: 72.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.2537, allocations: 36.83 kB / 0.4964 GB, free: 72.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008715/0.2546, allocations: 2.741 MB / 0.4991 GB, free: 70.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.2548, allocations: 0.5029 MB / 0.4996 GB, free: 70.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000776/0.2556, allocations: 0.894 MB / 0.5005 GB, free: 70.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.2556, allocations: 355 kB / 0.5008 GB, free: 69.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.257, allocations: 1.356 MB / 0.5022 GB, free: 69.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.2591, allocations: 4.114 MB / 0.5062 GB, free: 65.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/0.2631, allocations: 5.969 MB / 0.512 GB, free: 60.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.813e-05/0.2632, allocations: 28.34 kB / 0.512 GB, free: 60.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007143/0.2703, allocations: 5.301 MB / 0.5172 GB, free: 58.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.2704, allocations: 47.38 kB / 0.5172 GB, free: 58.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.2705, allocations: 100.7 kB / 0.5173 GB, free: 58.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.2706, allocations: 128.9 kB / 0.5175 GB, free: 58.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.2724, allocations: 0.9785 MB / 0.5184 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001005/0.2725, allocations: 190.4 kB / 0.5186 GB, free: 58.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.2747, allocations: 0.616 MB / 0.5192 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.275, allocations: 278 kB / 0.5195 GB, free: 57.61 MB / 442.7 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.002151/0.2772, allocations: 1.891 MB / 0.5213 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.2773, allocations: 229.5 kB / 0.5215 GB, free: 56.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.2776, allocations: 270.6 kB / 0.5218 GB, free: 56.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.2776, allocations: 14.97 kB / 0.5218 GB, free: 56.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.2776, allocations: 0 / 0.5218 GB, free: 56.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2776, allocations: 7.688 kB / 0.5218 GB, free: 56.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005729/0.2834, allocations: 5.495 MB / 0.5272 GB, free: 53.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2834, allocations: 4.938 kB / 0.5272 GB, free: 53.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.2837, allocations: 137.5 kB / 0.5273 GB, free: 53.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.2837, allocations: 8 kB / 0.5273 GB, free: 53.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.2837, allocations: 24.64 kB / 0.5273 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.2837, allocations: 13.73 kB / 0.5274 GB, free: 53.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2837, allocations: 11.94 kB / 0.5274 GB, free: 53.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.2849, allocations: 1.793 MB / 0.5291 GB, free: 51.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.2852, allocations: 227.6 kB / 0.5293 GB, free: 51.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.2853, allocations: 18.81 kB / 0.5294 GB, free: 51.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.2857, allocations: 36.8 kB / 0.5294 GB, free: 51.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.2857, allocations: 71.56 kB / 0.5295 GB, free: 51.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.2858, allocations: 37.92 kB / 0.5295 GB, free: 51.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00128/0.2871, allocations: 1.563 MB / 0.531 GB, free: 50.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.2871, allocations: 4 kB / 0.531 GB, free: 50.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0024/0.2895, allocations: 1.016 MB / 0.532 GB, free: 48.99 MB / 442.7 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.001329/0.2908, allocations: 2.433 MB / 0.5344 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.2937, allocations: 3.026 MB / 0.5374 GB, free: 44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2937, allocations: 0 / 0.5374 GB, free: 44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.2942, allocations: 0.6799 MB / 0.538 GB, free: 43.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.2951, allocations: 254 kB / 0.5383 GB, free: 43.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/0.318, allocations: 29.22 MB / 0.5668 GB, free: 10.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/0.3199, allocations: 2.417 MB / 0.5692 GB, free: 8.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001691/0.3215, allocations: 1.488 MB / 0.5706 GB, free: 6.773 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.3226, allocations: 1.516 MB / 0.5721 GB, free: 5.258 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3226, allocations: 4 kB / 0.5721 GB, free: 5.254 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05095/0.3735, allocations: 38.24 MB / 0.6094 GB, free: 15.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/8.814, allocations: 7.875 kB / 0.6095 GB, free: 15.09 MB / 490.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.77190482057631] Failed to read output from testmodel.py, exit status != 0: 8.913615021854639 8.926850337 8.895122159 Calling exit ...