Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008136/0.008137, allocations: 172.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 222.4 MB, free: 5.812 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.388/0.388, allocations: 40.01 MB / 310.7 MB, free: 9.785 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006465/0.0006466, allocations: 12.47 kB / 379.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1441, allocations: 57.95 MB / 437.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.3422/0.4864, allocations: 27.79 MB / 465.2 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.5052, allocations: 5.572 MB / 470.8 MB, free: 33.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00835/0.5136, allocations: 118.5 kB / 470.9 MB, free: 33.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.5154, allocations: 408.7 kB / 471.3 MB, free: 33.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.5193, allocations: 1.155 MB / 472.4 MB, free: 33.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.52, allocations: 74.05 kB / 472.5 MB, free: 33.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004888/0.5249, allocations: 4.037 MB / 476.5 MB, free: 32.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004315/0.5292, allocations: 2.317 MB / 478.9 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.5313, allocations: 0.8386 MB / 479.7 MB, free: 31.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.5339, allocations: 1.426 MB / 481.1 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008386/0.5348, allocations: 113.8 kB / 481.2 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.5363, allocations: 408.6 kB / 481.6 MB, free: 31.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001624/0.538, allocations: 1.331 MB / 483 MB, free: 30.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.5408, allocations: 1.638 MB / 484.6 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.5472, allocations: 5.026 MB / 489.6 MB, free: 28.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.5473, allocations: 4 kB / 489.6 MB, free: 28.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5473, allocations: 0 / 489.6 MB, free: 28.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002941/0.5476, allocations: 0 / 489.6 MB, free: 28.09 MB / 382.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.007063/0.5546, allocations: 2.935 MB / 492.6 MB, free: 26.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5547, allocations: 9.766 kB / 492.6 MB, free: 26.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.5657, allocations: 3.021 MB / 495.6 MB, free: 25.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.5697, allocations: 1.529 MB / 497.1 MB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.57, allocations: 177 kB / 497.3 MB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.5713, allocations: 218.2 kB / 497.5 MB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/0.5916, allocations: 9.487 MB / 0.4951 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.138e-05/0.5917, allocations: 18.97 kB / 0.4951 GB, free: 21.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/0.5921, allocations: 107.8 kB / 0.4952 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004036/0.5962, allocations: 2.372 MB / 0.4976 GB, free: 20.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.6151, allocations: 8.667 MB / 0.506 GB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04609/0.6612, allocations: 29.32 MB / 0.5347 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005567/0.6669, allocations: 3.053 MB / 0.5376 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.6685, allocations: 0.9855 MB / 0.5386 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008894/0.6775, allocations: 4.846 MB / 0.5433 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6775, allocations: 43.2 kB / 0.5434 GB, free: 9.453 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.849e-06/0.6775, allocations: 0 / 0.5434 GB, free: 9.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006365/0.6839, allocations: 2.738 MB / 0.546 GB, free: 6.711 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.684, allocations: 60.06 kB / 0.5461 GB, free: 6.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005177/0.6892, allocations: 2.569 MB / 0.5486 GB, free: 4.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.6894, allocations: 41.7 kB / 0.5487 GB, free: 3.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/0.6916, allocations: 2.645 MB / 0.5512 GB, free: 1.348 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007452/0.6924, allocations: 498 kB / 0.5517 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006383/0.693, allocations: 395.7 kB / 0.5521 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.6932, allocations: 357.9 kB / 0.5524 GB, free: 120 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.6955, allocations: 1.352 MB / 0.5537 GB, free: 14.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00442/0.7, allocations: 4.126 MB / 0.5578 GB, free: 9.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/0.7074, allocations: 5.96 MB / 0.5636 GB, free: 1.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001389/0.7076, allocations: 28 kB / 0.5636 GB, free: 1.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01143/0.7191, allocations: 5.282 MB / 0.5688 GB, free: 12.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.7192, allocations: 48 kB / 0.5688 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/0.7194, allocations: 100 kB / 0.5689 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.7196, allocations: 128 kB / 0.569 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.7228, allocations: 0.9786 MB / 0.57 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002221/0.723, allocations: 187.3 kB / 0.5702 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/0.7268, allocations: 0.603 MB / 0.5708 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007019/0.7276, allocations: 283.1 kB / 0.571 GB, free: 10.27 MB / 446.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.00422/0.7318, allocations: 1.895 MB / 0.5729 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/0.7323, allocations: 209.2 kB / 0.5731 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.7332, allocations: 275.4 kB / 0.5734 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-05/0.7332, allocations: 13.95 kB / 0.5734 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.7332, allocations: 4 kB / 0.5734 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.7332, allocations: 3.984 kB / 0.5734 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.7448, allocations: 5.616 MB / 0.5789 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.7448, allocations: 4 kB / 0.5789 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.7454, allocations: 135.8 kB / 0.579 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.7455, allocations: 11.94 kB / 0.579 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.418e-05/0.7455, allocations: 20.56 kB / 0.579 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.716e-05/0.7456, allocations: 15.92 kB / 0.579 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/0.7456, allocations: 8 kB / 0.579 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.748, allocations: 1.795 MB / 0.5808 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/0.7488, allocations: 294 kB / 0.5811 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005427/0.7493, allocations: 19.98 kB / 0.5811 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/0.7503, allocations: 47.95 kB / 0.5811 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.7505, allocations: 62.56 kB / 0.5812 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-05/0.7506, allocations: 40 kB / 0.5812 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003617/0.7542, allocations: 1.56 MB / 0.5828 GB, free: 14.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7542, allocations: 0 / 0.5828 GB, free: 14.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004775/0.759, allocations: 1.006 MB / 0.5837 GB, free: 13.03 MB / 462.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.0004739/0.7595, allocations: 150.3 kB / 0.5839 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005478/0.765, allocations: 3.123 MB / 0.5869 GB, free: 9.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.629e-06/0.765, allocations: 4 kB / 0.5869 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.7661, allocations: 0.7398 MB / 0.5877 GB, free: 9.035 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/0.7694, allocations: 250.3 kB / 0.5879 GB, free: 8.797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.7871, allocations: 9.204 MB / 0.5969 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004768/0.7919, allocations: 2.97 MB / 0.5998 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004104/0.796, allocations: 1.484 MB / 0.6012 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006974/0.7968, allocations: 159.4 kB / 0.6014 GB, free: 10.88 MB / 478.1 MB Notification: Performance of SimCode: time 1.443e-06/0.7968, allocations: 0 / 0.6014 GB, free: 10.88 MB / 478.1 MB Notification: Performance of Templates: time 0.03982/0.8366, allocations: 17.76 MB / 0.6187 GB, free: 9.215 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) Environment - environmentSimulation: