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.00125/0.00125, allocations: 108.8 kB / 17.77 MB, free: 5.266 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.001758/0.001759, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.447/1.447, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2282/0.2282, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.89 kB / 470 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4095, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008029/0.4176, allocations: 5.712 MB / 0.524 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.4226, allocations: 1.798 MB / 0.5257 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.4239, allocations: 23.81 kB / 0.5258 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.4254, allocations: 0.509 MB / 0.5263 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.4276, allocations: 0.6939 MB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.4277, allocations: 13.95 kB / 0.527 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.4302, allocations: 1.449 MB / 0.5284 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.4313, allocations: 0.7161 MB / 0.5291 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009027/0.4322, allocations: 497.4 kB / 0.5295 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.4333, allocations: 0.6791 MB / 0.5302 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.4336, allocations: 86.84 kB / 0.5303 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.4345, allocations: 321.5 kB / 0.5306 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007191/0.4352, allocations: 0.6724 MB / 0.5313 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.436, allocations: 0.8338 MB / 0.5321 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.4395, allocations: 2.68 MB / 0.5347 GB, free: 8.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4395, allocations: 5.094 kB / 0.5347 GB, free: 8.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.438e-06/0.4396, allocations: 0 / 0.5347 GB, free: 8.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.726e-05/0.4396, allocations: 3.938 kB / 0.5347 GB, free: 8.691 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.00421/0.4439, allocations: 2.034 MB / 0.5367 GB, free: 7.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.4439, allocations: 8.781 kB / 0.5367 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004439/0.4444, allocations: 346.6 kB / 0.537 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.4495, allocations: 1.483 MB / 0.5385 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.4515, allocations: 0.8576 MB / 0.5393 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/0.4516, allocations: 77.92 kB / 0.5394 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.4518, allocations: 102.9 kB / 0.5395 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007527/0.4594, allocations: 4.624 MB / 0.544 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/0.4594, allocations: 19.81 kB / 0.544 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.4596, allocations: 51.92 kB / 0.5441 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001737/0.4614, allocations: 1.099 MB / 0.5451 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006551/0.4679, allocations: 4.004 MB / 0.549 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02197/0.4899, allocations: 18.47 MB / 0.5671 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.4915, allocations: 1.174 MB / 0.5682 GB, free: 7.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/0.492, allocations: 346.4 kB / 0.5686 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.4921, allocations: 8 kB / 0.5686 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4921, allocations: 34.56 kB / 0.5686 GB, free: 7.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=60): time 2.886e-06/0.4921, allocations: 0 / 0.5686 GB, free: 7.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=60): time 0.001754/0.4939, allocations: 1.043 MB / 0.5696 GB, free: 6.336 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.494, allocations: 106.8 kB / 0.5697 GB, free: 6.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/0.4977, allocations: 2.209 MB / 0.5719 GB, free: 3.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.4978, allocations: 37.7 kB / 0.5719 GB, free: 3.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.4992, allocations: 1.692 MB / 0.5736 GB, free: 2.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.4995, allocations: 278 kB / 0.5738 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009638/0.5005, allocations: 0.6867 MB / 0.5745 GB, free: 1.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5007, allocations: 361.9 kB / 0.5748 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.5021, allocations: 0.8887 MB / 0.5757 GB, free: 15.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003175/0.5053, allocations: 3.174 MB / 0.5788 GB, free: 11.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/0.5107, allocations: 4.441 MB / 0.5832 GB, free: 6.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.441e-05/0.5108, allocations: 24 kB / 0.5832 GB, free: 6.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006832/0.5176, allocations: 3.846 MB / 0.5869 GB, free: 2.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.7e-05/0.5177, allocations: 40 kB / 0.587 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/0.5179, allocations: 80 kB / 0.587 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.518, allocations: 108 kB / 0.5871 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.5202, allocations: 0.7524 MB / 0.5879 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001589/0.5203, allocations: 159.4 kB / 0.588 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/0.5231, allocations: 0.4963 MB / 0.5885 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.5234, allocations: 220.3 kB / 0.5887 GB, free: 372 kB / 446.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.001796/0.5252, allocations: 1.094 MB / 0.5898 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.5256, allocations: 178.8 kB / 0.59 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.526, allocations: 200.1 kB / 0.5902 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.5261, allocations: 8 kB / 0.5902 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.5261, allocations: 0 / 0.5902 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.5261, allocations: 4 kB / 0.5902 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.53, allocations: 2.014 MB / 0.5921 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/0.5301, allocations: 3.984 kB / 0.5921 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.5304, allocations: 63.84 kB / 0.5922 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.5304, allocations: 0 / 0.5922 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.5304, allocations: 11.94 kB / 0.5922 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.5304, allocations: 8 kB / 0.5922 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5305, allocations: 0 / 0.5922 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.5317, allocations: 1.049 MB / 0.5932 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/0.5323, allocations: 247.7 kB / 0.5935 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/0.5326, allocations: 7.938 kB / 0.5935 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000669/0.5333, allocations: 23.97 kB / 0.5935 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.5334, allocations: 19.97 kB / 0.5935 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.5334, allocations: 23.97 kB / 0.5936 GB, free: 11.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00238/0.5358, allocations: 1.372 MB / 0.5949 GB, free: 9.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5358, allocations: 0 / 0.5949 GB, free: 9.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00281/0.5387, allocations: 0.4991 MB / 0.5954 GB, free: 9.41 MB / 462.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.001943/0.5406, allocations: 1.649 MB / 0.597 GB, free: 7.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00347/0.5441, allocations: 2.05 MB / 0.599 GB, free: 5.699 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5441, allocations: 0 / 0.599 GB, free: 5.699 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.5446, allocations: 331.7 kB / 0.5993 GB, free: 5.375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.5458, allocations: 167.2 kB / 0.5995 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/0.578, allocations: 20.4 MB / 0.6194 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002475/0.5806, allocations: 1.786 MB / 0.6211 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002533/0.5831, allocations: 1.117 MB / 0.6222 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.5843, allocations: 0.7336 MB / 0.6229 GB, free: 10.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/0.5843, allocations: 0 / 0.6229 GB, free: 10.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.6457, allocations: 29.04 MB / 0.6513 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.53, allocations: 12.41 kB / 0.6513 GB, free: 13.38 MB / 0.5137 GB (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