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.001771/0.001771, allocations: 110 kB / 17.86 MB, free: 5.504 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.002137/0.002137, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.203/2.203, allocations: 222.9 MB / 242.4 MB, free: 15.33 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.3694/0.3694, allocations: 44.17 MB / 336.8 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 62.81 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1558, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01491/0.1708, allocations: 9.213 MB / 478.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006826/0.1777, allocations: 2.364 MB / 480.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.1795, allocations: 31.94 kB / 480.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.1813, allocations: 494.4 kB / 481.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.1839, allocations: 0.6501 MB / 481.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1842, allocations: 11.98 kB / 481.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003472/0.1877, allocations: 2.064 MB / 484 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.1895, allocations: 0.7229 MB / 484.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.1905, allocations: 430 kB / 485.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.1921, allocations: 0.7355 MB / 485.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.1925, allocations: 64 kB / 485.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1937, allocations: 299.5 kB / 486.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.1949, allocations: 0.6543 MB / 486.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.1965, allocations: 0.8263 MB / 487.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.1997, allocations: 2.043 MB / 489.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1998, allocations: 0 / 489.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1998, allocations: 0 / 489.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001017/0.1999, allocations: 0 / 489.8 MB, free: 10.14 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.005786/0.2057, allocations: 1.99 MB / 491.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.2058, allocations: 8.031 kB / 491.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00775/0.2135, allocations: 1.468 MB / 493.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.2163, allocations: 0.8474 MB / 494.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.2164, allocations: 78.23 kB / 494.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/0.217, allocations: 99.84 kB / 494.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.2277, allocations: 4.626 MB / 498.9 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.37e-05/0.2278, allocations: 23.8 kB / 498.9 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005046/0.2283, allocations: 51.92 kB / 498.9 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002818/0.2312, allocations: 1.111 MB / 0.4883 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.2421, allocations: 4 MB / 0.4922 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3624/0.6046, allocations: 18.48 MB / 0.5103 GB, free: 35.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.6071, allocations: 1.17 MB / 0.5114 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007703/0.6079, allocations: 340.3 kB / 0.5118 GB, free: 34.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.608, allocations: 4.719 kB / 0.5118 GB, free: 34.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.608, allocations: 41.42 kB / 0.5118 GB, free: 34.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 7.284e-06/0.6081, allocations: 1.969 kB / 0.5118 GB, free: 34.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.003227/0.6113, allocations: 1.031 MB / 0.5128 GB, free: 34.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.6114, allocations: 115.7 kB / 0.5129 GB, free: 34.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008001/0.6194, allocations: 2.204 MB / 0.5151 GB, free: 33.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.6196, allocations: 31.7 kB / 0.5151 GB, free: 33.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.6216, allocations: 1.625 MB / 0.5167 GB, free: 32.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/0.6222, allocations: 265.9 kB / 0.5169 GB, free: 32.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00238/0.6246, allocations: 0.6764 MB / 0.5176 GB, free: 31.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.6249, allocations: 352.7 kB / 0.5179 GB, free: 31.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/0.6276, allocations: 0.8924 MB / 0.5188 GB, free: 31.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004802/0.6324, allocations: 3.17 MB / 0.5219 GB, free: 27.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007039/0.6395, allocations: 4.438 MB / 0.5262 GB, free: 23.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002219/0.6397, allocations: 23.62 kB / 0.5263 GB, free: 23.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01182/0.6516, allocations: 3.85 MB / 0.53 GB, free: 22.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002547/0.6519, allocations: 43.12 kB / 0.5301 GB, free: 22.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000261/0.6522, allocations: 82.41 kB / 0.5301 GB, free: 22.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.6524, allocations: 106.2 kB / 0.5302 GB, free: 22.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/0.6561, allocations: 0.7589 MB / 0.531 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002299/0.6564, allocations: 157.8 kB / 0.5311 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/0.661, allocations: 491.5 kB / 0.5316 GB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008008/0.6618, allocations: 217.1 kB / 0.5318 GB, free: 21.81 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.002949/0.6648, allocations: 1.093 MB / 0.5329 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.6653, allocations: 167.2 kB / 0.533 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007786/0.6661, allocations: 199.4 kB / 0.5332 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-05/0.6662, allocations: 7.875 kB / 0.5332 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.6662, allocations: 3.938 kB / 0.5332 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.6662, allocations: 1.969 kB / 0.5332 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005878/0.6721, allocations: 2.03 MB / 0.5352 GB, free: 20.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.6722, allocations: 0 / 0.5352 GB, free: 20.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.6726, allocations: 71.52 kB / 0.5353 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.6727, allocations: 0 / 0.5353 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.6727, allocations: 7.344 kB / 0.5353 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.6727, allocations: 3.688 kB / 0.5353 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6728, allocations: 3.609 kB / 0.5353 GB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.6743, allocations: 1.033 MB / 0.5363 GB, free: 19.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006625/0.6749, allocations: 234.6 kB / 0.5365 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005331/0.6755, allocations: 7.625 kB / 0.5365 GB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.6766, allocations: 25.64 kB / 0.5366 GB, free: 19.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6767, allocations: 28.83 kB / 0.5366 GB, free: 19.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-05/0.6768, allocations: 18.53 kB / 0.5366 GB, free: 19.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003197/0.68, allocations: 1.376 MB / 0.538 GB, free: 18.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.68, allocations: 0 / 0.538 GB, free: 18.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004418/0.6844, allocations: 0.4904 MB / 0.5384 GB, free: 18.34 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.0004432/0.6849, allocations: 131.4 kB / 0.5386 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0042/0.6891, allocations: 2.038 MB / 0.5405 GB, free: 16.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6892, allocations: 384 / 0.5405 GB, free: 16.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.6897, allocations: 331.7 kB / 0.5409 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.692, allocations: 157.3 kB / 0.541 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.7026, allocations: 4.806 MB / 0.5457 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/0.7052, allocations: 1.794 MB / 0.5475 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006553/0.7059, allocations: 147.4 kB / 0.5476 GB, free: 8.918 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.706, allocations: 0 / 0.5476 GB, free: 8.918 MB / 382.1 MB Notification: Performance of Templates: time 0.05545/0.7614, allocations: 25.56 MB / 0.5726 GB, free: 15.45 MB / 414.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