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.002002/0.002002, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00266/0.00266, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.4 MB / 247 MB, free: 10.45 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.2838/0.2838, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.00242/0.002421, allocations: 83.86 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3561, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007019/0.3631, allocations: 5.714 MB / 0.5362 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003811/0.367, allocations: 1.832 MB / 0.538 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005545/0.3675, allocations: 20.22 kB / 0.538 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.3689, allocations: 0.5342 MB / 0.5385 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.3705, allocations: 0.6771 MB / 0.5392 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.3707, allocations: 12.41 kB / 0.5392 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.3726, allocations: 1.432 MB / 0.5406 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009594/0.3735, allocations: 0.7089 MB / 0.5413 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006936/0.3743, allocations: 483.9 kB / 0.5417 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009517/0.3752, allocations: 0.6751 MB / 0.5424 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002336/0.3755, allocations: 88.5 kB / 0.5425 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000682/0.3762, allocations: 312.9 kB / 0.5428 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006153/0.3768, allocations: 0.6556 MB / 0.5434 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008802/0.3777, allocations: 0.8234 MB / 0.5442 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.3809, allocations: 2.659 MB / 0.5468 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3809, allocations: 0 / 0.5468 GB, free: 1.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3809, allocations: 0 / 0.5468 GB, free: 1.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.563e-05/0.381, allocations: 0 / 0.5468 GB, free: 1.074 MB / 398.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.003339/0.3843, allocations: 2.014 MB / 0.5488 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3844, allocations: 12.03 kB / 0.5488 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004078/0.3848, allocations: 340.1 kB / 0.5491 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.3899, allocations: 1.485 MB / 0.5506 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.3915, allocations: 0.8515 MB / 0.5514 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/0.3916, allocations: 82.03 kB / 0.5515 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000202/0.3918, allocations: 103.9 kB / 0.5516 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/0.3978, allocations: 4.618 MB / 0.5561 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.3978, allocations: 19.81 kB / 0.5561 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.398, allocations: 59.89 kB / 0.5561 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001776/0.3998, allocations: 1.103 MB / 0.5572 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006342/0.4062, allocations: 4.008 MB / 0.5611 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/0.426, allocations: 18.46 MB / 0.5792 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.4278, allocations: 1.181 MB / 0.5803 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.4283, allocations: 345.5 kB / 0.5806 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4283, allocations: 4 kB / 0.5806 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.4283, allocations: 38.56 kB / 0.5807 GB, free: 13.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.477e-06/0.4284, allocations: 4 kB / 0.5807 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001756/0.4301, allocations: 1.042 MB / 0.5817 GB, free: 12.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.4302, allocations: 106.8 kB / 0.5818 GB, free: 11.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.4334, allocations: 2.208 MB / 0.584 GB, free: 9.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.4335, allocations: 29.7 kB / 0.584 GB, free: 9.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.4348, allocations: 1.691 MB / 0.5856 GB, free: 7.879 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.4352, allocations: 270.1 kB / 0.5859 GB, free: 7.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008686/0.436, allocations: 0.6868 MB / 0.5866 GB, free: 6.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4362, allocations: 357.9 kB / 0.5869 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.4376, allocations: 0.8965 MB / 0.5878 GB, free: 5.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003245/0.4408, allocations: 3.163 MB / 0.5909 GB, free: 1.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/0.4463, allocations: 4.449 MB / 0.5952 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-05/0.4464, allocations: 24 kB / 0.5952 GB, free: 11.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007096/0.4535, allocations: 3.848 MB / 0.599 GB, free: 7.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.4536, allocations: 40 kB / 0.599 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.4537, allocations: 88 kB / 0.5991 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.4538, allocations: 104.8 kB / 0.5992 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.456, allocations: 0.7486 MB / 0.6 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001403/0.4562, allocations: 163.4 kB / 0.6001 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.4586, allocations: 0.5002 MB / 0.6006 GB, free: 6.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.459, allocations: 212 kB / 0.6008 GB, free: 6.047 MB / 462.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.0017/0.4607, allocations: 1.093 MB / 0.6019 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.461, allocations: 178.8 kB / 0.602 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.4614, allocations: 200 kB / 0.6022 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.4614, allocations: 8 kB / 0.6022 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.4615, allocations: 7.938 kB / 0.6022 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4615, allocations: 3.984 kB / 0.6023 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003764/0.4652, allocations: 2.008 MB / 0.6042 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4653, allocations: 0 / 0.6042 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.4657, allocations: 67.89 kB / 0.6043 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4657, allocations: 0 / 0.6043 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.4657, allocations: 15.92 kB / 0.6043 GB, free: 2.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.4657, allocations: 4 kB / 0.6043 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4657, allocations: 288 / 0.6043 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.4671, allocations: 1.044 MB / 0.6053 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.4675, allocations: 239.8 kB / 0.6055 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.4676, allocations: 15.88 kB / 0.6056 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.4681, allocations: 23.97 kB / 0.6056 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.4682, allocations: 23.97 kB / 0.6056 GB, free: 1.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.4683, allocations: 16 kB / 0.6056 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002183/0.4705, allocations: 1.367 MB / 0.607 GB, free: 15.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.4705, allocations: 0 / 0.607 GB, free: 15.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002614/0.4731, allocations: 0.4913 MB / 0.6074 GB, free: 15.11 MB / 478.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.001828/0.4749, allocations: 1.645 MB / 0.609 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003517/0.4785, allocations: 2.045 MB / 0.611 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.4785, allocations: 0 / 0.611 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.479, allocations: 344.7 kB / 0.6114 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.4802, allocations: 171.2 kB / 0.6115 GB, free: 10.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02839/0.5086, allocations: 20.36 MB / 0.6314 GB, free: 3.621 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.5104, allocations: 1.79 MB / 0.6332 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002272/0.5126, allocations: 1.113 MB / 0.6343 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/0.5136, allocations: 0.7297 MB / 0.635 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.5136, allocations: 0 / 0.635 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06223/0.5759, allocations: 28.97 MB / 0.6633 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.21, allocations: 10.86 kB / 0.6633 GB, free: 3.137 MB / 0.5137 GB (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)