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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 104.8 kB / 16.4 MB, free: 6.512 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.001309/0.001309, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2233/0.2233, allocations: 43.52 MB / 314.1 MB, free: 444 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.002113/0.002113, allocations: 73.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.109, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0137/0.1228, allocations: 11.29 MB / 0.4984 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006985/0.1298, allocations: 2.777 MB / 0.5011 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.1317, allocations: 51.94 kB / 0.5012 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.1348, allocations: 1.316 MB / 0.5025 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.1383, allocations: 1.218 MB / 0.5037 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.1387, allocations: 75.84 kB / 0.5037 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.143, allocations: 2.757 MB / 0.5064 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.146, allocations: 1.848 MB / 0.5082 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.1482, allocations: 1.055 MB / 0.5093 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002361/0.1505, allocations: 1.456 MB / 0.5107 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007063/0.1513, allocations: 208 kB / 0.5109 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.1527, allocations: 483.4 kB / 0.5113 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.1543, allocations: 1.402 MB / 0.5127 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00221/0.1565, allocations: 1.719 MB / 0.5144 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007101/0.1636, allocations: 5.507 MB / 0.5198 GB, free: 10.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.1637, allocations: 8 kB / 0.5198 GB, free: 10.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1637, allocations: 3.938 kB / 0.5198 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002082/0.1639, allocations: 0 / 0.5198 GB, free: 10.96 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.007966/0.1719, allocations: 3.699 MB / 0.5234 GB, free: 7.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.172, allocations: 15.89 kB / 0.5234 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001603/0.1736, allocations: 0.6671 MB / 0.5241 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.1843, allocations: 2.966 MB / 0.5269 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.1883, allocations: 1.542 MB / 0.5285 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.1886, allocations: 168.7 kB / 0.5286 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008751/0.1894, allocations: 231.8 kB / 0.5288 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2186/0.408, allocations: 9.463 MB / 0.5381 GB, free: 34.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.045e-05/0.4081, allocations: 21.5 kB / 0.5381 GB, free: 34.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003733/0.4085, allocations: 111.7 kB / 0.5382 GB, free: 34.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004219/0.4128, allocations: 2.371 MB / 0.5405 GB, free: 33.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.4314, allocations: 8.668 MB / 0.549 GB, free: 31.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.4701, allocations: 29.16 MB / 0.5775 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.4744, allocations: 3.045 MB / 0.5804 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.4756, allocations: 0.9765 MB / 0.5814 GB, free: 2.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009026/0.4847, allocations: 4.845 MB / 0.5861 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.4848, allocations: 39.22 kB / 0.5862 GB, free: 13.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 6.061e-06/0.4848, allocations: 0 / 0.5862 GB, free: 13.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006658/0.4915, allocations: 2.753 MB / 0.5888 GB, free: 10.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.4916, allocations: 64.06 kB / 0.5889 GB, free: 10.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004563/0.4961, allocations: 2.577 MB / 0.5914 GB, free: 8.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.4963, allocations: 37.7 kB / 0.5915 GB, free: 8.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002313/0.4986, allocations: 2.762 MB / 0.5942 GB, free: 5.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007914/0.4994, allocations: 0.5079 MB / 0.5946 GB, free: 5.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.5011, allocations: 0.9052 MB / 0.5955 GB, free: 4.242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.5014, allocations: 371.5 kB / 0.5959 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.5038, allocations: 1.352 MB / 0.5972 GB, free: 2.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005134/0.509, allocations: 4.115 MB / 0.6012 GB, free: 13.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008197/0.5172, allocations: 5.96 MB / 0.607 GB, free: 5.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.5174, allocations: 28 kB / 0.6071 GB, free: 5.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.0106/0.528, allocations: 5.3 MB / 0.6122 GB, free: 348 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.5281, allocations: 48 kB / 0.6123 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001605/0.5283, allocations: 96 kB / 0.6124 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.5285, allocations: 131.9 kB / 0.6125 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/0.5317, allocations: 0.9824 MB / 0.6135 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00022/0.532, allocations: 191.3 kB / 0.6137 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/0.5355, allocations: 0.6165 MB / 0.6143 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007955/0.5364, allocations: 288.1 kB / 0.6145 GB, free: 14 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.003854/0.5402, allocations: 1.887 MB / 0.6164 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/0.5408, allocations: 222.5 kB / 0.6166 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.5415, allocations: 275.4 kB / 0.6168 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/0.5416, allocations: 15.98 kB / 0.6169 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.5416, allocations: 4 kB / 0.6169 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5416, allocations: 3.984 kB / 0.6169 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/0.5537, allocations: 5.618 MB / 0.6224 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.5537, allocations: 4 kB / 0.6224 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.5544, allocations: 135.8 kB / 0.6225 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-05/0.5545, allocations: 8.562 kB / 0.6225 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-05/0.5546, allocations: 20 kB / 0.6225 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/0.5546, allocations: 15.94 kB / 0.6225 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.5546, allocations: 4 kB / 0.6225 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.5574, allocations: 1.809 MB / 0.6243 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.5581, allocations: 299.2 kB / 0.6246 GB, free: 3.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/0.5586, allocations: 27.97 kB / 0.6246 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000957/0.5596, allocations: 43.95 kB / 0.6247 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.5598, allocations: 60.38 kB / 0.6247 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.5599, allocations: 40 kB / 0.6248 GB, free: 3.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003303/0.5632, allocations: 1.56 MB / 0.6263 GB, free: 1.723 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5633, allocations: 0 / 0.6263 GB, free: 1.723 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004451/0.5677, allocations: 1.02 MB / 0.6273 GB, free: 0.6992 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.00366/0.5714, allocations: 2.437 MB / 0.6296 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005519/0.577, allocations: 3.159 MB / 0.6327 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.577, allocations: 1 kB / 0.6327 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.5783, allocations: 0.7415 MB / 0.6335 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/0.5804, allocations: 260.4 kB / 0.6337 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05636/0.6368, allocations: 29.4 MB / 0.6624 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00598/0.6428, allocations: 2.968 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004107/0.647, allocations: 1.484 MB / 0.6668 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003324/0.6503, allocations: 1.519 MB / 0.6682 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of SimCode: time 2.004e-06/0.6503, allocations: 0 / 0.6682 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08604/0.7364, allocations: 38.57 MB / 0.7059 GB, free: 12.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.08, allocations: 4.062 kB / 0.7059 GB, free: 12.21 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)