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.001193/0.001192, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 72.58 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 62.45 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007672/0.1342, allocations: 5.703 MB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.1382, allocations: 1.83 MB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/0.1387, allocations: 23.94 kB / 487.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.1402, allocations: 0.5214 MB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.1416, allocations: 0.6691 MB / 488.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.1417, allocations: 19.91 kB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.1434, allocations: 1.425 MB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008535/0.1443, allocations: 0.7082 MB / 490.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005328/0.1448, allocations: 482 kB / 491.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.1456, allocations: 0.6848 MB / 492.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.1458, allocations: 84 kB / 492.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006119/0.1464, allocations: 319.5 kB / 492.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005599/0.147, allocations: 0.6621 MB / 493.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006357/0.1476, allocations: 0.8225 MB / 494 MB, free: 7.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.1498, allocations: 2.504 MB / 496.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1498, allocations: 0 / 496.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1498, allocations: 0 / 496.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.1499, allocations: 0 / 496.5 MB, free: 4.742 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.002626/0.1525, allocations: 1.955 MB / 498.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1526, allocations: 8.031 kB / 498.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/0.1574, allocations: 1.476 MB / 499.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.1588, allocations: 0.8434 MB / 0.489 GB, free: 372 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.1589, allocations: 82.28 kB / 0.4891 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.1591, allocations: 99.8 kB / 0.4892 GB, free: 188 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/0.1648, allocations: 4.626 MB / 0.4937 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/0.1648, allocations: 19.81 kB / 0.4937 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.165, allocations: 55.91 kB / 0.4938 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001687/0.1667, allocations: 1.099 MB / 0.4948 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006386/0.1731, allocations: 4.011 MB / 0.4988 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2621/0.4352, allocations: 18.47 MB / 0.5168 GB, free: 25.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.4367, allocations: 1.178 MB / 0.5179 GB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.4373, allocations: 347.2 kB / 0.5183 GB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.4373, allocations: 7.438 kB / 0.5183 GB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4373, allocations: 38.92 kB / 0.5183 GB, free: 24.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.095e-06/0.4374, allocations: 2.922 kB / 0.5183 GB, free: 24.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001769/0.4391, allocations: 1.032 MB / 0.5193 GB, free: 24.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.4392, allocations: 108.5 kB / 0.5194 GB, free: 24.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/0.4425, allocations: 2.198 MB / 0.5216 GB, free: 23.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.4426, allocations: 32.45 kB / 0.5216 GB, free: 23.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.4437, allocations: 1.616 MB / 0.5232 GB, free: 22.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.444, allocations: 265.5 kB / 0.5234 GB, free: 22.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008633/0.4448, allocations: 0.6772 MB / 0.5241 GB, free: 21.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.445, allocations: 352.7 kB / 0.5244 GB, free: 21.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.4466, allocations: 0.8929 MB / 0.5253 GB, free: 21.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/0.4492, allocations: 3.18 MB / 0.5284 GB, free: 17.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/0.4537, allocations: 4.441 MB / 0.5328 GB, free: 13.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.127e-05/0.4538, allocations: 22.34 kB / 0.5328 GB, free: 13.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007099/0.4609, allocations: 3.834 MB / 0.5365 GB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.792e-05/0.461, allocations: 43.44 kB / 0.5366 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001242/0.4611, allocations: 85.75 kB / 0.5366 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.4613, allocations: 105.2 kB / 0.5367 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.4634, allocations: 0.7606 MB / 0.5375 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001217/0.4635, allocations: 158.5 kB / 0.5376 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.4657, allocations: 490.1 kB / 0.5381 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002389/0.466, allocations: 219.4 kB / 0.5383 GB, free: 11.73 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.001455/0.4674, allocations: 1.098 MB / 0.5394 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.4677, allocations: 170.5 kB / 0.5395 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.468, allocations: 202.4 kB / 0.5397 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.468, allocations: 6.469 kB / 0.5397 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.468, allocations: 3.25 kB / 0.5398 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.468, allocations: 3.75 kB / 0.5398 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.4707, allocations: 2.011 MB / 0.5417 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4708, allocations: 4 kB / 0.5417 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.471, allocations: 63.61 kB / 0.5418 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.471, allocations: 3.188 kB / 0.5418 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.4711, allocations: 7.125 kB / 0.5418 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4711, allocations: 3.875 kB / 0.5418 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4711, allocations: 3.938 kB / 0.5418 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.4719, allocations: 1.046 MB / 0.5428 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.4722, allocations: 231.6 kB / 0.543 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.4723, allocations: 6.078 kB / 0.543 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.4728, allocations: 25.58 kB / 0.5431 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.4729, allocations: 22 kB / 0.5431 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.4729, allocations: 18 kB / 0.5431 GB, free: 9.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001451/0.4744, allocations: 1.37 MB / 0.5444 GB, free: 8.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4744, allocations: 0 / 0.5444 GB, free: 8.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002368/0.4767, allocations: 498.6 kB / 0.5449 GB, free: 8.168 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.0002498/0.477, allocations: 123 kB / 0.545 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.4796, allocations: 2.149 MB / 0.5471 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4796, allocations: 5.875 kB / 0.5471 GB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.48, allocations: 339.7 kB / 0.5475 GB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.4809, allocations: 171 kB / 0.5476 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.4854, allocations: 3.73 MB / 0.5513 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.4866, allocations: 1.798 MB / 0.553 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002369/0.4889, allocations: 1.105 MB / 0.5541 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.4892, allocations: 115.4 kB / 0.5542 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 2.134e-06/0.4892, allocations: 0 / 0.5542 GB, free: 14.61 MB / 398.1 MB Notification: Performance of Templates: time 0.02416/0.5134, allocations: 12.65 MB / 0.5666 GB, free: 2.047 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