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.001418/0.001418, allocations: 96.03 kB / 16.98 MB, free: 5.938 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.002103/0.002103, allocations: 188 kB / 17.88 MB, free: 5.594 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.464/1.464, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.231/0.231, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 8 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 61.92 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009101/0.1609, allocations: 7.792 MB / 479.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.1659, allocations: 2.264 MB / 481.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008769/0.1668, allocations: 35.94 kB / 481.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.1675, allocations: 346.4 kB / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.1704, allocations: 1.188 MB / 483.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.1705, allocations: 27.97 kB / 483.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.1717, allocations: 0.8371 MB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.1729, allocations: 0.8825 MB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.1734, allocations: 390.6 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006073/0.174, allocations: 0.506 MB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1741, allocations: 56 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005463/0.1747, allocations: 271.6 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004595/0.1751, allocations: 0.5883 MB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.1754, allocations: 364.5 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.1773, allocations: 2.003 MB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1773, allocations: 0 / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1773, allocations: 3.938 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.1773, allocations: 0 / 489 MB, free: 12.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.002838/0.1802, allocations: 1.667 MB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1802, allocations: 12.03 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/0.1859, allocations: 1.791 MB / 492.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.1879, allocations: 0.8346 MB / 493.3 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.1879, allocations: 73.92 kB / 493.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.1881, allocations: 103.9 kB / 493.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006039/0.1942, allocations: 4.614 MB / 498.1 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.1943, allocations: 19.81 kB / 498.1 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.1944, allocations: 55.92 kB / 498.1 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/0.1962, allocations: 1.103 MB / 499.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006247/0.2024, allocations: 3.988 MB / 0.4914 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3059/0.5083, allocations: 18.49 MB / 0.5095 GB, free: 33.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.5103, allocations: 1.171 MB / 0.5106 GB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.5104, allocations: 9.656 kB / 0.5106 GB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.5105, allocations: 38.03 kB / 0.5107 GB, free: 33.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.408e-06/0.5105, allocations: 0 / 0.5107 GB, free: 33.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002652/0.5131, allocations: 1.288 MB / 0.5119 GB, free: 32.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.5132, allocations: 113.5 kB / 0.512 GB, free: 32.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004866/0.5181, allocations: 2.193 MB / 0.5142 GB, free: 32.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.5182, allocations: 33.41 kB / 0.5142 GB, free: 32.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.5197, allocations: 1.624 MB / 0.5158 GB, free: 31.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.5201, allocations: 267.1 kB / 0.5161 GB, free: 31.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.5203, allocations: 70.28 kB / 0.5161 GB, free: 30.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004027/0.5207, allocations: 0.4907 MB / 0.5166 GB, free: 30.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.5228, allocations: 0.8838 MB / 0.5175 GB, free: 30.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/0.5261, allocations: 3.14 MB / 0.5205 GB, free: 27.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004616/0.5307, allocations: 1.68 MB / 0.5222 GB, free: 26.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.5308, allocations: 28.06 kB / 0.5222 GB, free: 26.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01064/0.5415, allocations: 3.814 MB / 0.5259 GB, free: 24.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.5417, allocations: 40 kB / 0.526 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002419/0.5419, allocations: 80.38 kB / 0.526 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.5422, allocations: 118.4 kB / 0.5262 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.5456, allocations: 0.7575 MB / 0.5269 GB, free: 24.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000225/0.5459, allocations: 155.5 kB / 0.527 GB, free: 24.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/0.5495, allocations: 0.4932 MB / 0.5275 GB, free: 24.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005216/0.55, allocations: 219.8 kB / 0.5277 GB, free: 24.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002421/0.5525, allocations: 1.085 MB / 0.5288 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.5528, allocations: 175.1 kB / 0.529 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.5533, allocations: 195.2 kB / 0.5291 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/0.5534, allocations: 17.98 kB / 0.5292 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.5534, allocations: 7.703 kB / 0.5292 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.5534, allocations: 3.938 kB / 0.5292 GB, free: 23.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.5581, allocations: 2.004 MB / 0.5311 GB, free: 22.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.5582, allocations: 7.891 kB / 0.5311 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.5586, allocations: 60.22 kB / 0.5312 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.5586, allocations: 3.844 kB / 0.5312 GB, free: 22.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.5587, allocations: 7.844 kB / 0.5312 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.5587, allocations: 7.938 kB / 0.5312 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5587, allocations: 3.938 kB / 0.5312 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.5599, allocations: 1.058 MB / 0.5322 GB, free: 22.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.5604, allocations: 238.3 kB / 0.5325 GB, free: 22.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.5608, allocations: 14.16 kB / 0.5325 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.5616, allocations: 25.5 kB / 0.5325 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.5617, allocations: 27.47 kB / 0.5325 GB, free: 22.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/0.5617, allocations: 14.28 kB / 0.5326 GB, free: 22.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002492/0.5642, allocations: 1.372 MB / 0.5339 GB, free: 21.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5643, allocations: 4 kB / 0.5339 GB, free: 21.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004013/0.5683, allocations: 0.4971 MB / 0.5344 GB, free: 21.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003722/0.5687, allocations: 120.1 kB / 0.5345 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.5718, allocations: 2.03 MB / 0.5365 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5718, allocations: 0 / 0.5365 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.5721, allocations: 328.9 kB / 0.5368 GB, free: 20.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/0.5731, allocations: 167.3 kB / 0.537 GB, free: 19.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/0.5795, allocations: 4.379 MB / 0.5412 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.5812, allocations: 1.829 MB / 0.543 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002271/0.5835, allocations: 1.113 MB / 0.5441 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.5838, allocations: 120.2 kB / 0.5442 GB, free: 12.42 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5838, allocations: 0 / 0.5442 GB, free: 12.42 MB / 382.1 MB Notification: Performance of Templates: time 0.02214/0.606, allocations: 12.01 MB / 0.5559 GB, free: 0.5 MB / 382.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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches