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.001729/0.001729, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.00218/0.00218, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.396/1.396, allocations: 222.9 MB / 243 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.2113/0.2113, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 68.11 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1374, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007211/0.1447, allocations: 5.732 MB / 476.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.1482, allocations: 1.784 MB / 478.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.1487, allocations: 23.94 kB / 478.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.1499, allocations: 0.5174 MB / 478.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.1514, allocations: 0.673 MB / 479.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.944e-05/0.1515, allocations: 11.94 kB / 479.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.1531, allocations: 1.456 MB / 480.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008491/0.1539, allocations: 0.7074 MB / 481.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.1545, allocations: 497.9 kB / 482.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/0.1553, allocations: 0.681 MB / 482.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.1554, allocations: 88 kB / 482.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.1561, allocations: 315.5 kB / 483.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007056/0.1568, allocations: 0.666 MB / 483.8 MB, free: 464 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009268/0.1578, allocations: 0.8343 MB / 484.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.1608, allocations: 2.677 MB / 487.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1608, allocations: 3.938 kB / 487.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1609, allocations: 0 / 487.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.688e-05/0.1609, allocations: 0 / 487.3 MB, free: 12.92 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.003313/0.1642, allocations: 1.979 MB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1643, allocations: 11.97 kB / 489.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.169, allocations: 1.468 MB / 490.8 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.171, allocations: 0.8474 MB / 491.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.171, allocations: 78.28 kB / 491.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.1712, allocations: 95.86 kB / 491.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005768/0.177, allocations: 4.633 MB / 496.5 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.1771, allocations: 19.81 kB / 496.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.1772, allocations: 55.91 kB / 496.5 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/0.1789, allocations: 1.111 MB / 497.6 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005729/0.1846, allocations: 4.011 MB / 0.4899 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2325/0.4171, allocations: 18.41 MB / 0.5079 GB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.4189, allocations: 1.177 MB / 0.509 GB, free: 34.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.4194, allocations: 343.7 kB / 0.5093 GB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4194, allocations: 4.469 kB / 0.5094 GB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.4194, allocations: 42.77 kB / 0.5094 GB, free: 34.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.858e-06/0.4194, allocations: 0 / 0.5094 GB, free: 34.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001848/0.4213, allocations: 1.033 MB / 0.5104 GB, free: 33.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.4213, allocations: 110.9 kB / 0.5105 GB, free: 33.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/0.4249, allocations: 2.199 MB / 0.5127 GB, free: 33.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.425, allocations: 35.08 kB / 0.5127 GB, free: 33.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.4262, allocations: 1.627 MB / 0.5143 GB, free: 32.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.4265, allocations: 265.2 kB / 0.5145 GB, free: 31.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.4276, allocations: 0.6748 MB / 0.5152 GB, free: 31.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4278, allocations: 355.6 kB / 0.5155 GB, free: 31.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.4293, allocations: 0.896 MB / 0.5164 GB, free: 31.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/0.4322, allocations: 3.164 MB / 0.5195 GB, free: 27.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005142/0.4373, allocations: 4.441 MB / 0.5238 GB, free: 23.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.686e-05/0.4374, allocations: 23.75 kB / 0.5239 GB, free: 23.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006769/0.4442, allocations: 3.844 MB / 0.5276 GB, free: 22.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.4443, allocations: 49.27 kB / 0.5277 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.652e-05/0.4444, allocations: 84.59 kB / 0.5277 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.18e-05/0.4445, allocations: 102.2 kB / 0.5278 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.4463, allocations: 0.7526 MB / 0.5286 GB, free: 22.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/0.4464, allocations: 160 kB / 0.5287 GB, free: 22.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.4485, allocations: 492.2 kB / 0.5292 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.4487, allocations: 219.2 kB / 0.5294 GB, free: 21.77 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.001063/0.4498, allocations: 1.098 MB / 0.5305 GB, free: 21.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.45, allocations: 169.7 kB / 0.5306 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.4502, allocations: 206.7 kB / 0.5308 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.4503, allocations: 11.56 kB / 0.5308 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4503, allocations: 0 / 0.5308 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4503, allocations: 1.219 kB / 0.5308 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.4531, allocations: 2.015 MB / 0.5328 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4531, allocations: 4 kB / 0.5328 GB, free: 20.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.4534, allocations: 66.61 kB / 0.5329 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4534, allocations: 3 kB / 0.5329 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.4534, allocations: 9.531 kB / 0.5329 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4534, allocations: 0 / 0.5329 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4534, allocations: 3.688 kB / 0.5329 GB, free: 20.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.4542, allocations: 1.038 MB / 0.5339 GB, free: 19.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.4545, allocations: 234.2 kB / 0.5341 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.4546, allocations: 7.031 kB / 0.5341 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/0.4551, allocations: 21.03 kB / 0.5342 GB, free: 19.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.4552, allocations: 28.97 kB / 0.5342 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.4552, allocations: 18.2 kB / 0.5342 GB, free: 19.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001327/0.4566, allocations: 1.374 MB / 0.5355 GB, free: 18.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4566, allocations: 0 / 0.5355 GB, free: 18.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002144/0.4587, allocations: 0.4939 MB / 0.536 GB, free: 18.66 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.0002366/0.459, allocations: 137 kB / 0.5362 GB, free: 18.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.4614, allocations: 2.042 MB / 0.5382 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4614, allocations: 0 / 0.5382 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.4617, allocations: 336 kB / 0.5385 GB, free: 16.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.4626, allocations: 173.3 kB / 0.5386 GB, free: 16.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.467, allocations: 3.69 MB / 0.5422 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/0.4683, allocations: 1.794 MB / 0.544 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001795/0.4701, allocations: 1.113 MB / 0.5451 GB, free: 9.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.4703, allocations: 115.4 kB / 0.5452 GB, free: 9.484 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4703, allocations: 0 / 0.5452 GB, free: 9.484 MB / 382.1 MB Notification: Performance of Templates: time 0.02121/0.4915, allocations: 12.7 MB / 0.5576 GB, free: 12.88 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 -s cvode -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