Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2328/0.2328, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002266, allocations: 93.14 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1313, allocations: 62.45 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008247/0.1396, allocations: 5.711 MB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.1443, allocations: 1.834 MB / 487.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000894/0.1452, allocations: 23.94 kB / 487.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1468, allocations: 0.5213 MB / 488.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.1487, allocations: 0.6691 MB / 489 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.1488, allocations: 19.97 kB / 489 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.151, allocations: 1.421 MB / 490.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.1524, allocations: 0.7043 MB / 491.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.1538, allocations: 486 kB / 491.6 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.155, allocations: 0.6887 MB / 492.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003055/0.1554, allocations: 84 kB / 492.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009234/0.1563, allocations: 315.5 kB / 492.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007699/0.1571, allocations: 0.6621 MB / 493.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009397/0.158, allocations: 0.8225 MB / 494.1 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.161, allocations: 2.504 MB / 496.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1611, allocations: 0 / 496.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1611, allocations: 0 / 496.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.296e-05/0.1611, allocations: 0 / 496.7 MB, free: 4.621 MB / 366.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.003193/0.1643, allocations: 1.955 MB / 498.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1644, allocations: 12.03 kB / 498.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003761/0.1648, allocations: 340.1 kB / 499 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/0.1698, allocations: 1.468 MB / 0.4887 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.1716, allocations: 0.8513 MB / 0.4895 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.1717, allocations: 81.97 kB / 0.4896 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.1719, allocations: 99.91 kB / 0.4897 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/0.1784, allocations: 4.622 MB / 0.4942 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.1785, allocations: 19.81 kB / 0.4942 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.1786, allocations: 55.92 kB / 0.4943 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/0.1805, allocations: 1.103 MB / 0.4954 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00672/0.1872, allocations: 4.007 MB / 0.4993 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2427/0.4299, allocations: 18.48 MB / 0.5173 GB, free: 25.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.4312, allocations: 1.177 MB / 0.5185 GB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/0.4316, allocations: 340.5 kB / 0.5188 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4316, allocations: 6.562 kB / 0.5188 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.4317, allocations: 41.12 kB / 0.5188 GB, free: 24.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.926e-06/0.4317, allocations: 1.969 kB / 0.5188 GB, free: 24.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.00157/0.4332, allocations: 1.031 MB / 0.5198 GB, free: 24.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.4333, allocations: 107.9 kB / 0.5199 GB, free: 24.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.4362, allocations: 2.197 MB / 0.5221 GB, free: 23.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.4363, allocations: 32.14 kB / 0.5221 GB, free: 23.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009124/0.4372, allocations: 1.621 MB / 0.5237 GB, free: 22.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.4374, allocations: 260.7 kB / 0.524 GB, free: 22.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007773/0.4382, allocations: 0.6803 MB / 0.5246 GB, free: 21.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4383, allocations: 360.5 kB / 0.525 GB, free: 21.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.4398, allocations: 0.8967 MB / 0.5258 GB, free: 21.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.442, allocations: 3.169 MB / 0.5289 GB, free: 17.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004963/0.447, allocations: 4.443 MB / 0.5333 GB, free: 13.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.143e-05/0.4471, allocations: 22.53 kB / 0.5333 GB, free: 13.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.008154/0.4553, allocations: 3.839 MB / 0.537 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.4554, allocations: 39.06 kB / 0.5371 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/0.4555, allocations: 81.12 kB / 0.5372 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.4557, allocations: 109.9 kB / 0.5373 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002165/0.4579, allocations: 0.7532 MB / 0.538 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/0.458, allocations: 155.9 kB / 0.5381 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.4605, allocations: 496.1 kB / 0.5386 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.4608, allocations: 213.6 kB / 0.5388 GB, free: 11.65 MB / 382.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.001608/0.4624, allocations: 1.101 MB / 0.5399 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.4627, allocations: 168.6 kB / 0.5401 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.4629, allocations: 203.2 kB / 0.5403 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.463, allocations: 7.719 kB / 0.5403 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.463, allocations: 3.75 kB / 0.5403 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.463, allocations: 3.375 kB / 0.5403 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.4659, allocations: 2.012 MB / 0.5422 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4659, allocations: 2.062 kB / 0.5422 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.4662, allocations: 63.75 kB / 0.5423 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.4662, allocations: 3.938 kB / 0.5423 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.4662, allocations: 14.62 kB / 0.5423 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4662, allocations: 7.438 kB / 0.5423 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4662, allocations: 0 / 0.5423 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.4671, allocations: 1.029 MB / 0.5433 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.4674, allocations: 231.3 kB / 0.5435 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.4675, allocations: 7.938 kB / 0.5436 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/0.468, allocations: 24.23 kB / 0.5436 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.4681, allocations: 32.72 kB / 0.5436 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.4681, allocations: 14.28 kB / 0.5436 GB, free: 9.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001496/0.4696, allocations: 1.378 MB / 0.545 GB, free: 8.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4696, allocations: 0 / 0.545 GB, free: 8.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00226/0.4719, allocations: 494.7 kB / 0.5454 GB, free: 8.121 MB / 382.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.001168/0.4731, allocations: 1.641 MB / 0.547 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.4759, allocations: 2.144 MB / 0.5491 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4759, allocations: 0 / 0.5491 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002932/0.4762, allocations: 338.9 kB / 0.5495 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4772, allocations: 166.6 kB / 0.5496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/0.5042, allocations: 21.42 MB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.506, allocations: 1.786 MB / 0.5723 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002521/0.5086, allocations: 1.114 MB / 0.5734 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.5097, allocations: 0.7297 MB / 0.5741 GB, free: 7.422 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5097, allocations: 0 / 0.5741 GB, free: 7.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.069/0.5787, allocations: 28.47 MB / 0.6019 GB, free: 11.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.805/9.383, allocations: 10.25 kB / 0.6019 GB, free: 11.09 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)