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.001135/0.001135, allocations: 108 kB / 16.41 MB, free: 6.484 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.00112/0.00112, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.252/1.252, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.191/0.191, allocations: 43.53 MB / 314.1 MB, free: 476 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.001642/0.001643, allocations: 67.91 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09967, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01089/0.1106, allocations: 11.29 MB / 0.4984 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005449/0.1161, allocations: 2.777 MB / 0.5011 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.1177, allocations: 59.81 kB / 0.5012 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.1208, allocations: 1.316 MB / 0.5025 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.1241, allocations: 1.253 MB / 0.5037 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.1246, allocations: 79.84 kB / 0.5038 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.1281, allocations: 2.752 MB / 0.5065 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002516/0.1306, allocations: 1.852 MB / 0.5083 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.1324, allocations: 1.051 MB / 0.5093 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.1345, allocations: 1.452 MB / 0.5107 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006353/0.1351, allocations: 211.9 kB / 0.5109 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.1364, allocations: 491.4 kB / 0.5114 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.138, allocations: 1.414 MB / 0.5128 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.1403, allocations: 1.711 MB / 0.5144 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006205/0.1466, allocations: 5.522 MB / 0.5198 GB, free: 10.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1466, allocations: 4 kB / 0.5198 GB, free: 10.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1466, allocations: 0 / 0.5198 GB, free: 10.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001931/0.1468, 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.006757/0.1536, allocations: 3.71 MB / 0.5234 GB, free: 7.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1536, allocations: 15.89 kB / 0.5235 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/0.1548, allocations: 0.6671 MB / 0.5241 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00982/0.1646, allocations: 2.962 MB / 0.527 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/0.1682, allocations: 1.534 MB / 0.5285 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.1684, allocations: 172.7 kB / 0.5287 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007823/0.1692, allocations: 227.8 kB / 0.5289 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2134/0.3826, allocations: 9.469 MB / 0.5381 GB, free: 34.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/0.3827, allocations: 20.91 kB / 0.5382 GB, free: 34.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/0.3831, allocations: 108.3 kB / 0.5383 GB, free: 34.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003842/0.3869, allocations: 2.375 MB / 0.5406 GB, free: 33.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.4026, allocations: 8.663 MB / 0.549 GB, free: 31.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03322/0.4359, allocations: 29.16 MB / 0.5775 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/0.4398, allocations: 3.049 MB / 0.5805 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.4409, allocations: 0.9844 MB / 0.5814 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008267/0.4492, allocations: 4.831 MB / 0.5862 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.4493, allocations: 43.22 kB / 0.5862 GB, free: 13.76 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 6.012e-06/0.4493, allocations: 0 / 0.5862 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006054/0.4553, allocations: 2.749 MB / 0.5889 GB, free: 11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4554, allocations: 64.06 kB / 0.589 GB, free: 10.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.459, allocations: 2.577 MB / 0.5915 GB, free: 8.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.4592, allocations: 37.7 kB / 0.5915 GB, free: 8.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0017/0.4609, allocations: 2.761 MB / 0.5942 GB, free: 5.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.4615, allocations: 0.5079 MB / 0.5947 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.4627, allocations: 0.9052 MB / 0.5956 GB, free: 4.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4629, allocations: 367.5 kB / 0.5959 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001869/0.4648, allocations: 1.359 MB / 0.5973 GB, free: 2.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004182/0.469, allocations: 4.119 MB / 0.6013 GB, free: 13.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006948/0.4759, allocations: 5.964 MB / 0.6071 GB, free: 5.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.4761, allocations: 28 kB / 0.6071 GB, free: 5.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009921/0.486, allocations: 5.296 MB / 0.6123 GB, free: 352 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/0.4862, allocations: 48 kB / 0.6123 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000158/0.4863, allocations: 96 kB / 0.6124 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.4865, allocations: 131.9 kB / 0.6126 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/0.4896, allocations: 0.9786 MB / 0.6135 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000174/0.4898, allocations: 191.3 kB / 0.6137 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/0.4931, allocations: 0.6208 MB / 0.6143 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000689/0.4938, allocations: 291.9 kB / 0.6146 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.003267/0.4971, allocations: 1.891 MB / 0.6164 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/0.4975, allocations: 222.5 kB / 0.6166 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006215/0.4982, allocations: 271.4 kB / 0.6169 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-05/0.4982, allocations: 12 kB / 0.6169 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.4982, allocations: 4 kB / 0.6169 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4983, allocations: 3.984 kB / 0.6169 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.5092, allocations: 5.615 MB / 0.6224 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.5093, allocations: 4 kB / 0.6224 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.5099, allocations: 135.8 kB / 0.6225 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.5099, allocations: 12.48 kB / 0.6226 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.51, allocations: 28 kB / 0.6226 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.51, allocations: 8 kB / 0.6226 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.51, allocations: 4 kB / 0.6226 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.5121, allocations: 1.809 MB / 0.6244 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.5127, allocations: 295.2 kB / 0.6246 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.513, allocations: 31.97 kB / 0.6247 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.5136, allocations: 31.97 kB / 0.6247 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.5138, allocations: 68.36 kB / 0.6248 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.054e-05/0.5139, allocations: 36 kB / 0.6248 GB, free: 3.305 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002274/0.5161, allocations: 1.56 MB / 0.6263 GB, free: 1.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5161, allocations: 0 / 0.6263 GB, free: 1.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003332/0.5195, allocations: 1.02 MB / 0.6273 GB, free: 0.707 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.0025/0.522, allocations: 2.452 MB / 0.6297 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004264/0.5263, allocations: 3.144 MB / 0.6328 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5263, allocations: 320 / 0.6328 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008698/0.5272, allocations: 0.7452 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.001218/0.5284, allocations: 264 kB / 0.6338 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/0.5693, allocations: 29.4 MB / 0.6625 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004154/0.5735, allocations: 2.966 MB / 0.6654 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003277/0.5768, allocations: 1.484 MB / 0.6668 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/0.5792, allocations: 1.519 MB / 0.6683 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.5793, allocations: 0 / 0.6683 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07042/0.6497, allocations: 38.56 MB / 0.706 GB, free: 12.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.33, allocations: 8 kB / 0.706 GB, free: 12.22 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)