Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008394/0.0008394, allocations: 91.75 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1741/0.1741, allocations: 44.16 MB / 382.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.353e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 61.9 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.4492, allocations: 97.82 MB / 0.5972 GB, free: 7.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.4494, allocations: 75.31 kB / 0.5973 GB, free: 7.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.162/0.6114, allocations: 69.76 MB / 0.6654 GB, free: 1.023 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6115, allocations: 0 / 0.6654 GB, free: 1.023 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001342/0.6116, allocations: 67.94 kB / 0.6655 GB, free: 0.957 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.009339/0.621, allocations: 3.041 MB / 0.6685 GB, free: 13.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.621, allocations: 8.031 kB / 0.6685 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/0.6348, allocations: 3.287 MB / 0.6717 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005763/0.6406, allocations: 2.079 MB / 0.6737 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.6409, allocations: 275.1 kB / 0.674 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.6427, allocations: 355.9 kB / 0.6743 GB, free: 7.809 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.6583, allocations: 8.987 MB / 0.6831 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-05/0.6584, allocations: 19.81 kB / 0.6831 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004903/0.6589, allocations: 163.9 kB / 0.6833 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/0.66, allocations: 1.049 MB / 0.6843 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.6737, allocations: 8.522 MB / 0.6926 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2964/0.9702, allocations: 29.2 MB / 0.7211 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/0.9751, allocations: 3.047 MB / 0.7241 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.9767, allocations: 0.9685 MB / 0.725 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008523/0.9852, allocations: 4.874 MB / 0.7298 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.9853, allocations: 40.22 kB / 0.7298 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=126): time 3.467e-06/0.9853, allocations: 0 / 0.7298 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=126): time 0.005309/0.9906, allocations: 2.093 MB / 0.7319 GB, free: 123 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9907, allocations: 61.16 kB / 0.7319 GB, free: 123 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/0.9952, allocations: 2.268 MB / 0.7341 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.9954, allocations: 40.45 kB / 0.7342 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002904/0.9984, allocations: 2.643 MB / 0.7368 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000697/0.9991, allocations: 0.491 MB / 0.7372 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.9993, allocations: 81.53 kB / 0.7373 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004452/0.9997, allocations: 0.5501 MB / 0.7379 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/1.002, allocations: 1.307 MB / 0.7391 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003166/1.005, allocations: 4.06 MB / 0.7431 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/1.008, allocations: 2.351 MB / 0.7454 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.452e-05/1.008, allocations: 32.44 kB / 0.7454 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.005999/1.014, allocations: 5.191 MB / 0.7505 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/1.014, allocations: 46.78 kB / 0.7505 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.262e-05/1.014, allocations: 96.28 kB / 0.7506 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/1.014, allocations: 143.1 kB / 0.7508 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/1.016, allocations: 0.9771 MB / 0.7517 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001009/1.016, allocations: 191.4 kB / 0.7519 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/1.019, allocations: 0.5986 MB / 0.7525 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/1.019, allocations: 277.3 kB / 0.7528 GB, free: 116.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (538): * Single equations (assignments): 532 * Array equations: 6 * 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.0003708/1.02, allocations: 449.4 kB / 0.7532 GB, free: 116 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/1.02, allocations: 213.6 kB / 0.7534 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/1.02, allocations: 273.8 kB / 0.7537 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/1.02, allocations: 15.59 kB / 0.7537 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/1.02, allocations: 0 / 0.7537 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.02, allocations: 3.75 kB / 0.7537 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007537/1.028, allocations: 5.62 MB / 0.7592 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/1.028, allocations: 3.469 kB / 0.7592 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/1.028, allocations: 141.5 kB / 0.7593 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/1.028, allocations: 13.86 kB / 0.7593 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/1.029, allocations: 23.75 kB / 0.7593 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/1.029, allocations: 7.625 kB / 0.7593 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.029, allocations: 7.781 kB / 0.7593 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/1.03, allocations: 2.104 MB / 0.7614 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/1.031, allocations: 303.5 kB / 0.7617 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/1.031, allocations: 20.88 kB / 0.7617 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/1.032, allocations: 39.38 kB / 0.7617 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.032, allocations: 64.78 kB / 0.7618 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.636e-05/1.032, allocations: 38.73 kB / 0.7618 GB, free: 113 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001778/1.034, allocations: 1.53 MB / 0.7633 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/1.034, allocations: 0 / 0.7633 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003061/1.037, allocations: 1.011 MB / 0.7643 GB, free: 112.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 6 * 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.000268/1.037, allocations: 144.2 kB / 0.7645 GB, free: 112 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003331/1.04, allocations: 3.078 MB / 0.7675 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.04, allocations: 3.75 kB / 0.7675 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/1.041, allocations: 0.7345 MB / 0.7682 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/1.042, allocations: 235.6 kB / 0.7684 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/1.05, allocations: 5.833 MB / 0.7741 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/1.052, allocations: 3.05 MB / 0.7771 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002926/1.055, allocations: 1.485 MB / 0.7785 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/1.056, allocations: 153.1 kB / 0.7787 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/1.056, allocations: 0 / 0.7787 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.0298/1.085, allocations: 17.68 MB / 0.796 GB, free: 101.8 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches