Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002296/0.002296, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2943/0.2943, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007235/0.0007237, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1651, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.03951/0.2047, allocations: 24.52 MB / 0.5028 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.2208, allocations: 5.558 MB / 0.5082 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004908/0.2258, allocations: 115.8 kB / 0.5083 GB, free: 10.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004652/0.2305, allocations: 1.264 MB / 0.5095 GB, free: 9.688 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.2453, allocations: 3.616 MB / 0.5131 GB, free: 6.062 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.2469, allocations: 79.92 kB / 0.5132 GB, free: 5.984 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.2512, allocations: 1.508 MB / 0.5146 GB, free: 4.477 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005021/0.2563, allocations: 2.129 MB / 0.5167 GB, free: 2.293 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.2583, allocations: 0.7473 MB / 0.5174 GB, free: 1.543 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.2607, allocations: 0.9808 MB / 0.5184 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000801/0.2615, allocations: 116 kB / 0.5185 GB, free: 456 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.2632, allocations: 367.5 kB / 0.5189 GB, free: 88 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3302/0.5935, allocations: 1.188 MB / 0.52 GB, free: 12.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001896/0.5954, allocations: 0.6861 MB / 0.5207 GB, free: 12.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008181/0.6037, allocations: 4.162 MB / 0.5247 GB, free: 12.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6037, allocations: 0 / 0.5247 GB, free: 12.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6037, allocations: 0 / 0.5247 GB, free: 12.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002496/0.604, allocations: 0 / 0.5247 GB, free: 12.53 MB / 362.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.009435/0.6134, allocations: 2.976 MB / 0.5277 GB, free: 10.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.6135, allocations: 9.094 kB / 0.5277 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002959/0.6165, allocations: 0.67 MB / 0.5283 GB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02188/0.6384, allocations: 3.578 MB / 0.5318 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005885/0.6444, allocations: 1.513 MB / 0.5333 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.6447, allocations: 169.8 kB / 0.5335 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001929/0.6466, allocations: 221.5 kB / 0.5337 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02704/0.6737, allocations: 9.494 MB / 0.5429 GB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/0.6739, allocations: 19.22 kB / 0.543 GB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002088/0.676, allocations: 110.3 kB / 0.5431 GB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006599/0.6827, allocations: 2.375 MB / 0.5454 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02506/0.7078, allocations: 8.688 MB / 0.5539 GB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06639/0.7742, allocations: 29.35 MB / 0.5825 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008796/0.7831, allocations: 3.066 MB / 0.5855 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01631/0.7995, allocations: 4.861 MB / 0.5903 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.7996, allocations: 35.22 kB / 0.5903 GB, free: 2.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 6.292e-06/0.7996, allocations: 4 kB / 0.5903 GB, free: 2.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=126): time 0.0118/0.8114, allocations: 3.242 MB / 0.5935 GB, free: 15.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.8115, allocations: 64.06 kB / 0.5935 GB, free: 15.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005923/0.8175, allocations: 2.555 MB / 0.596 GB, free: 12.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.8177, allocations: 42.36 kB / 0.5961 GB, free: 12.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002947/0.8207, allocations: 2.661 MB / 0.5987 GB, free: 10.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00096/0.8217, allocations: 0.4888 MB / 0.5991 GB, free: 9.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005242/0.8223, allocations: 83.84 kB / 0.5992 GB, free: 9.523 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004523/0.8227, allocations: 0.5008 MB / 0.5997 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00395/0.8267, allocations: 1.34 MB / 0.601 GB, free: 7.664 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006919/0.8337, allocations: 4.08 MB / 0.605 GB, free: 2.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006374/0.8401, allocations: 2.355 MB / 0.6073 GB, free: 15.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/0.8403, allocations: 28 kB / 0.6073 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01571/0.856, allocations: 5.211 MB / 0.6124 GB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.8562, allocations: 48 kB / 0.6125 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/0.8563, allocations: 102 kB / 0.6126 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.8566, allocations: 144 kB / 0.6127 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006145/0.8627, allocations: 0.9705 MB / 0.6136 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002702/0.863, allocations: 199.2 kB / 0.6138 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005019/0.8681, allocations: 0.5989 MB / 0.6144 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/0.8693, allocations: 276 kB / 0.6147 GB, free: 9.012 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005783/0.8751, allocations: 1.895 MB / 0.6165 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005419/0.8757, allocations: 213.1 kB / 0.6167 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008939/0.8766, allocations: 275.4 kB / 0.617 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.719e-05/0.8767, allocations: 13.75 kB / 0.617 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.8767, allocations: 7.984 kB / 0.617 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.8767, allocations: 3.984 kB / 0.617 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/0.8947, allocations: 5.608 MB / 0.6225 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/0.8948, allocations: 4 kB / 0.6225 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.8961, allocations: 139.8 kB / 0.6226 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.181e-05/0.8962, allocations: 11.95 kB / 0.6226 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.8963, allocations: 16 kB / 0.6227 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.8964, allocations: 8 kB / 0.6227 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.8964, allocations: 12.41 kB / 0.6227 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/0.9009, allocations: 2.107 MB / 0.6247 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/0.9019, allocations: 317.8 kB / 0.625 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005387/0.9025, allocations: 20 kB / 0.6251 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.9038, allocations: 39.95 kB / 0.6251 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.9041, allocations: 60.39 kB / 0.6252 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.9042, allocations: 39.52 kB / 0.6252 GB, free: 13.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004671/0.9089, allocations: 1.546 MB / 0.6267 GB, free: 12.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9089, allocations: 4 kB / 0.6267 GB, free: 12.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006235/0.9152, allocations: 0.9992 MB / 0.6277 GB, free: 11.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005808/0.921, allocations: 3.872 MB / 0.6315 GB, free: 7.332 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008276/0.9294, allocations: 3.108 MB / 0.6345 GB, free: 4.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.9294, allocations: 0.5 kB / 0.6345 GB, free: 4.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.9313, allocations: 0.7385 MB / 0.6352 GB, free: 3.516 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.9332, allocations: 242.4 kB / 0.6355 GB, free: 3.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4514/1.385, allocations: 88.92 MB / 0.7223 GB, free: 193.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006308/1.391, allocations: 3.051 MB / 0.7253 GB, free: 192.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003387/1.394, allocations: 1.554 MB / 0.7268 GB, free: 190.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.452e-06/1.394, allocations: 0.875 kB / 0.7268 GB, free: 190.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.585/4.979, allocations: 61.52 MB / 0.7869 GB, free: 136.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)