Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.001472/0.001472, allocations: 106.4 kB / 16.27 MB, free: 6 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.001898/0.001897, allocations: 186 kB / 17.19 MB, free: 5.621 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.499/1.499, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2087/0.2087, allocations: 43.53 MB / 314 MB, free: 0.5312 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: Performance of FrontEnd - loaded program: time 0.001595/0.001596, allocations: 69.27 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00679/0.1198, allocations: 5.714 MB / 446.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.1239, allocations: 1.839 MB / 448.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007781/0.1247, allocations: 16 kB / 448.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.1262, allocations: 0.5019 MB / 448.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.1279, allocations: 0.673 MB / 449.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.1281, allocations: 19.98 kB / 449.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.13, allocations: 1.452 MB / 450.8 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009422/0.1309, allocations: 0.719 MB / 451.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005916/0.1315, allocations: 490 kB / 452 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008137/0.1323, allocations: 0.6771 MB / 452.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.1325, allocations: 92 kB / 452.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.1332, allocations: 303.5 kB / 453.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005556/0.1338, allocations: 0.6699 MB / 453.8 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007117/0.1345, allocations: 0.8342 MB / 454.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.1369, allocations: 2.523 MB / 457.1 MB, free: 6.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1369, allocations: 3.938 kB / 457.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1369, allocations: 0 / 457.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.492e-05/0.137, allocations: 0 / 457.1 MB, free: 6.223 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.002664/0.1396, allocations: 1.975 MB / 459.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.1397, allocations: 15.89 kB / 459.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003575/0.1401, allocations: 344.1 kB / 459.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.1449, allocations: 1.468 MB / 460.9 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.1465, allocations: 0.8473 MB / 461.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.1466, allocations: 86.03 kB / 461.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.1468, allocations: 95.92 kB / 461.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005933/0.1528, allocations: 4.63 MB / 466.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.1529, allocations: 19.81 kB / 466.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.153, allocations: 55.91 kB / 466.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001729/0.1548, allocations: 1.099 MB / 467.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005872/0.1607, allocations: 4.004 MB / 471.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.1811, allocations: 18.49 MB / 490.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.1827, allocations: 1.174 MB / 491.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.1833, allocations: 342.4 kB / 491.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1833, allocations: 4 kB / 491.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.1834, allocations: 42.48 kB / 491.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=60): time 5.39e-06/0.1834, allocations: 4 kB / 491.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=60): time 0.001847/0.1852, allocations: 1.032 MB / 492.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.1853, allocations: 110.8 kB / 492.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.1881, allocations: 2.204 MB / 495.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.1882, allocations: 29.7 kB / 495.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.1893, allocations: 1.621 MB / 496.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.1895, allocations: 264.9 kB / 497.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007357/0.1903, allocations: 0.6783 MB / 497.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1904, allocations: 357.9 kB / 498.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.1916, allocations: 0.8967 MB / 499 MB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.1945, allocations: 3.166 MB / 0.4904 GB, free: 6.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005038/0.1995, allocations: 4.442 MB / 0.4947 GB, free: 1.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-05/0.1996, allocations: 23.94 kB / 0.4947 GB, free: 1.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006659/0.2063, allocations: 3.843 MB / 0.4985 GB, free: 13.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.2064, allocations: 40 kB / 0.4985 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.2065, allocations: 84 kB / 0.4986 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.2066, allocations: 104 kB / 0.4987 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.2088, allocations: 0.7524 MB / 0.4994 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001357/0.209, allocations: 163.4 kB / 0.4996 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.2113, allocations: 487.1 kB / 0.5001 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/0.2117, allocations: 220 kB / 0.5003 GB, free: 11.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * 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.001623/0.2134, allocations: 1.104 MB / 0.5014 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.2137, allocations: 165.8 kB / 0.5015 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.214, allocations: 200 kB / 0.5017 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.2141, allocations: 11.94 kB / 0.5017 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.2141, allocations: 4 kB / 0.5017 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2141, allocations: 0 / 0.5017 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.2178, allocations: 2.019 MB / 0.5037 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.2178, allocations: 7.984 kB / 0.5037 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.2181, allocations: 55.91 kB / 0.5037 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.2181, allocations: 7.984 kB / 0.5038 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.2182, allocations: 11.94 kB / 0.5038 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.2182, allocations: 4 kB / 0.5038 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2182, allocations: 0 / 0.5038 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.2194, allocations: 1.034 MB / 0.5048 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.2198, allocations: 226.8 kB / 0.505 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.22, allocations: 15.92 kB / 0.505 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.2206, allocations: 23.97 kB / 0.505 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.2206, allocations: 23.91 kB / 0.5051 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.2207, allocations: 19.98 kB / 0.5051 GB, free: 6.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002298/0.223, allocations: 1.371 MB / 0.5064 GB, free: 4.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.223, allocations: 0 / 0.5064 GB, free: 4.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003055/0.2261, allocations: 0.491 MB / 0.5069 GB, free: 4.402 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.001913/0.228, allocations: 1.628 MB / 0.5085 GB, free: 2.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003933/0.232, allocations: 2.148 MB / 0.5106 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.232, allocations: 288 / 0.5106 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004292/0.2324, allocations: 339.7 kB / 0.5109 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.2341, allocations: 160.4 kB / 0.5111 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2426/0.4767, allocations: 21.45 MB / 0.532 GB, free: 83.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.4783, allocations: 1.786 MB / 0.5338 GB, free: 83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003372/0.4817, allocations: 1.117 MB / 0.5348 GB, free: 82.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.483, allocations: 0.7271 MB / 0.5356 GB, free: 82.95 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4831, allocations: 0 / 0.5356 GB, free: 82.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0487/0.5318, allocations: 28.49 MB / 0.5634 GB, free: 62.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/9.095, allocations: 12 kB / 0.5634 GB, free: 62.4 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)