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.0009955/0.0009955, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 225.6 MB / 234.8 MB, free: 3.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008596/0.0008597, allocations: 94.23 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 45.15 MB / 383.8 MB, free: 200 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.208e-05/1.21e-05, allocations: 4 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 63.25 MB / 0.5044 GB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.5099, allocations: 98.21 MB / 0.6003 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.5101, allocations: 70.34 kB / 0.6003 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1602/0.6703, allocations: 68.34 MB / 0.6671 GB, free: 8.254 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6704, allocations: 3.938 kB / 0.6671 GB, free: 8.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001426/0.6705, allocations: 68 kB / 0.6671 GB, free: 8.184 MB / 458.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.008876/0.6794, allocations: 3.041 MB / 0.6701 GB, free: 5.086 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.6795, allocations: 12.03 kB / 0.6701 GB, free: 5.074 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.6939, allocations: 3.282 MB / 0.6733 GB, free: 1.781 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005271/0.6992, allocations: 2.075 MB / 0.6753 GB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.6994, allocations: 116 kB / 0.6755 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001574/0.701, allocations: 204 kB / 0.6757 GB, free: 15.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01121/0.7122, allocations: 6.41 MB / 0.6819 GB, free: 8.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/0.7292, allocations: 8.484 MB / 0.6902 GB, free: 84 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.7293, allocations: 19.81 kB / 0.6902 GB, free: 64 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.7305, allocations: 12 kB / 0.6902 GB, free: 52 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/0.7321, allocations: 1.058 MB / 0.6913 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04114/0.7732, allocations: 26.65 MB / 0.7173 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.776, allocations: 2.683 MB / 0.7199 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.7771, allocations: 0.8805 MB / 0.7208 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.7783, allocations: 1.628 MB / 0.7224 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.7784, allocations: 43.88 kB / 0.7224 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=162): time 3.667e-06/0.7784, allocations: 0 / 0.7224 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.00397/0.7824, allocations: 2.126 MB / 0.7245 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.7824, allocations: 64.72 kB / 0.7245 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/0.7854, allocations: 2.063 MB / 0.7265 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.625e-05/0.7855, allocations: 29.7 kB / 0.7266 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.7871, allocations: 2.633 MB / 0.7291 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006175/0.7878, allocations: 0.5976 MB / 0.7297 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.7879, allocations: 0 / 0.7297 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003696/0.7883, allocations: 0.5603 MB / 0.7303 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.7901, allocations: 1.353 MB / 0.7316 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/0.7936, allocations: 4.322 MB / 0.7358 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.7969, allocations: 2.474 MB / 0.7382 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.674e-05/0.7969, allocations: 32 kB / 0.7383 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=642) (initialization): time 0.007655/0.8046, allocations: 5.004 MB / 0.7432 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.8047, allocations: 52 kB / 0.7432 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.8048, allocations: 108 kB / 0.7433 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.805, allocations: 156 kB / 0.7435 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/0.8084, allocations: 1.073 MB / 0.7445 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001332/0.8085, allocations: 215.1 kB / 0.7447 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/0.8111, allocations: 0.5403 MB / 0.7452 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.8115, allocations: 300 kB / 0.7455 GB, free: 4.629 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 (594): * Single equations (assignments): 588 * 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.0004726/0.812, allocations: 368.5 kB / 0.7459 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.8123, allocations: 217.1 kB / 0.7461 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.8151, allocations: 2.056 MB / 0.7481 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/0.8152, allocations: 19.98 kB / 0.7481 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8152, allocations: 0 / 0.7481 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.8152, allocations: 7.922 kB / 0.7481 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2741/1.089, allocations: 6.045 MB / 0.754 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.089, allocations: 8.656 kB / 0.754 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008603/1.09, allocations: 197.1 kB / 0.7542 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.871e-05/1.09, allocations: 15.64 kB / 0.7542 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/1.09, allocations: 21.42 kB / 0.7542 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.339e-05/1.09, allocations: 23.39 kB / 0.7543 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.567e-05/1.09, allocations: 13.62 kB / 0.7543 GB, free: 150 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/1.094, allocations: 2.972 MB / 0.7572 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/1.094, allocations: 305.4 kB / 0.7575 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/1.094, allocations: 17.27 kB / 0.7575 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/1.095, allocations: 31.05 kB / 0.7575 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/1.095, allocations: 98.98 kB / 0.7576 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/1.095, allocations: 56.17 kB / 0.7577 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002204/1.098, allocations: 1.338 MB / 0.759 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/1.098, allocations: 3.969 kB / 0.759 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003773/1.101, allocations: 0.9235 MB / 0.7599 GB, free: 148 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.0002957/1.102, allocations: 145.8 kB / 0.76 GB, free: 148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004448/1.106, allocations: 3.236 MB / 0.7632 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.106, allocations: 1.375 kB / 0.7632 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/1.107, allocations: 0.9208 MB / 0.7641 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/1.108, allocations: 163.5 kB / 0.7642 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.119, allocations: 6.354 MB / 0.7704 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002967/1.122, allocations: 3.06 MB / 0.7734 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003415/1.125, allocations: 1.719 MB / 0.7751 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/1.126, allocations: 171.2 kB / 0.7753 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/1.126, allocations: 0 / 0.7753 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.02964/1.155, allocations: 15.8 MB / 0.7907 GB, free: 144.9 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