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.001002/0.001002, allocations: 92.28 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009549/0.0009549, allocations: 206.3 kB / 18.29 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009874/0.1432, allocations: 8.691 MB / 491.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005494/0.1488, allocations: 2.368 MB / 494.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.1504, allocations: 31.94 kB / 494.2 MB, free: 9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.1512, allocations: 211.1 kB / 494.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.1532, allocations: 0.6501 MB / 495 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.1534, allocations: 12 kB / 495 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.1559, allocations: 2.034 MB / 497.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.1575, allocations: 0.9422 MB / 498 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007423/0.1582, allocations: 406.1 kB / 498.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.1593, allocations: 0.7122 MB / 499.1 MB, free: 4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.1596, allocations: 52 kB / 499.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.1602, allocations: 287.5 kB / 499.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005697/0.1608, allocations: 0.6426 MB / 0.4884 GB, free: 3.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.1614, allocations: 0.8202 MB / 0.4892 GB, free: 2.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.1635, allocations: 2.444 MB / 0.4916 GB, free: 15.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1636, allocations: 0 / 0.4916 GB, free: 15.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1636, allocations: 0 / 0.4916 GB, free: 15.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.1636, allocations: 4 kB / 0.4916 GB, free: 15.73 MB / 382.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.002362/0.166, allocations: 1.632 MB / 0.4932 GB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.166, allocations: 8.875 kB / 0.4932 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.1708, allocations: 1.507 MB / 0.4946 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.1722, allocations: 0.8591 MB / 0.4955 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.1722, allocations: 78.28 kB / 0.4956 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.1725, allocations: 107.8 kB / 0.4957 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/0.1778, allocations: 4.618 MB / 0.5002 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/0.1778, allocations: 19.81 kB / 0.5002 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.178, allocations: 59.89 kB / 0.5002 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.1797, allocations: 1.099 MB / 0.5013 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006082/0.1858, allocations: 4.004 MB / 0.5052 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.272/0.4578, allocations: 18.49 MB / 0.5233 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.459, allocations: 1.182 MB / 0.5244 GB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/0.4595, allocations: 340.8 kB / 0.5248 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.4595, allocations: 4.125 kB / 0.5248 GB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.4595, allocations: 36.64 kB / 0.5248 GB, free: 23.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/0.4595, allocations: 1.375 kB / 0.5248 GB, free: 23.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001573/0.4611, allocations: 1.035 MB / 0.5258 GB, free: 23.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.4612, allocations: 111.6 kB / 0.5259 GB, free: 23.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/0.4642, allocations: 2.197 MB / 0.5281 GB, free: 22.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.4642, allocations: 32.38 kB / 0.5281 GB, free: 22.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009431/0.4652, allocations: 1.621 MB / 0.5297 GB, free: 20.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.4655, allocations: 262.5 kB / 0.5299 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/0.4659, allocations: 290.3 kB / 0.5302 GB, free: 20.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.466, allocations: 354.5 kB / 0.5305 GB, free: 20.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.4673, allocations: 0.8945 MB / 0.5314 GB, free: 20.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.4695, allocations: 3.172 MB / 0.5345 GB, free: 16.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/0.4734, allocations: 4.444 MB / 0.5388 GB, free: 12.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.485e-05/0.4734, allocations: 22.97 kB / 0.5389 GB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005324/0.4788, allocations: 3.842 MB / 0.5426 GB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.4788, allocations: 39.28 kB / 0.5427 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.559e-05/0.4789, allocations: 85.19 kB / 0.5427 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.879e-05/0.479, allocations: 104.7 kB / 0.5428 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.4807, allocations: 0.7567 MB / 0.5436 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-05/0.4808, allocations: 165.7 kB / 0.5437 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.4827, allocations: 488.5 kB / 0.5442 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.4829, allocations: 223.2 kB / 0.5444 GB, free: 10.52 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.4842, allocations: 1.091 MB / 0.5455 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.4844, allocations: 168 kB / 0.5456 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.4847, allocations: 200.8 kB / 0.5458 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.4847, allocations: 6.438 kB / 0.5458 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.4847, allocations: 7.688 kB / 0.5458 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4847, allocations: 3.984 kB / 0.5459 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.4874, allocations: 2.017 MB / 0.5478 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4874, allocations: 0 / 0.5478 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.4876, allocations: 59.91 kB / 0.5479 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4877, allocations: 4 kB / 0.5479 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.4877, allocations: 15.98 kB / 0.5479 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4877, allocations: 288 / 0.5479 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4877, allocations: 0 / 0.5479 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007858/0.4885, allocations: 1.034 MB / 0.5489 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.4887, allocations: 238.7 kB / 0.5491 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.4888, allocations: 8 kB / 0.5491 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.4893, allocations: 27.97 kB / 0.5492 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.4893, allocations: 23.97 kB / 0.5492 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.4894, allocations: 18.31 kB / 0.5492 GB, free: 6.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00137/0.4907, allocations: 1.379 MB / 0.5506 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.054e-06/0.4907, allocations: 0 / 0.5506 GB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002258/0.493, allocations: 0.4922 MB / 0.551 GB, free: 4.969 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.0003446/0.4934, allocations: 130.2 kB / 0.5512 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.4961, allocations: 2.036 MB / 0.5532 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4961, allocations: 0 / 0.5532 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.4964, allocations: 338 kB / 0.5535 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4975, allocations: 161.8 kB / 0.5536 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007631/0.5052, allocations: 4.591 MB / 0.5581 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.5069, allocations: 1.782 MB / 0.5599 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002647/0.5096, allocations: 1.117 MB / 0.5609 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.5099, allocations: 115.4 kB / 0.5611 GB, free: 10.64 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5099, allocations: 0 / 0.5611 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Templates: time 0.02595/0.5358, allocations: 12.16 MB / 0.5729 GB, free: 14.58 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