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.001179/0.001179, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.001266/0.001266, allocations: 185 kB / 18.72 MB, free: 4.332 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2119/0.2119, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3335, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006534/0.34, allocations: 5.712 MB / 0.524 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004019/0.3441, allocations: 1.802 MB / 0.5258 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008722/0.345, allocations: 24.34 kB / 0.5258 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.3465, allocations: 0.5029 MB / 0.5263 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.3485, allocations: 0.6912 MB / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.3487, allocations: 18.56 kB / 0.527 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.3507, allocations: 1.455 MB / 0.5284 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.3518, allocations: 0.7126 MB / 0.5291 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008094/0.3526, allocations: 496.7 kB / 0.5296 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009637/0.3536, allocations: 0.6749 MB / 0.5302 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002756/0.3539, allocations: 87.41 kB / 0.5303 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007757/0.3547, allocations: 321.2 kB / 0.5306 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006658/0.3554, allocations: 0.6677 MB / 0.5313 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009421/0.3563, allocations: 0.8378 MB / 0.5321 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.3597, allocations: 2.685 MB / 0.5347 GB, free: 8.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3597, allocations: 1.25 kB / 0.5347 GB, free: 8.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3597, allocations: 0 / 0.5347 GB, free: 8.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.043e-05/0.3598, allocations: 0 / 0.5347 GB, free: 8.695 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.003998/0.3638, allocations: 2.036 MB / 0.5367 GB, free: 7.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3639, allocations: 10.31 kB / 0.5367 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005591/0.3644, allocations: 346.1 kB / 0.537 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/0.3697, allocations: 1.482 MB / 0.5385 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.3719, allocations: 0.8577 MB / 0.5393 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.372, allocations: 77.36 kB / 0.5394 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.3724, allocations: 103.4 kB / 0.5395 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006768/0.3792, allocations: 4.623 MB / 0.544 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.3793, allocations: 19.81 kB / 0.544 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.3795, allocations: 51.92 kB / 0.5441 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00176/0.3813, allocations: 1.099 MB / 0.5451 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006485/0.3878, allocations: 4.008 MB / 0.5491 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02037/0.4082, allocations: 18.47 MB / 0.5671 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.4096, allocations: 1.171 MB / 0.5682 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.4101, allocations: 346.4 kB / 0.5686 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.4101, allocations: 7.938 kB / 0.5686 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.4102, allocations: 38.56 kB / 0.5686 GB, free: 7.355 MB / 430.1 MB Notification: Performance of pre-optimization done (n=60): time 4.208e-06/0.4102, allocations: 0 / 0.5686 GB, free: 7.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=60): time 0.001636/0.4118, allocations: 1.034 MB / 0.5696 GB, free: 6.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.4119, allocations: 110.8 kB / 0.5697 GB, free: 6.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003253/0.4152, allocations: 2.213 MB / 0.5719 GB, free: 3.926 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.4153, allocations: 33.7 kB / 0.5719 GB, free: 3.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.4165, allocations: 1.691 MB / 0.5736 GB, free: 2.176 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.4168, allocations: 278 kB / 0.5738 GB, free: 1.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008895/0.4177, allocations: 0.6829 MB / 0.5745 GB, free: 1.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4179, allocations: 357.9 kB / 0.5748 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.4192, allocations: 0.8926 MB / 0.5757 GB, free: 15.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/0.422, allocations: 3.17 MB / 0.5788 GB, free: 11.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00457/0.4266, allocations: 4.435 MB / 0.5831 GB, free: 6.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.973e-05/0.4267, allocations: 24 kB / 0.5832 GB, free: 6.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00672/0.4334, allocations: 3.855 MB / 0.5869 GB, free: 2.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/0.4335, allocations: 40 kB / 0.587 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.86e-05/0.4336, allocations: 84 kB / 0.587 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.4337, allocations: 104 kB / 0.5871 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.436, allocations: 0.7525 MB / 0.5879 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001159/0.4361, allocations: 167.3 kB / 0.588 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.4387, allocations: 0.4888 MB / 0.5885 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004609/0.4392, allocations: 224 kB / 0.5887 GB, free: 348 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.001883/0.4411, allocations: 1.094 MB / 0.5898 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.4414, allocations: 178.8 kB / 0.59 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.4418, allocations: 196.1 kB / 0.5902 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.4418, allocations: 8.281 kB / 0.5902 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.4418, allocations: 0 / 0.5902 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.4419, allocations: 7.984 kB / 0.5902 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.4456, allocations: 2.023 MB / 0.5921 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4457, allocations: 0 / 0.5921 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.446, allocations: 67.89 kB / 0.5922 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.446, allocations: 7.938 kB / 0.5922 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.446, allocations: 11.94 kB / 0.5922 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.4461, allocations: 4 kB / 0.5922 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4461, allocations: 0 / 0.5922 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.4472, allocations: 1.039 MB / 0.5932 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/0.4477, allocations: 247.7 kB / 0.5935 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.4479, allocations: 7.938 kB / 0.5935 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/0.4485, allocations: 23.97 kB / 0.5935 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.4485, allocations: 23.97 kB / 0.5935 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.4486, allocations: 19.98 kB / 0.5936 GB, free: 11.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002195/0.4508, allocations: 1.375 MB / 0.5949 GB, free: 9.879 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4508, allocations: 0 / 0.5949 GB, free: 9.879 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002879/0.4537, allocations: 0.4952 MB / 0.5954 GB, free: 9.383 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.001828/0.4556, allocations: 1.651 MB / 0.597 GB, free: 7.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003362/0.459, allocations: 2.043 MB / 0.599 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.459, allocations: 4 kB / 0.599 GB, free: 5.672 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.4594, allocations: 330.8 kB / 0.5993 GB, free: 5.352 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.4608, allocations: 167.2 kB / 0.5995 GB, free: 5.184 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02971/0.4906, allocations: 20.4 MB / 0.6194 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/0.4926, allocations: 1.79 MB / 0.6211 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002377/0.495, allocations: 1.109 MB / 0.6222 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.4961, allocations: 0.7336 MB / 0.6229 GB, free: 10.21 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4962, allocations: 0 / 0.6229 GB, free: 10.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05747/0.5536, allocations: 29.03 MB / 0.6513 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.51, allocations: 11.53 kB / 0.6513 GB, free: 13.36 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