Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008785/0.0008787, allocations: 88.16 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1731/0.1731, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.338e-05, allocations: 8 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.08805, allocations: 63.23 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3349/0.4229, allocations: 98.88 MB / 0.6079 GB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4232, allocations: 78.83 kB / 0.608 GB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.157/0.5802, allocations: 69.82 MB / 0.6762 GB, free: 13.37 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5803, allocations: 3.938 kB / 0.6762 GB, free: 13.37 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001388/0.5804, allocations: 63.98 kB / 0.6762 GB, free: 13.3 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.007195/0.5876, allocations: 3.045 MB / 0.6792 GB, free: 10.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5877, allocations: 8.031 kB / 0.6792 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/0.6008, allocations: 3.282 MB / 0.6824 GB, free: 6.902 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00488/0.6057, allocations: 2.071 MB / 0.6845 GB, free: 4.785 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.606, allocations: 279.1 kB / 0.6847 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/0.6075, allocations: 359.9 kB / 0.6851 GB, free: 4.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.6227, allocations: 8.99 MB / 0.6938 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/0.6228, allocations: 11.88 kB / 0.6939 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004663/0.6233, allocations: 163.9 kB / 0.694 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001178/0.6245, allocations: 1.057 MB / 0.695 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.6374, allocations: 8.517 MB / 0.7034 GB, free: 1.023 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03395/0.6714, allocations: 29.21 MB / 0.7319 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.6758, allocations: 3.041 MB / 0.7348 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.6771, allocations: 0.9688 MB / 0.7358 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007604/0.6847, allocations: 4.872 MB / 0.7406 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.6847, allocations: 43.33 kB / 0.7406 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=126): time 3.386e-06/0.6847, allocations: 0 / 0.7406 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=126): time 0.004531/0.6893, allocations: 2.09 MB / 0.7426 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.6893, allocations: 64.19 kB / 0.7427 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.6927, allocations: 2.263 MB / 0.7449 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.6928, allocations: 45.64 kB / 0.745 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.6944, allocations: 2.637 MB / 0.7475 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000425/0.6948, allocations: 0.4899 MB / 0.748 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.695, allocations: 84 kB / 0.7481 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003744/0.6954, allocations: 0.5514 MB / 0.7486 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2266/0.922, allocations: 1.304 MB / 0.7499 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003679/0.9257, allocations: 4.055 MB / 0.7539 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.9288, allocations: 2.355 MB / 0.7562 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.678e-05/0.9289, allocations: 28.5 kB / 0.7562 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.006918/0.9358, allocations: 5.187 MB / 0.7612 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.9359, allocations: 48.36 kB / 0.7613 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.936, allocations: 97.5 kB / 0.7614 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.9362, allocations: 146.4 kB / 0.7615 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.9387, allocations: 0.9715 MB / 0.7625 GB, free: 146 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001503/0.9388, allocations: 194.1 kB / 0.7627 GB, free: 146 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.9412, allocations: 0.6005 MB / 0.7632 GB, free: 146 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/0.9415, allocations: 278.9 kB / 0.7635 GB, free: 146 MB / 0.5261 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.0003859/0.9419, allocations: 445.2 kB / 0.7639 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.9421, allocations: 218.1 kB / 0.7641 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.9426, allocations: 274.6 kB / 0.7644 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.9427, allocations: 14.92 kB / 0.7644 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.9427, allocations: 1.156 kB / 0.7644 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.9427, allocations: 4.453 kB / 0.7644 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007887/0.9506, allocations: 5.612 MB / 0.7699 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.9506, allocations: 3.938 kB / 0.7699 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.9511, allocations: 136.1 kB / 0.77 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.609e-05/0.9512, allocations: 13.25 kB / 0.7701 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.9512, allocations: 25.61 kB / 0.7701 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.9512, allocations: 12.08 kB / 0.7701 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.9512, allocations: 7.625 kB / 0.7701 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.953, allocations: 2.101 MB / 0.7721 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.9534, allocations: 306.2 kB / 0.7724 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.9535, allocations: 24.42 kB / 0.7725 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/0.9541, allocations: 38.5 kB / 0.7725 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.9542, allocations: 71.27 kB / 0.7726 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.9543, allocations: 37.89 kB / 0.7726 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00174/0.956, allocations: 1.525 MB / 0.7741 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.81e-07/0.956, allocations: 0 / 0.7741 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00312/0.9592, allocations: 1.013 MB / 0.7751 GB, free: 143.6 MB / 0.5261 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.0002535/0.9594, allocations: 150 kB / 0.7752 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003713/0.9632, allocations: 3.075 MB / 0.7782 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9632, allocations: 0 / 0.7782 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.9638, allocations: 0.734 MB / 0.7789 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/0.9646, allocations: 234 kB / 0.7792 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008501/0.9732, allocations: 5.832 MB / 0.7849 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.9755, allocations: 3.046 MB / 0.7878 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002872/0.9784, allocations: 1.486 MB / 0.7893 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.9787, allocations: 154.5 kB / 0.7894 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.9787, allocations: 0 / 0.7894 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.02796/1.007, allocations: 17.68 MB / 0.8067 GB, free: 139.7 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches