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.0008898/0.0008898, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.00233, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007296/0.0007296, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001772, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.021/1.021, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1935/1.215, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.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.1302/0.1302, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02913/0.1593, allocations: 12.31 MB / 266.1 MB, free: 3.887 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: 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 2.305e-06/2.305e-06, allocations: 0 / 267.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.973e-05, allocations: 18.19 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01264/0.01267, allocations: 10.71 MB / 278.1 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006632/0.0193, allocations: 2.861 MB / 281 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007807/0.02008, allocations: 63.81 kB / 281 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.02171, allocations: 1.354 MB / 282.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.02342, allocations: 1.318 MB / 283.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.02366, allocations: 83.78 kB / 283.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.2078/0.2315, allocations: 2.823 MB / 286.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.235, allocations: 1.648 MB / 288.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.2395, allocations: 1.628 MB / 289.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.2435, allocations: 1.42 MB / 291.3 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.2447, allocations: 208.9 kB / 291.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002295/0.247, allocations: 476.4 kB / 292 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.2493, allocations: 1.363 MB / 293.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.2517, allocations: 0.7359 MB / 294.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006491/0.2582, allocations: 3.241 MB / 297.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.099e-05/0.2582, allocations: 0 / 297.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2582, allocations: 0.7031 kB / 297.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003008/0.2585, allocations: 0 / 297.3 MB, free: 0.9297 MB / 282.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.01123/0.2698, allocations: 4.097 MB / 301.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.2698, allocations: 9.375 kB / 301.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/0.2737, allocations: 1.354 MB / 302.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.2765, allocations: 1.166 MB / 303.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.2766, allocations: 173.5 kB / 304.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003154/0.2769, allocations: 220.2 kB / 304.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007467/0.2844, allocations: 4.007 MB / 308.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.2844, allocations: 18.88 kB / 308.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.2847, allocations: 110.9 kB / 308.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/0.287, allocations: 1.97 MB / 310.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.2979, allocations: 2.233 MB / 312.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/0.3328, allocations: 21.82 MB / 334.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002328/0.3352, allocations: 1.016 MB / 335.5 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.3355, allocations: 208.5 kB / 335.7 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005123/0.3406, allocations: 2.626 MB / 338.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.3407, allocations: 42.16 kB / 338.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 6.051e-06/0.3407, allocations: 8 kB / 338.4 MB, free: 15.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.002853/0.3435, allocations: 1.209 MB / 339.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.3436, allocations: 64.05 kB / 339.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.3462, allocations: 1.913 MB / 341.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.3463, allocations: 37.7 kB / 341.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.3479, allocations: 2.68 MB / 344.3 MB, free: 9.609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.3483, allocations: 0.5013 MB / 344.8 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008086/0.3491, allocations: 0.8363 MB / 345.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3492, allocations: 346.6 kB / 345.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.3496, allocations: 328.6 kB / 346.3 MB, free: 7.734 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.3521, allocations: 3.109 MB / 349.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/0.357, allocations: 4.379 MB / 353.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.744e-05/0.3571, allocations: 28 kB / 353.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004479/0.3616, allocations: 2.892 MB / 356.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.3616, allocations: 51.94 kB / 356.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.3618, allocations: 115.3 kB / 356.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.919e-05/0.3618, allocations: 128 kB / 357 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.3637, allocations: 1.053 MB / 358 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001001/0.3638, allocations: 191.2 kB / 358.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/0.3664, allocations: 0.5898 MB / 358.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/0.3667, allocations: 240 kB / 359 MB, free: 8.711 MB / 346.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.001942/0.3686, allocations: 472 kB / 359.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.3689, allocations: 127.8 kB / 359.6 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.3692, allocations: 222.4 kB / 359.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.3692, allocations: 8 kB / 359.8 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3692, allocations: 0 / 359.8 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3692, allocations: 7.984 kB / 359.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/0.3735, allocations: 2.475 MB / 362.3 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.3735, allocations: 19.98 kB / 362.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.3739, allocations: 128.4 kB / 362.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.3743, allocations: 205.4 kB / 362.7 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.3743, allocations: 15.94 kB / 362.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.3744, allocations: 19.98 kB / 362.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.3744, allocations: 8 kB / 362.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3744, allocations: 7.938 kB / 362.7 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008611/0.3752, allocations: 0.7464 MB / 363.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.3754, allocations: 26.36 kB / 363.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.3758, allocations: 16 kB / 363.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.3759, allocations: 64.28 kB / 363.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.3759, allocations: 38.56 kB / 363.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008904/0.3768, allocations: 0.7275 MB / 364.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3768, allocations: 0 / 364.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003542/0.3804, allocations: 1.032 MB / 365.4 MB, free: 2.543 MB / 346.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.0003612/0.3807, allocations: 128.1 kB / 365.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.3836, allocations: 1.73 MB / 367.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001703/0.3837, allocations: 63.92 kB / 367.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.3842, allocations: 289 kB / 367.6 MB, free: 356 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.3862, allocations: 1.086 MB / 368.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.4025, allocations: 6.49 MB / 375.1 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/0.4043, allocations: 1.035 MB / 376.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001337/0.4056, allocations: 327 kB / 376.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.4061, allocations: 315.3 kB / 376.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of SimCode: time 2.405e-06/0.4061, allocations: 0 / 376.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of Templates: time 0.03749/0.4436, allocations: 11.98 MB / 388.8 MB, free: 10.89 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3574389638379216]