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.001434/0.001434, allocations: 104 kB / 16.4 MB, free: 6.465 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.001412/0.001412, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.455/1.455, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2399/0.2399, allocations: 43.53 MB / 314.1 MB, free: 460 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.002432/0.002432, allocations: 73.45 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1234, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008376/0.1319, allocations: 5.725 MB / 0.493 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.1363, allocations: 1.831 MB / 0.4948 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009487/0.1373, allocations: 20 kB / 0.4948 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.1392, allocations: 0.5096 MB / 0.4953 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.1416, allocations: 0.6768 MB / 0.4959 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1418, allocations: 16 kB / 0.496 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.1446, allocations: 1.441 MB / 0.4974 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.1463, allocations: 0.719 MB / 0.4981 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.1476, allocations: 490 kB / 0.4985 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.149, allocations: 0.681 MB / 0.4992 GB, free: 148 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004294/0.1495, allocations: 88 kB / 0.4993 GB, free: 60 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.1506, allocations: 303.5 kB / 0.4996 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.1517, allocations: 0.6699 MB / 0.5002 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.1533, allocations: 0.8303 MB / 0.501 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.1575, allocations: 2.683 MB / 0.5037 GB, free: 11.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1576, allocations: 4 kB / 0.5037 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1576, allocations: 0 / 0.5037 GB, free: 11.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001055/0.1577, allocations: 4 kB / 0.5037 GB, free: 11.55 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.005022/0.1627, allocations: 2.025 MB / 0.5056 GB, free: 9.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.1628, allocations: 15.89 kB / 0.5057 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008049/0.1636, allocations: 344.1 kB / 0.506 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/0.1691, allocations: 1.478 MB / 0.5074 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.1711, allocations: 0.8593 MB / 0.5083 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1713, allocations: 82.05 kB / 0.5083 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.1717, allocations: 95.91 kB / 0.5084 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008505/0.1802, allocations: 4.626 MB / 0.513 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-05/0.1803, allocations: 19.81 kB / 0.513 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/0.1808, allocations: 59.92 kB / 0.513 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/0.183, allocations: 1.103 MB / 0.5141 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007788/0.1909, allocations: 4.007 MB / 0.518 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2439/0.4348, allocations: 18.46 MB / 0.536 GB, free: 25.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.4363, allocations: 1.174 MB / 0.5372 GB, free: 24.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.4368, allocations: 344.9 kB / 0.5375 GB, free: 24.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.4369, allocations: 3.375 kB / 0.5375 GB, free: 24.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4369, allocations: 38.33 kB / 0.5376 GB, free: 24.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=60): time 4.228e-06/0.4369, allocations: 0 / 0.5376 GB, free: 24.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=60): time 0.002081/0.439, allocations: 1.041 MB / 0.5386 GB, free: 24.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.4391, allocations: 110.4 kB / 0.5387 GB, free: 24.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/0.4433, allocations: 2.206 MB / 0.5408 GB, free: 23.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.4434, allocations: 31.98 kB / 0.5409 GB, free: 23.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.4446, allocations: 1.69 MB / 0.5425 GB, free: 22.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.445, allocations: 277.7 kB / 0.5428 GB, free: 22.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009911/0.446, allocations: 0.6842 MB / 0.5435 GB, free: 22.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4461, allocations: 358.3 kB / 0.5438 GB, free: 22.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4477, allocations: 0.8964 MB / 0.5447 GB, free: 22.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/0.4505, allocations: 3.161 MB / 0.5478 GB, free: 18.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004731/0.4553, allocations: 4.454 MB / 0.5521 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/0.4555, allocations: 24.47 kB / 0.5521 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007761/0.4632, allocations: 3.85 MB / 0.5559 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.4634, allocations: 39.94 kB / 0.5559 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/0.4636, allocations: 81.69 kB / 0.556 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.4638, allocations: 106.5 kB / 0.5561 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.4664, allocations: 0.7526 MB / 0.5568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002532/0.4667, allocations: 155.8 kB / 0.557 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.4697, allocations: 0.4978 MB / 0.5575 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006819/0.4704, allocations: 213 kB / 0.5577 GB, free: 12.88 MB / 414.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.002233/0.4726, allocations: 1.106 MB / 0.5588 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/0.473, allocations: 179.6 kB / 0.5589 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.4736, allocations: 199.1 kB / 0.5591 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.4736, allocations: 8.656 kB / 0.5591 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4736, allocations: 1.281 kB / 0.5591 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.4736, allocations: 3.141 kB / 0.5591 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.4782, allocations: 2.015 MB / 0.5611 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.4782, allocations: 5.312 kB / 0.5611 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.4786, allocations: 62.08 kB / 0.5612 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.4786, allocations: 5.969 kB / 0.5612 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.4786, allocations: 12.8 kB / 0.5612 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.4786, allocations: 10.61 kB / 0.5612 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4787, allocations: 1.125 kB / 0.5612 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.4798, allocations: 1.037 MB / 0.5622 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.4803, allocations: 242.2 kB / 0.5624 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/0.4806, allocations: 7.938 kB / 0.5624 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/0.4813, allocations: 24.22 kB / 0.5625 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.4814, allocations: 27.03 kB / 0.5625 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.4814, allocations: 20.66 kB / 0.5625 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002203/0.4836, allocations: 1.369 MB / 0.5639 GB, free: 9.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4837, allocations: 288 / 0.5639 GB, free: 9.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002803/0.4865, allocations: 0.5058 MB / 0.5643 GB, free: 9.812 MB / 414.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.00146/0.4879, allocations: 1.644 MB / 0.566 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.4911, allocations: 2.044 MB / 0.5679 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.4912, allocations: 4.125 kB / 0.568 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.4916, allocations: 334.1 kB / 0.5683 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.4933, allocations: 176.5 kB / 0.5684 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03458/0.5279, allocations: 20.51 MB / 0.5885 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/0.5307, allocations: 1.787 MB / 0.5902 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002599/0.5333, allocations: 1.119 MB / 0.5913 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/0.5347, allocations: 0.7335 MB / 0.592 GB, free: 14.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5347, allocations: 0 / 0.592 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/0.6082, allocations: 28.99 MB / 0.6203 GB, free: 1.848 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.18, allocations: 15.89 kB / 0.6203 GB, free: 1.832 MB / 462.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)