Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_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.001438/0.001438, allocations: 104.2 kB / 17.63 MB, free: 5.543 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.00146/0.00146, allocations: 191.9 kB / 18.56 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2197/0.2197, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.73 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.127, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006856/0.1339, allocations: 5.718 MB / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.1374, allocations: 1.788 MB / 476.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005539/0.138, allocations: 23.94 kB / 476.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.1392, allocations: 0.5097 MB / 477.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.1407, allocations: 0.6808 MB / 478.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.1408, allocations: 15.97 kB / 478.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.1423, allocations: 1.451 MB / 479.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.1431, allocations: 0.7113 MB / 480.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.1436, allocations: 486 kB / 480.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.1443, allocations: 0.6888 MB / 481.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.1445, allocations: 88 kB / 481.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.1451, allocations: 315.5 kB / 481.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005053/0.1456, allocations: 0.6699 MB / 482.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.1462, allocations: 0.8342 MB / 483.3 MB, free: 248 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.1484, allocations: 2.527 MB / 485.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1484, allocations: 0 / 485.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1484, allocations: 0 / 485.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.717e-05/0.1484, allocations: 0 / 485.8 MB, free: 13.71 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.00265/0.1511, allocations: 1.989 MB / 487.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1511, allocations: 8.031 kB / 487.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003268/0.1515, allocations: 348.1 kB / 488.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.1563, allocations: 1.468 MB / 489.6 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.1578, allocations: 0.8473 MB / 490.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.1579, allocations: 86.03 kB / 490.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.1581, allocations: 99.91 kB / 490.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005543/0.1636, allocations: 4.622 MB / 495.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/0.1637, allocations: 19.81 kB / 495.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.1639, allocations: 59.91 kB / 495.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001853/0.1657, allocations: 1.107 MB / 496.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006393/0.1721, allocations: 4.004 MB / 0.4888 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2575/0.4297, allocations: 18.48 MB / 0.5068 GB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.431, allocations: 1.177 MB / 0.508 GB, free: 34.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.4315, allocations: 341.5 kB / 0.5083 GB, free: 34.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.4315, allocations: 4.219 kB / 0.5083 GB, free: 34.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.4315, allocations: 37.31 kB / 0.5083 GB, free: 33.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.466e-06/0.4315, allocations: 3.625 kB / 0.5083 GB, free: 33.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.0016/0.4331, allocations: 1.033 MB / 0.5093 GB, free: 33.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.4332, allocations: 111.1 kB / 0.5094 GB, free: 33.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.4362, allocations: 2.202 MB / 0.5116 GB, free: 33.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.4362, allocations: 33.2 kB / 0.5116 GB, free: 33.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009313/0.4372, allocations: 1.626 MB / 0.5132 GB, free: 32.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.4374, allocations: 264.7 kB / 0.5135 GB, free: 32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007637/0.4382, allocations: 0.6745 MB / 0.5141 GB, free: 31.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4383, allocations: 357.9 kB / 0.5145 GB, free: 31.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.4397, allocations: 0.8994 MB / 0.5153 GB, free: 31.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.4424, allocations: 3.159 MB / 0.5184 GB, free: 27.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/0.4468, allocations: 4.446 MB / 0.5228 GB, free: 23.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.858e-05/0.4469, allocations: 23.59 kB / 0.5228 GB, free: 23.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006508/0.4534, allocations: 3.845 MB / 0.5265 GB, free: 22.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.457e-05/0.4535, allocations: 41.41 kB / 0.5266 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/0.4537, allocations: 81.25 kB / 0.5267 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.4538, allocations: 108.3 kB / 0.5268 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.4555, allocations: 0.7479 MB / 0.5275 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.559e-05/0.4556, allocations: 158 kB / 0.5276 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.4579, allocations: 498.9 kB / 0.5281 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.4581, allocations: 212.2 kB / 0.5283 GB, free: 21.77 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.001118/0.4592, allocations: 1.102 MB / 0.5294 GB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.4594, allocations: 165.7 kB / 0.5296 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.4597, allocations: 205 kB / 0.5297 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.4597, allocations: 8.062 kB / 0.5298 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.4597, allocations: 3.438 kB / 0.5298 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4597, allocations: 0 / 0.5298 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/0.4623, allocations: 2.028 MB / 0.5317 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4623, allocations: 0.9688 kB / 0.5317 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.4626, allocations: 60.92 kB / 0.5318 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4626, allocations: 6.031 kB / 0.5318 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.4627, allocations: 8.344 kB / 0.5318 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4627, allocations: 1.938 kB / 0.5318 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.4627, allocations: 3.344 kB / 0.5318 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.4635, allocations: 1.037 MB / 0.5328 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.4637, allocations: 236.3 kB / 0.5331 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.4638, allocations: 7.312 kB / 0.5331 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.4643, allocations: 25.19 kB / 0.5331 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.4644, allocations: 24.75 kB / 0.5331 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.4644, allocations: 32.11 kB / 0.5331 GB, free: 19.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001307/0.4657, allocations: 1.372 MB / 0.5345 GB, free: 18.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4657, allocations: 0 / 0.5345 GB, free: 18.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001991/0.4677, allocations: 0.4931 MB / 0.535 GB, free: 18.73 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.00111/0.4689, allocations: 1.64 MB / 0.5366 GB, free: 17.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.4714, allocations: 2.138 MB / 0.5387 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4714, allocations: 0 / 0.5387 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.4717, allocations: 335.7 kB / 0.539 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.4726, allocations: 170.2 kB / 0.5391 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/0.4945, allocations: 21.47 MB / 0.5601 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.496, allocations: 1.787 MB / 0.5618 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002375/0.4984, allocations: 1.117 MB / 0.5629 GB, free: 2.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008569/0.4993, allocations: 0.7297 MB / 0.5636 GB, free: 2.266 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4993, allocations: 0 / 0.5636 GB, free: 2.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0537/0.553, allocations: 28.51 MB / 0.5915 GB, free: 5.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.996, allocations: 14.73 kB / 0.5915 GB, free: 5.922 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches