Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.3 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 75.47 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1011, allocations: 62.43 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009428/0.1106, allocations: 9.178 MB / 489.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.1153, allocations: 2.399 MB / 491.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.1165, allocations: 35.94 kB / 491.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.1178, allocations: 0.4945 MB / 492 MB, free: 9.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.1193, allocations: 0.6423 MB / 492.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.1194, allocations: 15.98 kB / 492.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1215, allocations: 2.041 MB / 494.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.1226, allocations: 0.715 MB / 495.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.1233, allocations: 426 kB / 495.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009677/0.1242, allocations: 0.7278 MB / 496.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.1244, allocations: 60 kB / 496.6 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.1251, allocations: 303.4 kB / 496.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006108/0.1257, allocations: 0.6465 MB / 497.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007456/0.1265, allocations: 0.8107 MB / 498.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.1284, allocations: 2.02 MB / 0.4887 GB, free: 1.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1284, allocations: 4 kB / 0.4887 GB, free: 1.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1284, allocations: 0 / 0.4887 GB, free: 1.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.1285, allocations: 0 / 0.4887 GB, free: 1.125 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.00288/0.1314, allocations: 1.951 MB / 0.4906 GB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1314, allocations: 8.875 kB / 0.4906 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.1361, allocations: 1.476 MB / 0.492 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.1376, allocations: 0.8473 MB / 0.4929 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.1377, allocations: 74.3 kB / 0.4929 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.1379, allocations: 107.8 kB / 0.493 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005501/0.1434, allocations: 4.626 MB / 0.4976 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.1434, allocations: 19.81 kB / 0.4976 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.1436, allocations: 55.92 kB / 0.4976 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001594/0.1452, allocations: 1.103 MB / 0.4987 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006024/0.1512, allocations: 4.007 MB / 0.5026 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2037/0.355, allocations: 18.48 MB / 0.5207 GB, free: 25.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.3563, allocations: 1.177 MB / 0.5218 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.3568, allocations: 340.8 kB / 0.5221 GB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3568, allocations: 8.125 kB / 0.5222 GB, free: 24.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3568, allocations: 38.05 kB / 0.5222 GB, free: 24.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.246e-06/0.3569, allocations: 1.125 kB / 0.5222 GB, free: 24.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001503/0.3584, allocations: 1.034 MB / 0.5232 GB, free: 24.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3584, allocations: 111.2 kB / 0.5233 GB, free: 24.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003062/0.3615, allocations: 2.197 MB / 0.5255 GB, free: 23.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.3616, allocations: 33.02 kB / 0.5255 GB, free: 23.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009568/0.3625, allocations: 1.623 MB / 0.5271 GB, free: 22.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.3628, allocations: 263.6 kB / 0.5273 GB, free: 22.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000732/0.3635, allocations: 0.6732 MB / 0.528 GB, free: 21.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.543e-05/0.3636, allocations: 356.3 kB / 0.5283 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.3649, allocations: 0.8968 MB / 0.5292 GB, free: 21.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.367, allocations: 3.168 MB / 0.5323 GB, free: 17.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/0.3707, allocations: 4.447 MB / 0.5366 GB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-05/0.3708, allocations: 23.34 kB / 0.5367 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00555/0.3764, allocations: 3.84 MB / 0.5404 GB, free: 12.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.3764, allocations: 39.22 kB / 0.5404 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.491e-05/0.3765, allocations: 82.56 kB / 0.5405 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.39e-05/0.3766, allocations: 102.1 kB / 0.5406 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.3784, allocations: 0.7628 MB / 0.5414 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.13e-05/0.3784, allocations: 158.8 kB / 0.5415 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.3806, allocations: 495 kB / 0.542 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.3808, allocations: 215.6 kB / 0.5422 GB, free: 11.65 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.001098/0.3819, allocations: 1.091 MB / 0.5433 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.3821, allocations: 166 kB / 0.5434 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.3824, allocations: 205.9 kB / 0.5436 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.3824, allocations: 11.56 kB / 0.5436 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3824, allocations: 0 / 0.5436 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3824, allocations: 0 / 0.5436 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.385, allocations: 2.021 MB / 0.5456 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.385, allocations: 3.25 kB / 0.5456 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.3853, allocations: 61.05 kB / 0.5457 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3853, allocations: 7.75 kB / 0.5457 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.3853, allocations: 7.625 kB / 0.5457 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3853, allocations: 0 / 0.5457 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3853, allocations: 3.906 kB / 0.5457 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007665/0.3861, allocations: 1.033 MB / 0.5467 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.3863, allocations: 234.8 kB / 0.5469 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.3865, allocations: 4 kB / 0.5469 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.387, allocations: 27.53 kB / 0.5469 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.387, allocations: 29.53 kB / 0.547 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.3871, allocations: 16 kB / 0.547 GB, free: 8.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.3885, allocations: 1.375 MB / 0.5483 GB, free: 6.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.3885, allocations: 0 / 0.5483 GB, free: 6.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002151/0.3906, allocations: 493.5 kB / 0.5488 GB, free: 6.492 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.0002469/0.3909, allocations: 124.2 kB / 0.5489 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002336/0.3932, allocations: 2.05 MB / 0.5509 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3933, allocations: 0 / 0.5509 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.3936, allocations: 331.7 kB / 0.5512 GB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3946, allocations: 166 kB / 0.5514 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.3997, allocations: 4.79 MB / 0.5561 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.4012, allocations: 1.786 MB / 0.5578 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.4016, allocations: 147.4 kB / 0.558 GB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4016, allocations: 0 / 0.558 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Templates: time 0.0382/0.4398, allocations: 25.46 MB / 0.5828 GB, free: 3.676 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches