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: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001874/0.001874, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.432/1.432, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.206/0.206, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.91 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006857/0.1193, allocations: 5.714 MB / 475.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003616/0.123, allocations: 1.795 MB / 477.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.1237, allocations: 23.94 kB / 477.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.125, allocations: 0.5096 MB / 478 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1266, allocations: 0.6769 MB / 478.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.1267, allocations: 15.98 kB / 478.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.1284, allocations: 1.451 MB / 480.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008645/0.1293, allocations: 0.7074 MB / 480.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.1299, allocations: 497.9 kB / 481.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007851/0.1307, allocations: 0.681 MB / 482 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.1309, allocations: 88 kB / 482.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.1316, allocations: 319.5 kB / 482.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005994/0.1322, allocations: 0.666 MB / 483 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.1329, allocations: 0.8342 MB / 483.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.1354, allocations: 2.535 MB / 486.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1355, allocations: 4 kB / 486.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1355, allocations: 0 / 486.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.435e-05/0.1355, allocations: 0 / 486.4 MB, free: 13.8 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.00287/0.1384, allocations: 1.981 MB / 488.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1385, allocations: 8.031 kB / 488.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005031/0.1435, allocations: 1.472 MB / 489.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.1454, allocations: 0.8434 MB / 490.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.1455, allocations: 86.27 kB / 490.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002507/0.1458, allocations: 103.8 kB / 490.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006259/0.152, allocations: 4.626 MB / 495.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.1521, allocations: 19.81 kB / 495.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.1523, allocations: 55.92 kB / 495.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00177/0.1541, allocations: 1.107 MB / 496.7 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006164/0.1602, allocations: 3.996 MB / 0.489 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2408/0.4011, allocations: 18.48 MB / 0.507 GB, free: 34.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.4024, allocations: 1.169 MB / 0.5082 GB, free: 34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.4029, allocations: 343.7 kB / 0.5085 GB, free: 33.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.4029, allocations: 6.188 kB / 0.5085 GB, free: 33.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.403, allocations: 41.67 kB / 0.5085 GB, free: 33.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.186e-06/0.403, allocations: 0 / 0.5085 GB, free: 33.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001579/0.4045, allocations: 1.03 MB / 0.5095 GB, free: 33.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4046, allocations: 110.3 kB / 0.5097 GB, free: 33.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002955/0.4076, allocations: 2.202 MB / 0.5118 GB, free: 33.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.4076, allocations: 34.66 kB / 0.5118 GB, free: 33.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008464/0.4085, allocations: 1.629 MB / 0.5134 GB, free: 32.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.4087, allocations: 262.2 kB / 0.5137 GB, free: 32.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007234/0.4094, allocations: 0.6771 MB / 0.5143 GB, free: 31.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4095, allocations: 356.7 kB / 0.5147 GB, free: 31.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.4108, allocations: 0.8938 MB / 0.5156 GB, free: 31.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002376/0.4132, allocations: 3.166 MB / 0.5186 GB, free: 27.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.417, allocations: 4.444 MB / 0.523 GB, free: 23.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.896e-05/0.4171, allocations: 23.78 kB / 0.523 GB, free: 23.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005935/0.423, allocations: 3.848 MB / 0.5268 GB, free: 22.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.022e-05/0.4231, allocations: 41.78 kB / 0.5268 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.4232, allocations: 85.5 kB / 0.5269 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/0.4234, allocations: 110.4 kB / 0.527 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.4251, allocations: 0.7468 MB / 0.5277 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001023/0.4252, allocations: 159.9 kB / 0.5279 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.4274, allocations: 493.8 kB / 0.5283 GB, free: 21.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.4276, allocations: 214.7 kB / 0.5285 GB, free: 21.84 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.001084/0.4287, allocations: 1.098 MB / 0.5296 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.4289, allocations: 165.8 kB / 0.5298 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.4291, allocations: 204.6 kB / 0.53 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.4291, allocations: 9.125 kB / 0.53 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4291, allocations: 0 / 0.53 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4292, allocations: 3.938 kB / 0.53 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.4319, allocations: 2.025 MB / 0.532 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4319, allocations: 1.875 kB / 0.532 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.4321, allocations: 57.11 kB / 0.532 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.4322, allocations: 6.031 kB / 0.532 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.4322, allocations: 12.97 kB / 0.532 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4322, allocations: 3.406 kB / 0.532 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4322, allocations: 0 / 0.532 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.433, allocations: 1.038 MB / 0.5331 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.4333, allocations: 234.9 kB / 0.5333 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4334, allocations: 11.62 kB / 0.5333 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004813/0.4339, allocations: 24.8 kB / 0.5333 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.434, allocations: 20.59 kB / 0.5333 GB, free: 19.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.434, allocations: 17.34 kB / 0.5334 GB, free: 19.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001366/0.4354, allocations: 1.373 MB / 0.5347 GB, free: 18.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4354, allocations: 4 kB / 0.5347 GB, free: 18.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002152/0.4375, allocations: 0.4902 MB / 0.5352 GB, free: 18.83 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.0002338/0.4378, allocations: 139.3 kB / 0.5353 GB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002442/0.4402, allocations: 2.146 MB / 0.5374 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4402, allocations: 0 / 0.5374 GB, free: 16.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.4405, allocations: 338.1 kB / 0.5377 GB, free: 16.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.4415, allocations: 159.8 kB / 0.5379 GB, free: 16.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.4459, allocations: 3.984 MB / 0.5418 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.447, allocations: 1.787 MB / 0.5435 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.4473, allocations: 143.4 kB / 0.5436 GB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4473, allocations: 0 / 0.5436 GB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.03344/0.4808, allocations: 25.57 MB / 0.5686 GB, free: 1.016 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/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