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.001327/0.001327, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001236/0.001236, allocations: 183.8 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.407/1.407, 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.2161/0.2161, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 75.88 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3112, 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.005597/0.3169, allocations: 5.72 MB / 0.524 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.3205, allocations: 1.796 MB / 0.5257 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.321, allocations: 22.5 kB / 0.5258 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.3222, allocations: 0.504 MB / 0.5263 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3237, allocations: 0.6829 MB / 0.5269 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.3238, allocations: 18.02 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.3258, allocations: 1.459 MB / 0.5284 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008836/0.3267, allocations: 0.7092 MB / 0.5291 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.3273, allocations: 496.2 kB / 0.5295 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008731/0.3282, allocations: 0.6793 MB / 0.5302 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.3284, allocations: 87.25 kB / 0.5303 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.3291, allocations: 317.5 kB / 0.5306 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.3298, allocations: 0.6708 MB / 0.5312 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008252/0.3306, allocations: 0.8343 MB / 0.5321 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00339/0.334, allocations: 2.69 MB / 0.5347 GB, free: 8.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.334, allocations: 0 / 0.5347 GB, free: 8.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.334, allocations: 0 / 0.5347 GB, free: 8.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.834e-05/0.3341, allocations: 0 / 0.5347 GB, free: 8.707 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.003895/0.338, allocations: 2.034 MB / 0.5367 GB, free: 7.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.3381, allocations: 12.67 kB / 0.5367 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004533/0.3385, allocations: 342.6 kB / 0.537 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005119/0.3437, allocations: 1.486 MB / 0.5385 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.3454, allocations: 0.8541 MB / 0.5393 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.3455, allocations: 77.67 kB / 0.5394 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.3457, allocations: 104.2 kB / 0.5395 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006391/0.3521, allocations: 4.624 MB / 0.544 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.3522, allocations: 19.81 kB / 0.544 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.3523, allocations: 51.92 kB / 0.5441 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001869/0.3542, allocations: 1.099 MB / 0.5451 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006504/0.3607, allocations: 4.008 MB / 0.549 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.3811, allocations: 18.46 MB / 0.5671 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3826, allocations: 1.178 MB / 0.5682 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.3831, allocations: 346.5 kB / 0.5686 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3831, allocations: 4 kB / 0.5686 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3832, allocations: 34.56 kB / 0.5686 GB, free: 7.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=60): time 2.796e-06/0.3832, allocations: 0 / 0.5686 GB, free: 7.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=60): time 0.001691/0.3849, allocations: 1.047 MB / 0.5696 GB, free: 6.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/0.385, allocations: 106.8 kB / 0.5697 GB, free: 6.219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.3881, allocations: 2.213 MB / 0.5719 GB, free: 3.961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.3881, allocations: 33.7 kB / 0.5719 GB, free: 3.922 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.3894, allocations: 1.695 MB / 0.5736 GB, free: 2.207 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.3897, allocations: 274.1 kB / 0.5738 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008849/0.3906, allocations: 0.6829 MB / 0.5745 GB, free: 1.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3908, allocations: 353.9 kB / 0.5748 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.3921, allocations: 0.8966 MB / 0.5757 GB, free: 15.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003505/0.3957, allocations: 3.166 MB / 0.5788 GB, free: 11.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005325/0.401, allocations: 4.441 MB / 0.5831 GB, free: 6.105 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.972e-05/0.4011, allocations: 24 kB / 0.5832 GB, free: 6.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006224/0.4073, allocations: 3.854 MB / 0.5869 GB, free: 2.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.4074, allocations: 40 kB / 0.587 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.951e-05/0.4075, allocations: 80 kB / 0.587 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.4076, allocations: 108 kB / 0.5871 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/0.4098, allocations: 0.7525 MB / 0.5879 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001384/0.4099, allocations: 163.3 kB / 0.588 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.4121, allocations: 0.4927 MB / 0.5885 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/0.4124, allocations: 216 kB / 0.5887 GB, free: 392 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.001626/0.414, allocations: 1.098 MB / 0.5898 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.4143, allocations: 178.8 kB / 0.59 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.4147, allocations: 200.1 kB / 0.5901 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.4147, allocations: 8 kB / 0.5902 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4147, allocations: 0 / 0.5902 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4147, allocations: 0 / 0.5902 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/0.4182, allocations: 2.026 MB / 0.5921 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4182, allocations: 0 / 0.5921 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.4185, allocations: 63.91 kB / 0.5922 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4185, allocations: 3.938 kB / 0.5922 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.4186, allocations: 11.94 kB / 0.5922 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.4186, allocations: 8 kB / 0.5922 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4186, allocations: 0 / 0.5922 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.4199, allocations: 1.043 MB / 0.5932 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/0.4203, allocations: 239.7 kB / 0.5935 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.4205, allocations: 11.94 kB / 0.5935 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.421, allocations: 23.97 kB / 0.5935 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.4211, allocations: 23.97 kB / 0.5935 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.4211, allocations: 19.97 kB / 0.5935 GB, free: 11.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002356/0.4235, allocations: 1.376 MB / 0.5949 GB, free: 9.926 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4235, allocations: 4 kB / 0.5949 GB, free: 9.922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002681/0.4262, allocations: 0.4913 MB / 0.5954 GB, free: 9.43 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.001854/0.4281, allocations: 1.651 MB / 0.597 GB, free: 7.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003768/0.4319, allocations: 2.047 MB / 0.599 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.4319, allocations: 0 / 0.599 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.4324, allocations: 335.7 kB / 0.5993 GB, free: 5.391 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4337, allocations: 171.2 kB / 0.5995 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02845/0.4622, allocations: 20.4 MB / 0.6194 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/0.464, allocations: 1.786 MB / 0.6211 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00237/0.4664, allocations: 1.113 MB / 0.6222 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.4674, allocations: 0.7336 MB / 0.6229 GB, free: 10.25 MB / 494.1 MB Notification: Performance of SimCode: time 1.412e-06/0.4675, allocations: 0 / 0.6229 GB, free: 10.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06686/0.5343, allocations: 29.04 MB / 0.6513 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.28, allocations: 10.73 kB / 0.6513 GB, free: 13.39 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