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.001103/0.001103, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 79.59 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 62.43 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01032/0.1451, allocations: 9.178 MB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005277/0.1504, allocations: 2.403 MB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009255/0.1514, allocations: 31.94 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.1526, allocations: 0.4946 MB / 491.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1539, allocations: 0.6423 MB / 492 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.538e-05/0.154, allocations: 12 kB / 492 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.156, allocations: 2.037 MB / 494.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009455/0.1569, allocations: 0.7228 MB / 494.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.1574, allocations: 418.1 kB / 495.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008348/0.1583, allocations: 0.7355 MB / 495.9 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.1584, allocations: 60 kB / 496 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005815/0.159, allocations: 299.5 kB / 496.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005678/0.1596, allocations: 0.6464 MB / 496.9 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006432/0.1602, allocations: 0.8069 MB / 497.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.1624, allocations: 2.488 MB / 0.4885 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1624, allocations: 0 / 0.4885 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1624, allocations: 3.938 kB / 0.4885 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.1625, allocations: 0 / 0.4885 GB, free: 0.6797 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.002853/0.1653, allocations: 1.952 MB / 0.4904 GB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1654, allocations: 8.875 kB / 0.4904 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/0.17, allocations: 1.476 MB / 0.4919 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.1715, allocations: 0.8473 MB / 0.4927 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.1716, allocations: 74.3 kB / 0.4928 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.1718, allocations: 103.8 kB / 0.4929 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005261/0.1771, allocations: 4.626 MB / 0.4974 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.1771, allocations: 19.81 kB / 0.4974 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.1773, allocations: 55.92 kB / 0.4975 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.1788, allocations: 1.107 MB / 0.4985 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005988/0.1848, allocations: 4.007 MB / 0.5025 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2698/0.4547, allocations: 18.47 MB / 0.5205 GB, free: 26.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.456, allocations: 1.179 MB / 0.5216 GB, free: 25.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.4565, allocations: 345.2 kB / 0.522 GB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.4565, allocations: 3.5 kB / 0.522 GB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.4565, allocations: 39.48 kB / 0.522 GB, free: 25.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.376e-06/0.4565, allocations: 0 / 0.522 GB, free: 25.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001685/0.4582, allocations: 1.04 MB / 0.523 GB, free: 24.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.4583, allocations: 107.7 kB / 0.5231 GB, free: 24.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/0.4615, allocations: 2.193 MB / 0.5253 GB, free: 23.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.4616, allocations: 31.58 kB / 0.5253 GB, free: 23.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009258/0.4625, allocations: 1.617 MB / 0.5269 GB, free: 22.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.4627, allocations: 266.5 kB / 0.5271 GB, free: 22.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007611/0.4635, allocations: 0.6747 MB / 0.5278 GB, free: 21.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4636, allocations: 359 kB / 0.5281 GB, free: 21.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.465, allocations: 0.8977 MB / 0.529 GB, free: 21.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.4671, allocations: 3.165 MB / 0.5321 GB, free: 17.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/0.4709, allocations: 4.453 MB / 0.5365 GB, free: 13.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.336e-05/0.4709, allocations: 27.38 kB / 0.5365 GB, free: 13.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005527/0.4765, allocations: 3.836 MB / 0.5402 GB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.4765, allocations: 39.28 kB / 0.5403 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.497e-05/0.4766, allocations: 78.56 kB / 0.5403 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.47e-05/0.4767, allocations: 107.8 kB / 0.5404 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.4785, allocations: 0.7522 MB / 0.5412 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001184/0.4786, allocations: 162.5 kB / 0.5413 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.481, allocations: 499.8 kB / 0.5418 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.4812, allocations: 213.5 kB / 0.542 GB, free: 11.72 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.00121/0.4824, allocations: 1.092 MB / 0.5431 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.4827, allocations: 171.1 kB / 0.5432 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.4829, allocations: 199.7 kB / 0.5434 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.4829, allocations: 11.53 kB / 0.5434 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4829, allocations: 4 kB / 0.5434 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.483, allocations: 3.75 kB / 0.5435 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.4857, allocations: 2.019 MB / 0.5454 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4857, allocations: 0 / 0.5454 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.486, allocations: 67.89 kB / 0.5455 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.486, allocations: 0 / 0.5455 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.4861, allocations: 8 kB / 0.5455 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4861, allocations: 4 kB / 0.5455 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4861, allocations: 7.938 kB / 0.5455 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.4869, allocations: 1.025 MB / 0.5465 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.4871, allocations: 230.8 kB / 0.5467 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.4873, allocations: 8 kB / 0.5467 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.4877, allocations: 23.97 kB / 0.5468 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.4878, allocations: 27.91 kB / 0.5468 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.4879, allocations: 19.94 kB / 0.5468 GB, free: 7.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001398/0.4893, allocations: 1.371 MB / 0.5481 GB, free: 6.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4893, allocations: 0 / 0.5481 GB, free: 6.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002286/0.4916, allocations: 496.2 kB / 0.5486 GB, free: 6.082 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.000266/0.4918, allocations: 123.8 kB / 0.5487 GB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00242/0.4943, allocations: 2.051 MB / 0.5507 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4943, allocations: 0 / 0.5507 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.4946, allocations: 337.7 kB / 0.5511 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.4955, allocations: 161.8 kB / 0.5512 GB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.5008, allocations: 4.555 MB / 0.5557 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.5025, allocations: 1.79 MB / 0.5574 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002476/0.5049, allocations: 1.109 MB / 0.5585 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.5052, allocations: 119.4 kB / 0.5586 GB, free: 11.79 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5052, allocations: 0 / 0.5586 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Templates: time 0.02452/0.5298, allocations: 12.23 MB / 0.5705 GB, free: 15.61 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/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_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches