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.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.3+maint.om/package.mo", uses=false) 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.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.3_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_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.001214/0.001214, allocations: 116.9 kB / 17.08 MB, free: 6.012 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.0009962/0.0009963, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.551/1.551, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2068/0.2068, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 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: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.89 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.108, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01188/0.1199, allocations: 11.29 MB / 0.4995 GB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006166/0.1261, allocations: 2.789 MB / 0.5023 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.128, allocations: 51.94 kB / 0.5023 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.1311, allocations: 1.312 MB / 0.5036 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.1345, allocations: 1.214 MB / 0.5048 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.1351, allocations: 71.84 kB / 0.5049 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00465/0.1398, allocations: 2.768 MB / 0.5076 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/0.1433, allocations: 1.848 MB / 0.5094 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.1455, allocations: 1.051 MB / 0.5104 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.148, allocations: 1.448 MB / 0.5118 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008244/0.1489, allocations: 208 kB / 0.512 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.1505, allocations: 499.3 kB / 0.5125 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.1524, allocations: 1.414 MB / 0.5139 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00305/0.1555, allocations: 1.715 MB / 0.5155 GB, free: 12 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006743/0.1623, allocations: 5.483 MB / 0.5209 GB, free: 10.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1623, allocations: 7.938 kB / 0.5209 GB, free: 10.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1623, allocations: 0 / 0.5209 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002335/0.1626, allocations: 0 / 0.5209 GB, free: 10.5 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.007886/0.1705, allocations: 3.605 MB / 0.5244 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1705, allocations: 15.83 kB / 0.5244 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.1805, allocations: 2.944 MB / 0.5273 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.1839, allocations: 1.534 MB / 0.5288 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.1841, allocations: 172.6 kB / 0.529 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000958/0.1851, allocations: 220 kB / 0.5292 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2424/0.4275, allocations: 9.464 MB / 0.5384 GB, free: 34.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.4277, allocations: 18.22 kB / 0.5384 GB, free: 34.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007627/0.4284, allocations: 108.3 kB / 0.5385 GB, free: 34.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004449/0.4329, allocations: 2.38 MB / 0.5409 GB, free: 34.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.4511, allocations: 8.661 MB / 0.5493 GB, free: 31.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03683/0.4879, allocations: 29.09 MB / 0.5777 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.4923, allocations: 3.052 MB / 0.5807 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.4934, allocations: 0.9843 MB / 0.5817 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007646/0.5011, allocations: 4.821 MB / 0.5864 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.5012, allocations: 47.16 kB / 0.5864 GB, free: 14.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.478e-06/0.5012, allocations: 0 / 0.5864 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006366/0.5076, allocations: 2.732 MB / 0.5891 GB, free: 11.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5077, allocations: 60.06 kB / 0.5892 GB, free: 11.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004619/0.5123, allocations: 2.573 MB / 0.5917 GB, free: 8.781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.5125, allocations: 37.7 kB / 0.5917 GB, free: 8.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/0.5146, allocations: 2.645 MB / 0.5943 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006369/0.5153, allocations: 0.4898 MB / 0.5948 GB, free: 5.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.5168, allocations: 0.8967 MB / 0.5956 GB, free: 4.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002739/0.5171, allocations: 363.5 kB / 0.596 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.5192, allocations: 1.355 MB / 0.5973 GB, free: 2.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004399/0.5236, allocations: 4.122 MB / 0.6013 GB, free: 13.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007321/0.531, allocations: 5.96 MB / 0.6072 GB, free: 6.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.5312, allocations: 28 kB / 0.6072 GB, free: 6.055 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01042/0.5416, allocations: 5.286 MB / 0.6123 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.5418, allocations: 44 kB / 0.6124 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/0.5419, allocations: 103.9 kB / 0.6125 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.5421, allocations: 128 kB / 0.6126 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/0.5453, allocations: 0.9801 MB / 0.6136 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001822/0.5455, allocations: 191.3 kB / 0.6137 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003415/0.5489, allocations: 0.5995 MB / 0.6143 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006818/0.5496, allocations: 276 kB / 0.6146 GB, free: 14.45 MB / 462.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.003519/0.5531, allocations: 1.899 MB / 0.6164 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.5535, allocations: 209.2 kB / 0.6166 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007153/0.5543, allocations: 275.4 kB / 0.6169 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.267e-05/0.5543, allocations: 19.98 kB / 0.6169 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.5543, allocations: 0 / 0.6169 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.5544, allocations: 7.984 kB / 0.6169 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.5651, allocations: 5.61 MB / 0.6224 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.5652, allocations: 8 kB / 0.6224 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.5658, allocations: 136.3 kB / 0.6226 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/0.5658, allocations: 12 kB / 0.6226 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.5659, allocations: 23.98 kB / 0.6226 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/0.5659, allocations: 11.98 kB / 0.6226 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.5659, allocations: 11.03 kB / 0.6226 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.5682, allocations: 1.784 MB / 0.6244 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.5688, allocations: 294 kB / 0.6246 GB, free: 3.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/0.5692, allocations: 16 kB / 0.6246 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.5699, allocations: 47.94 kB / 0.6247 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.57, allocations: 60.38 kB / 0.6247 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/0.5701, allocations: 43.98 kB / 0.6248 GB, free: 3.766 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002613/0.5728, allocations: 1.556 MB / 0.6263 GB, free: 2.195 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5728, allocations: 0 / 0.6263 GB, free: 2.195 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003923/0.5767, allocations: 1.012 MB / 0.6273 GB, free: 1.184 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.0005173/0.5773, allocations: 149.7 kB / 0.6274 GB, free: 1.031 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005081/0.5823, allocations: 3.158 MB / 0.6305 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/0.5824, allocations: 0 / 0.6305 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.5834, allocations: 0.7386 MB / 0.6312 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.5852, allocations: 252.9 kB / 0.6315 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.6001, allocations: 7.595 MB / 0.6389 GB, free: 5.242 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004928/0.6051, allocations: 2.973 MB / 0.6418 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/0.6058, allocations: 191.4 kB / 0.642 GB, free: 2.051 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6059, allocations: 0 / 0.642 GB, free: 2.051 MB / 478.1 MB Notification: Performance of Templates: time 0.06536/0.6712, allocations: 42.43 MB / 0.6834 GB, free: 7.605 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile (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)