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.001267/0.001267, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001323, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 77.06 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 62.44 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006765/0.1327, allocations: 5.706 MB / 487.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.1362, allocations: 1.834 MB / 489 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.1365, allocations: 20 kB / 489 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.1378, allocations: 0.529 MB / 489.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.1392, allocations: 0.6808 MB / 490.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.1393, allocations: 16 kB / 490.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.141, allocations: 1.421 MB / 491.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009893/0.142, allocations: 0.7159 MB / 492.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.1426, allocations: 482 kB / 492.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008644/0.1435, allocations: 0.6771 MB / 493.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.1437, allocations: 84 kB / 493.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.1444, allocations: 319.5 kB / 493.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006284/0.145, allocations: 0.6582 MB / 494.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007656/0.1458, allocations: 0.8264 MB / 495.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.1484, allocations: 2.642 MB / 498 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1484, allocations: 0 / 498 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.1485, allocations: 0 / 498 MB, free: 3.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.419e-05/0.1485, allocations: 3.938 kB / 498.1 MB, free: 3.84 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.003318/0.1518, allocations: 1.955 MB / 0.4883 GB, free: 1.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.1519, allocations: 12.03 kB / 0.4883 GB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.1564, allocations: 1.468 MB / 0.4897 GB, free: 356 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.1583, allocations: 0.8512 MB / 0.4906 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.1583, allocations: 78.3 kB / 0.4906 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.1585, allocations: 103.8 kB / 0.4907 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006313/0.1649, allocations: 4.622 MB / 0.4953 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.1649, allocations: 19.81 kB / 0.4953 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.1651, allocations: 55.92 kB / 0.4953 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001657/0.1668, allocations: 1.099 MB / 0.4964 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006402/0.1732, allocations: 4.007 MB / 0.5003 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2535/0.4267, allocations: 18.42 MB / 0.5183 GB, free: 25.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.4284, allocations: 1.183 MB / 0.5195 GB, free: 25.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/0.429, allocations: 341.9 kB / 0.5198 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.4291, allocations: 3.344 kB / 0.5198 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.4291, allocations: 37.94 kB / 0.5198 GB, free: 24.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.749e-06/0.4291, allocations: 1.094 kB / 0.5198 GB, free: 24.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002026/0.4312, allocations: 1.034 MB / 0.5208 GB, free: 24.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4312, allocations: 111.1 kB / 0.5209 GB, free: 24.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/0.4346, allocations: 2.201 MB / 0.5231 GB, free: 23.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.4347, allocations: 32.97 kB / 0.5231 GB, free: 23.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.4357, allocations: 1.621 MB / 0.5247 GB, free: 22.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.4359, allocations: 263 kB / 0.5249 GB, free: 22.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009812/0.4369, allocations: 0.6755 MB / 0.5256 GB, free: 21.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4371, allocations: 354.1 kB / 0.5259 GB, free: 21.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.4384, allocations: 0.8982 MB / 0.5268 GB, free: 21.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.4406, allocations: 3.169 MB / 0.5299 GB, free: 17.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.4444, allocations: 4.446 MB / 0.5343 GB, free: 13.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.623e-05/0.4444, allocations: 30.81 kB / 0.5343 GB, free: 13.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00534/0.4498, allocations: 3.831 MB / 0.538 GB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/0.4498, allocations: 39.88 kB / 0.5381 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.052e-05/0.4499, allocations: 81.12 kB / 0.5381 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.45, allocations: 105.9 kB / 0.5382 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.4518, allocations: 0.7522 MB / 0.539 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.272e-05/0.4519, allocations: 162.8 kB / 0.5391 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.4539, allocations: 493.9 kB / 0.5396 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.4541, allocations: 215 kB / 0.5398 GB, free: 11.71 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.001015/0.4551, allocations: 1.1 MB / 0.5409 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.4553, allocations: 168.6 kB / 0.541 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.4555, allocations: 202.6 kB / 0.5412 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.4556, allocations: 11.33 kB / 0.5413 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4556, allocations: 4 kB / 0.5413 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4556, allocations: 3.422 kB / 0.5413 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.4583, allocations: 2.008 MB / 0.5432 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4583, allocations: 0 / 0.5432 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.4586, allocations: 65.91 kB / 0.5433 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4586, allocations: 0 / 0.5433 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.4586, allocations: 9.219 kB / 0.5433 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.4586, allocations: 8.406 kB / 0.5433 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4587, allocations: 0 / 0.5433 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.4595, allocations: 1.034 MB / 0.5443 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.4597, allocations: 231.9 kB / 0.5445 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4599, allocations: 11.95 kB / 0.5445 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.4604, allocations: 27.34 kB / 0.5446 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.4604, allocations: 27.78 kB / 0.5446 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.4605, allocations: 20.03 kB / 0.5446 GB, free: 9.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001385/0.4619, allocations: 1.368 MB / 0.5459 GB, free: 8.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4619, allocations: 0 / 0.5459 GB, free: 8.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002014/0.4639, allocations: 494.2 kB / 0.5464 GB, free: 7.949 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.0002238/0.4641, allocations: 132.5 kB / 0.5465 GB, free: 7.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.4664, allocations: 2.048 MB / 0.5485 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4665, allocations: 320 / 0.5485 GB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.4668, allocations: 344.7 kB / 0.5489 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/0.4676, allocations: 164.9 kB / 0.549 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.4719, allocations: 3.686 MB / 0.5526 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.4731, allocations: 1.78 MB / 0.5544 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002102/0.4753, allocations: 1.119 MB / 0.5555 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.4755, allocations: 115.4 kB / 0.5556 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4755, allocations: 0 / 0.5556 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Templates: time 0.02366/0.4992, allocations: 12.66 MB / 0.5679 GB, free: 1.957 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 cvode -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