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.001461/0.001461, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001847/0.001847, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 72.33 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 62.46 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00642/0.1195, allocations: 5.705 MB / 487.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.1234, allocations: 1.834 MB / 489 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.1237, allocations: 20 kB / 489 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.125, allocations: 0.5252 MB / 489.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.1262, allocations: 0.673 MB / 490.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.278e-05/0.1263, allocations: 23.97 kB / 490.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.1277, allocations: 1.413 MB / 491.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008042/0.1285, allocations: 0.7081 MB / 492.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004802/0.129, allocations: 486 kB / 492.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007281/0.1298, allocations: 0.681 MB / 493.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1299, allocations: 88 kB / 493.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.1305, allocations: 311.5 kB / 493.9 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.131, allocations: 0.6582 MB / 494.6 MB, free: 7.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006344/0.1317, allocations: 0.8225 MB / 495.4 MB, free: 6.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.1338, allocations: 2.646 MB / 498 MB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1338, allocations: 0 / 498 MB, free: 3.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1338, allocations: 4 kB / 498 MB, free: 3.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.1339, allocations: 0 / 498 MB, free: 3.875 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.002578/0.1364, allocations: 1.955 MB / 0.4883 GB, free: 1.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1365, allocations: 12.03 kB / 0.4883 GB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.141, allocations: 1.472 MB / 0.4897 GB, free: 388 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.1428, allocations: 0.8474 MB / 0.4906 GB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.1428, allocations: 78.28 kB / 0.4906 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.143, allocations: 107.9 kB / 0.4907 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005284/0.1483, allocations: 4.622 MB / 0.4953 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.1484, allocations: 19.81 kB / 0.4953 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.1486, allocations: 67.89 kB / 0.4953 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00152/0.1501, allocations: 1.095 MB / 0.4964 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005397/0.1555, allocations: 4.007 MB / 0.5003 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2035/0.359, allocations: 18.42 MB / 0.5183 GB, free: 25.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3604, allocations: 1.18 MB / 0.5195 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.3608, allocations: 339.4 kB / 0.5198 GB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3609, allocations: 3.062 kB / 0.5198 GB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.3609, allocations: 47.41 kB / 0.5198 GB, free: 24.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.358e-06/0.3609, allocations: 0 / 0.5198 GB, free: 24.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002013/0.3629, allocations: 1.024 MB / 0.5208 GB, free: 24.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.363, allocations: 112.2 kB / 0.5209 GB, free: 24.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003037/0.366, allocations: 2.194 MB / 0.5231 GB, free: 23.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.3661, allocations: 31.08 kB / 0.5231 GB, free: 23.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009636/0.3671, allocations: 1.625 MB / 0.5247 GB, free: 22.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.3673, allocations: 261.5 kB / 0.5249 GB, free: 21.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008055/0.3681, allocations: 0.6789 MB / 0.5256 GB, free: 21.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.3682, allocations: 356.2 kB / 0.5259 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.3696, allocations: 0.8955 MB / 0.5268 GB, free: 20.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.3717, allocations: 3.166 MB / 0.5299 GB, free: 17.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/0.3755, allocations: 4.448 MB / 0.5343 GB, free: 13.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.595e-05/0.3755, allocations: 27.25 kB / 0.5343 GB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.004953/0.3805, allocations: 3.835 MB / 0.538 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.3806, allocations: 39.56 kB / 0.5381 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-05/0.3807, allocations: 83.39 kB / 0.5381 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/0.3808, allocations: 106.1 kB / 0.5382 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.3825, allocations: 0.75 MB / 0.539 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001062/0.3826, allocations: 164 kB / 0.5391 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.3845, allocations: 498.7 kB / 0.5396 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.3847, allocations: 217.4 kB / 0.5398 GB, free: 11.48 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.0009972/0.3857, allocations: 1.101 MB / 0.5409 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3859, allocations: 168.9 kB / 0.5411 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.3861, allocations: 196.8 kB / 0.5412 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.3861, allocations: 11.33 kB / 0.5413 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3861, allocations: 3.703 kB / 0.5413 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3861, allocations: 3.344 kB / 0.5413 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.3887, allocations: 2.01 MB / 0.5432 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3887, allocations: 0 / 0.5432 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.3889, allocations: 66.41 kB / 0.5433 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3889, allocations: 7.531 kB / 0.5433 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.389, allocations: 7.531 kB / 0.5433 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.389, allocations: 4.625 kB / 0.5433 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.389, allocations: 3.75 kB / 0.5433 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.3897, allocations: 1.033 MB / 0.5443 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.39, allocations: 227.9 kB / 0.5445 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.3901, allocations: 11.67 kB / 0.5445 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.3906, allocations: 26.66 kB / 0.5446 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.3906, allocations: 29.53 kB / 0.5446 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.3907, allocations: 17.78 kB / 0.5446 GB, free: 9.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001254/0.3919, allocations: 1.369 MB / 0.546 GB, free: 8.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3919, allocations: 0 / 0.546 GB, free: 8.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001947/0.3939, allocations: 496.2 kB / 0.5464 GB, free: 7.805 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.0002411/0.3941, allocations: 124.3 kB / 0.5465 GB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.3962, allocations: 2.054 MB / 0.5485 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3962, allocations: 0.875 kB / 0.5485 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.3965, allocations: 335.6 kB / 0.5489 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008032/0.3973, allocations: 175.6 kB / 0.549 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.401, allocations: 3.678 MB / 0.5526 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.4022, allocations: 1.797 MB / 0.5544 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001955/0.4042, allocations: 1.11 MB / 0.5555 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.4044, allocations: 111.4 kB / 0.5556 GB, free: 14.39 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4044, allocations: 0 / 0.5556 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Templates: time 0.02334/0.4278, allocations: 12.65 MB / 0.5679 GB, free: 1.828 MB / 398.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 -s gbode -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