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.0008889/0.0008896, allocations: 97.58 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009052/0.0009055, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.18 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002881, allocations: 8 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 63.56 MB / 482.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008383/0.1415, allocations: 8.158 MB / 490.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.1468, allocations: 2.221 MB / 492.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.1479, allocations: 39.88 kB / 492.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009126/0.1488, allocations: 370.3 kB / 493.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.1512, allocations: 1.09 MB / 494.3 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.1514, allocations: 27.97 kB / 494.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.1532, allocations: 1.554 MB / 495.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.1546, allocations: 0.898 MB / 496.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.1553, allocations: 458.2 kB / 497.2 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.1561, allocations: 0.6968 MB / 497.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.1563, allocations: 56 kB / 497.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.1569, allocations: 263.6 kB / 498.2 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005443/0.1574, allocations: 0.6193 MB / 498.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.1577, allocations: 360.5 kB / 499.2 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.1596, allocations: 1.98 MB / 0.4894 GB, free: 1.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1596, allocations: 0 / 0.4894 GB, free: 1.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1596, allocations: 0 / 0.4894 GB, free: 1.695 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.746e-05/0.1597, allocations: 0 / 0.4894 GB, free: 1.695 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.002505/0.1622, allocations: 1.655 MB / 0.491 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1622, allocations: 11.97 kB / 0.491 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004337/0.1666, allocations: 1.51 MB / 0.4925 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.1681, allocations: 0.8424 MB / 0.4933 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.1682, allocations: 73.92 kB / 0.4934 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.1684, allocations: 99.91 kB / 0.4935 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00623/0.1746, allocations: 4.618 MB / 0.498 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.1747, allocations: 19.81 kB / 0.498 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.1748, allocations: 59.84 kB / 0.4981 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001692/0.1765, allocations: 1.095 MB / 0.4992 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00726/0.1838, allocations: 3.992 MB / 0.5031 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3173/0.5011, allocations: 18.47 MB / 0.5211 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.5025, allocations: 1.176 MB / 0.5222 GB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/0.503, allocations: 339.1 kB / 0.5226 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.503, allocations: 4.156 kB / 0.5226 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.503, allocations: 43.11 kB / 0.5226 GB, free: 24.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.056e-06/0.5031, allocations: 0 / 0.5226 GB, free: 24.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001612/0.5047, allocations: 1.029 MB / 0.5236 GB, free: 23.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.5047, allocations: 111.5 kB / 0.5237 GB, free: 23.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.5082, allocations: 2.193 MB / 0.5259 GB, free: 22.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.5083, allocations: 33.44 kB / 0.5259 GB, free: 22.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009895/0.5093, allocations: 1.621 MB / 0.5275 GB, free: 21.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.5096, allocations: 264 kB / 0.5277 GB, free: 21.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.5097, allocations: 65.97 kB / 0.5278 GB, free: 21.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.5099, allocations: 0.4936 MB / 0.5283 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.5114, allocations: 0.8798 MB / 0.5291 GB, free: 20.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002338/0.5138, allocations: 3.158 MB / 0.5322 GB, free: 17.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.5163, allocations: 1.679 MB / 0.5339 GB, free: 16.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.173e-05/0.5164, allocations: 23.31 kB / 0.5339 GB, free: 16.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006941/0.5233, allocations: 3.812 MB / 0.5376 GB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.5235, allocations: 41.59 kB / 0.5376 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001945/0.5237, allocations: 81.5 kB / 0.5377 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.5239, allocations: 122.3 kB / 0.5378 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.5262, allocations: 0.7518 MB / 0.5386 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/0.5263, allocations: 166.3 kB / 0.5387 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/0.5291, allocations: 492 kB / 0.5392 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002795/0.5294, allocations: 220.2 kB / 0.5394 GB, free: 14.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.5307, allocations: 1.093 MB / 0.5405 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/0.531, allocations: 167.2 kB / 0.5406 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.5313, allocations: 196.2 kB / 0.5408 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.5313, allocations: 12.2 kB / 0.5408 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.5313, allocations: 7.031 kB / 0.5408 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5314, allocations: 3.953 kB / 0.5408 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.5344, allocations: 2.011 MB / 0.5428 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.5344, allocations: 5.469 kB / 0.5428 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.5347, allocations: 59.38 kB / 0.5429 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.5347, allocations: 7.609 kB / 0.5429 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.5347, allocations: 8.109 kB / 0.5429 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.5347, allocations: 3.469 kB / 0.5429 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5347, allocations: 3.984 kB / 0.5429 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008849/0.5356, allocations: 1.029 MB / 0.5439 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.5359, allocations: 244.7 kB / 0.5441 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.5361, allocations: 8.578 kB / 0.5441 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.5365, allocations: 26.8 kB / 0.5442 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.5366, allocations: 29.08 kB / 0.5442 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.5366, allocations: 12.56 kB / 0.5442 GB, free: 11.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001488/0.5381, allocations: 1.369 MB / 0.5455 GB, free: 11.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5381, allocations: 0 / 0.5455 GB, free: 11.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002276/0.5404, allocations: 490.9 kB / 0.546 GB, free: 10.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.5406, allocations: 123.6 kB / 0.5461 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.5431, allocations: 2.032 MB / 0.5481 GB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5432, allocations: 0 / 0.5481 GB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.5435, allocations: 335.7 kB / 0.5484 GB, free: 8.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.5444, allocations: 161.2 kB / 0.5486 GB, free: 7.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.549, allocations: 4.412 MB / 0.5529 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.5502, allocations: 1.782 MB / 0.5546 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002082/0.5523, allocations: 1.113 MB / 0.5557 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.5525, allocations: 119.4 kB / 0.5558 GB, free: 496 kB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5525, allocations: 4 kB / 0.5558 GB, free: 492 kB / 382.1 MB Notification: Performance of Templates: time 0.02607/0.5786, allocations: 11.94 MB / 0.5675 GB, free: 4.621 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 -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