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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 178.3 kB / 8.518 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009613/0.0009614, allocations: 88.72 kB / 281.2 MB, free: 5.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1645/0.1645, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/7.744e-06, allocations: 4 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 61.91 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/0.3878, allocations: 94.51 MB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.3881, allocations: 74.91 kB / 0.5865 GB, free: 2.219 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.08772/0.4758, allocations: 34.43 MB / 0.6201 GB, free: 15.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.6e-05/0.4759, allocations: 28 kB / 0.6201 GB, free: 15.4 MB / 442.7 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.002441/0.4783, allocations: 1.655 MB / 0.6217 GB, free: 13.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4784, allocations: 11.97 kB / 0.6217 GB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006336/0.4847, allocations: 1.343 MB / 0.623 GB, free: 12.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.4873, allocations: 1.028 MB / 0.624 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.4874, allocations: 60 kB / 0.6241 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.4877, allocations: 96 kB / 0.6242 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004171/0.4919, allocations: 2.832 MB / 0.627 GB, free: 8.281 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006027/0.498, allocations: 4.707 MB / 0.6316 GB, free: 2.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-05/0.4981, allocations: 35.59 kB / 0.6316 GB, free: 2.895 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.4983, allocations: 20 kB / 0.6316 GB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005462/0.4988, allocations: 0.5449 MB / 0.6321 GB, free: 2.332 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/0.5187, allocations: 23.73 MB / 0.6553 GB, free: 9.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.5202, allocations: 1.147 MB / 0.6564 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.5206, allocations: 338.4 kB / 0.6568 GB, free: 8.125 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.5206, allocations: 7.938 kB / 0.6568 GB, free: 8.117 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.5206, allocations: 38.7 kB / 0.6568 GB, free: 8.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/0.5207, allocations: 4 kB / 0.6568 GB, free: 8.066 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001194/0.5219, allocations: 0.7592 MB / 0.6575 GB, free: 7.305 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.5219, allocations: 106.8 kB / 0.6576 GB, free: 7.176 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.5241, allocations: 1.727 MB / 0.6593 GB, free: 5.449 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.5241, allocations: 25.7 kB / 0.6594 GB, free: 5.418 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.5252, allocations: 1.628 MB / 0.661 GB, free: 3.762 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.5254, allocations: 265 kB / 0.6612 GB, free: 3.496 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.5255, allocations: 0 / 0.6612 GB, free: 3.496 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.5257, allocations: 494.4 kB / 0.6617 GB, free: 3.004 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.5268, allocations: 0.858 MB / 0.6625 GB, free: 2.145 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.5292, allocations: 3.231 MB / 0.6657 GB, free: 13.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.5312, allocations: 1.723 MB / 0.6673 GB, free: 11.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-05/0.5312, allocations: 28 kB / 0.6674 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.004964/0.5362, allocations: 3.441 MB / 0.6707 GB, free: 8.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5363, allocations: 8 kB / 0.6707 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.5364, allocations: 84 kB / 0.6708 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.5366, allocations: 124 kB / 0.6709 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/0.5387, allocations: 0.7882 MB / 0.6717 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000102/0.5388, allocations: 167.4 kB / 0.6719 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.541, allocations: 422.9 kB / 0.6723 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.5413, allocations: 228 kB / 0.6725 GB, free: 6.715 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 428 * 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.0003549/0.5417, allocations: 310.5 kB / 0.6728 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.5419, allocations: 153.9 kB / 0.6729 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.5423, allocations: 190.7 kB / 0.6731 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.5423, allocations: 8 kB / 0.6731 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5423, allocations: 3.984 kB / 0.6731 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5423, allocations: 0 / 0.6731 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.5451, allocations: 1.659 MB / 0.6747 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5451, allocations: 0 / 0.6747 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.5454, allocations: 59.91 kB / 0.6748 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5454, allocations: 0 / 0.6748 GB, free: 4.285 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.5454, allocations: 8 kB / 0.6748 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.5454, allocations: 3.906 kB / 0.6748 GB, free: 4.273 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5454, allocations: 4 kB / 0.6748 GB, free: 4.27 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001041/0.5465, allocations: 1.044 MB / 0.6758 GB, free: 3.199 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.5468, allocations: 230.9 kB / 0.6761 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.547, allocations: 288 / 0.6761 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.5474, allocations: 15.98 kB / 0.6761 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.5475, allocations: 23.88 kB / 0.6761 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.5476, allocations: 19.94 kB / 0.6761 GB, free: 2.895 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001531/0.5491, allocations: 1.145 MB / 0.6772 GB, free: 1.758 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002458/0.5516, allocations: 466.4 kB / 0.6777 GB, free: 1.301 MB / 490.7 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 () * 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.0003053/0.5519, allocations: 127.1 kB / 0.6778 GB, free: 1.168 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002772/0.5547, allocations: 1.965 MB / 0.6797 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5547, allocations: 384 / 0.6797 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.5551, allocations: 339.8 kB / 0.68 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.5557, allocations: 134 kB / 0.6802 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.5608, allocations: 3.028 MB / 0.6831 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/0.5628, allocations: 1.977 MB / 0.6851 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/0.5628, allocations: 0 / 0.6851 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.02988/0.5927, allocations: 13.27 MB / 0.698 GB, free: 12.43 MB / 0.5105 GB 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