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.001634/0.001634, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001937/0.001937, allocations: 194 kB / 18.12 MB, free: 5.383 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.395/1.395, allocations: 222.9 MB / 241.8 MB, free: 15.35 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.2332/0.2332, allocations: 44.18 MB / 336.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.05 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1191, allocations: 60.84 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01159/0.1307, allocations: 9.209 MB / 477.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005225/0.136, allocations: 2.368 MB / 480.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.1374, allocations: 31.94 kB / 480.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.139, allocations: 486.4 kB / 480.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.1407, allocations: 0.654 MB / 481.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.1408, allocations: 12 kB / 481.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.1431, allocations: 2.053 MB / 483.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.1443, allocations: 0.7305 MB / 484.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1454, allocations: 426.1 kB / 484.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.1468, allocations: 0.7394 MB / 485.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.1472, allocations: 64 kB / 485.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.1482, allocations: 303.4 kB / 485.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008071/0.149, allocations: 0.6582 MB / 486.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.1501, allocations: 0.8186 MB / 487 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.1527, allocations: 2.515 MB / 489.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1527, allocations: 0 / 489.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1527, allocations: 4 kB / 489.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.198e-05/0.1528, allocations: 0 / 489.6 MB, free: 9.68 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.003055/0.1558, allocations: 1.978 MB / 491.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1559, allocations: 16.02 kB / 491.6 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/0.1604, allocations: 1.468 MB / 493 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1618, allocations: 0.8473 MB / 493.9 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.1618, allocations: 74.3 kB / 493.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.162, allocations: 103.8 kB / 494 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005021/0.1671, allocations: 4.626 MB / 498.7 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.1671, allocations: 19.81 kB / 498.7 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.1673, allocations: 60 kB / 498.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/0.1688, allocations: 1.103 MB / 499.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005531/0.1744, allocations: 4.004 MB / 0.4921 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2391/0.4135, allocations: 18.47 MB / 0.5101 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.4149, allocations: 1.168 MB / 0.5112 GB, free: 34.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.4154, allocations: 347.7 kB / 0.5116 GB, free: 34.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.4155, allocations: 3.406 kB / 0.5116 GB, free: 34.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4155, allocations: 44.45 kB / 0.5116 GB, free: 34.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.547e-06/0.4155, allocations: 0 / 0.5116 GB, free: 34.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001788/0.4173, allocations: 1.036 MB / 0.5126 GB, free: 34.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.4173, allocations: 110.9 kB / 0.5127 GB, free: 34.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.4204, allocations: 2.202 MB / 0.5149 GB, free: 33.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.4205, allocations: 35.19 kB / 0.5149 GB, free: 33.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000905/0.4214, allocations: 1.628 MB / 0.5165 GB, free: 32.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.4216, allocations: 262 kB / 0.5168 GB, free: 32.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008081/0.4224, allocations: 0.6758 MB / 0.5174 GB, free: 31.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.4225, allocations: 357.8 kB / 0.5178 GB, free: 31.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.4238, allocations: 0.8982 MB / 0.5186 GB, free: 31.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.4264, allocations: 3.166 MB / 0.5217 GB, free: 27.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004843/0.4313, allocations: 4.438 MB / 0.5261 GB, free: 23.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.47e-05/0.4314, allocations: 23.66 kB / 0.5261 GB, free: 23.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006157/0.4375, allocations: 3.848 MB / 0.5298 GB, free: 22.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.4376, allocations: 42.09 kB / 0.5299 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-05/0.4377, allocations: 86.62 kB / 0.53 GB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-05/0.4378, allocations: 106.1 kB / 0.5301 GB, free: 22.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.4397, allocations: 0.7472 MB / 0.5308 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001059/0.4398, allocations: 160.5 kB / 0.5309 GB, free: 22.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.4421, allocations: 496.4 kB / 0.5314 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.4424, allocations: 211.9 kB / 0.5316 GB, free: 21.75 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.001277/0.4437, allocations: 1.092 MB / 0.5327 GB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.4439, allocations: 176.4 kB / 0.5329 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.4441, allocations: 206.5 kB / 0.533 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.4441, allocations: 7.188 kB / 0.5331 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.4441, allocations: 1.781 kB / 0.5331 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4442, allocations: 0 / 0.5331 GB, free: 21.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.4469, allocations: 2.026 MB / 0.535 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4469, allocations: 3.625 kB / 0.535 GB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.4471, allocations: 68.33 kB / 0.5351 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4471, allocations: 0 / 0.5351 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.4472, allocations: 7.812 kB / 0.5351 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.4472, allocations: 3.812 kB / 0.5351 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4472, allocations: 0 / 0.5351 GB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008207/0.448, allocations: 1.031 MB / 0.5361 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.4483, allocations: 236.2 kB / 0.5363 GB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.4484, allocations: 11.78 kB / 0.5364 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.4489, allocations: 21.67 kB / 0.5364 GB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.449, allocations: 29.2 kB / 0.5364 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.449, allocations: 22.31 kB / 0.5364 GB, free: 19.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0014/0.4504, allocations: 1.37 MB / 0.5378 GB, free: 18.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4504, allocations: 0 / 0.5378 GB, free: 18.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002161/0.4526, allocations: 0.4953 MB / 0.5383 GB, free: 18.25 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.0002616/0.4529, allocations: 128.2 kB / 0.5384 GB, free: 18.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.4552, allocations: 2.042 MB / 0.5404 GB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4552, allocations: 0 / 0.5404 GB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.4555, allocations: 335.7 kB / 0.5407 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.4564, allocations: 156 kB / 0.5408 GB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/0.462, allocations: 4.58 MB / 0.5453 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.4633, allocations: 1.785 MB / 0.5471 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002172/0.4655, allocations: 1.11 MB / 0.5481 GB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.4658, allocations: 115.4 kB / 0.5482 GB, free: 7.965 MB / 382.1 MB Notification: Performance of SimCode: time 1.412e-06/0.4658, allocations: 0 / 0.5482 GB, free: 7.965 MB / 382.1 MB Notification: Performance of Templates: time 0.02465/0.4904, allocations: 12.29 MB / 0.5603 GB, free: 11.76 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