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.001182/0.001182, allocations: 109.1 kB / 17.33 MB, free: 6.023 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.001164/0.001164, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.369/1.369, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2194/0.2194, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 68.11 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01018/0.1205, allocations: 9.199 MB / 477.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00552/0.1261, allocations: 2.341 MB / 480.3 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.1279, allocations: 31.94 kB / 480.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.1295, allocations: 490.4 kB / 480.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.1315, allocations: 0.6462 MB / 481.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1318, allocations: 19.97 kB / 481.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.1338, allocations: 1.475 MB / 482.9 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1351, allocations: 0.7658 MB / 483.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008336/0.136, allocations: 498 kB / 484.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.1372, allocations: 0.7746 MB / 484.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003791/0.1376, allocations: 88 kB / 485 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009193/0.1385, allocations: 327.5 kB / 485.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009525/0.1395, allocations: 0.6855 MB / 486 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.141, allocations: 0.842 MB / 486.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00287/0.1439, allocations: 2.566 MB / 489.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1439, allocations: 0 / 489.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1439, allocations: 0 / 489.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.892e-05/0.144, allocations: 0 / 489.4 MB, free: 9.91 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.003356/0.1473, allocations: 1.978 MB / 491.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1474, allocations: 8.031 kB / 491.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/0.1522, allocations: 1.476 MB / 492.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.1539, allocations: 0.8434 MB / 493.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/0.154, allocations: 78.28 kB / 493.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.1542, allocations: 103.8 kB / 493.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005878/0.1601, allocations: 4.622 MB / 498.5 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.1601, allocations: 19.81 kB / 498.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.1603, allocations: 55.92 kB / 498.6 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.1619, allocations: 1.115 MB / 499.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005613/0.1675, allocations: 4 MB / 0.4919 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2742/0.4417, allocations: 18.48 MB / 0.51 GB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.4433, allocations: 1.173 MB / 0.5111 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.4438, allocations: 342.2 kB / 0.5114 GB, free: 34.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.4439, allocations: 5.875 kB / 0.5114 GB, free: 34.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.4439, allocations: 39.88 kB / 0.5115 GB, free: 34.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.268e-06/0.4439, allocations: 2.562 kB / 0.5115 GB, free: 34.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001841/0.4458, allocations: 1.028 MB / 0.5125 GB, free: 34.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.4458, allocations: 115.6 kB / 0.5126 GB, free: 34.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.4495, allocations: 2.202 MB / 0.5147 GB, free: 33.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.4496, allocations: 32.42 kB / 0.5148 GB, free: 33.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.4507, allocations: 1.627 MB / 0.5164 GB, free: 32.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.4509, allocations: 262.9 kB / 0.5166 GB, free: 32.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/0.4518, allocations: 0.6755 MB / 0.5173 GB, free: 31.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4519, allocations: 363 kB / 0.5176 GB, free: 31.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.4535, allocations: 0.8938 MB / 0.5185 GB, free: 31.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003996/0.4575, allocations: 3.162 MB / 0.5216 GB, free: 27.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005644/0.4632, allocations: 4.446 MB / 0.5259 GB, free: 23.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.276e-05/0.4633, allocations: 23.75 kB / 0.5259 GB, free: 23.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007626/0.4709, allocations: 3.848 MB / 0.5297 GB, free: 22.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.471, allocations: 39.31 kB / 0.5297 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.4712, allocations: 82.69 kB / 0.5298 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.4713, allocations: 106.1 kB / 0.5299 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/0.4733, allocations: 0.7497 MB / 0.5307 GB, free: 22.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/0.4735, allocations: 161.8 kB / 0.5308 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.4759, allocations: 495.1 kB / 0.5313 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.4761, allocations: 213.6 kB / 0.5315 GB, free: 21.76 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.00112/0.4773, allocations: 1.099 MB / 0.5326 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.4775, allocations: 172.5 kB / 0.5327 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.4777, allocations: 200.6 kB / 0.5329 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.4777, allocations: 9.594 kB / 0.5329 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.4778, allocations: 3.938 kB / 0.5329 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4778, allocations: 4 kB / 0.5329 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.4804, allocations: 2.018 MB / 0.5349 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4804, allocations: 0 / 0.5349 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.4807, allocations: 62.52 kB / 0.535 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4807, allocations: 0 / 0.535 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.4807, allocations: 12.66 kB / 0.535 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.4808, allocations: 3.312 kB / 0.535 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.4808, allocations: 10.75 kB / 0.535 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008224/0.4816, allocations: 1.029 MB / 0.536 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.4818, allocations: 232.9 kB / 0.5362 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.482, allocations: 7.688 kB / 0.5362 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.4825, allocations: 26.69 kB / 0.5362 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.4825, allocations: 23.27 kB / 0.5363 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.4826, allocations: 21.94 kB / 0.5363 GB, free: 19.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001419/0.484, allocations: 1.37 MB / 0.5376 GB, free: 18.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.484, allocations: 0 / 0.5376 GB, free: 18.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002298/0.4863, allocations: 0.5012 MB / 0.5381 GB, free: 18.27 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.00026/0.4866, allocations: 129.4 kB / 0.5382 GB, free: 18.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002495/0.4891, allocations: 2.139 MB / 0.5403 GB, free: 16.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4891, allocations: 4.312 kB / 0.5403 GB, free: 16.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.4894, allocations: 343.2 kB / 0.5407 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4905, allocations: 161 kB / 0.5408 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.4951, allocations: 4.576 MB / 0.5453 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.4963, allocations: 1.788 MB / 0.547 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002093/0.4984, allocations: 1.114 MB / 0.5481 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.4986, allocations: 115.4 kB / 0.5482 GB, free: 7.883 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4986, allocations: 0 / 0.5482 GB, free: 7.883 MB / 382.1 MB Notification: Performance of Templates: time 0.02284/0.5215, allocations: 12.69 MB / 0.5606 GB, free: 11.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins/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