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.001429/0.001429, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 226.5 MB / 245.4 MB, free: 8.273 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 103 kB / 297.5 MB, free: 6.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3683/0.3683, allocations: 44.83 MB / 394.3 MB, free: 35.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 8 kB / 467.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3676, allocations: 62.95 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.4981, allocations: 98.85 MB / 0.615 GB, free: 6.488 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4984, allocations: 79.94 kB / 0.615 GB, free: 6.414 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1717/0.6701, allocations: 69.09 MB / 0.6825 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6702, allocations: 0 / 0.6825 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001901/0.6704, allocations: 60 kB / 0.6826 GB, free: 0.5938 MB / 490.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.3019/0.9724, allocations: 3.09 MB / 0.6856 GB, free: 103 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.9724, allocations: 10.72 kB / 0.6856 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.9856, allocations: 3.289 MB / 0.6888 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/0.9918, allocations: 2.101 MB / 0.6908 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.9921, allocations: 272.4 kB / 0.6911 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001664/0.9938, allocations: 357.8 kB / 0.6914 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/1.013, allocations: 9.029 MB / 0.7003 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.406e-05/1.013, allocations: 20.34 kB / 0.7003 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000628/1.013, allocations: 173 kB / 0.7004 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001198/1.015, allocations: 1.044 MB / 0.7015 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/1.033, allocations: 8.581 MB / 0.7098 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04205/1.075, allocations: 29.19 MB / 0.7384 GB, free: 82.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/1.079, allocations: 3.039 MB / 0.7413 GB, free: 81.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/1.08, allocations: 0.9783 MB / 0.7423 GB, free: 80.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006953/1.087, allocations: 4.853 MB / 0.747 GB, free: 78.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/1.087, allocations: 42.44 kB / 0.7471 GB, free: 78.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 3.155e-06/1.087, allocations: 0 / 0.7471 GB, free: 78.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.005021/1.092, allocations: 2.72 MB / 0.7497 GB, free: 77.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/1.092, allocations: 59.28 kB / 0.7498 GB, free: 77.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/1.095, allocations: 2.557 MB / 0.7523 GB, free: 76.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/1.095, allocations: 43.41 kB / 0.7523 GB, free: 76.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/1.096, allocations: 2.646 MB / 0.7549 GB, free: 74.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000354/1.097, allocations: 490 kB / 0.7554 GB, free: 74.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/1.097, allocations: 86.78 kB / 0.7554 GB, free: 74.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002369/1.097, allocations: 0.5452 MB / 0.756 GB, free: 73.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/1.099, allocations: 1.333 MB / 0.7573 GB, free: 73.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/1.101, allocations: 4.103 MB / 0.7613 GB, free: 69.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004603/1.106, allocations: 5.933 MB / 0.7671 GB, free: 64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.708e-05/1.106, allocations: 31.44 kB / 0.7671 GB, free: 64 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.007146/1.113, allocations: 5.237 MB / 0.7722 GB, free: 60.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/1.113, allocations: 48 kB / 0.7723 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.908e-05/1.113, allocations: 96 kB / 0.7724 GB, free: 60.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.825e-05/1.113, allocations: 131.2 kB / 0.7725 GB, free: 60.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/1.115, allocations: 0.9763 MB / 0.7734 GB, free: 59.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.75e-05/1.116, allocations: 187.7 kB / 0.7736 GB, free: 59.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.118, allocations: 0.6196 MB / 0.7742 GB, free: 58.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/1.119, allocations: 275.2 kB / 0.7745 GB, free: 58.49 MB / 490.7 MB 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 () * Number of clocked 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.002452/1.121, allocations: 1.896 MB / 0.7763 GB, free: 56.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/1.121, allocations: 209.2 kB / 0.7765 GB, free: 56.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/1.122, allocations: 275.4 kB / 0.7768 GB, free: 56.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/1.122, allocations: 16 kB / 0.7768 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.122, allocations: 4 kB / 0.7768 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.122, allocations: 3.047 kB / 0.7768 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00715/1.129, allocations: 5.625 MB / 0.7823 GB, free: 51.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.129, allocations: 7.844 kB / 0.7823 GB, free: 51.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/1.13, allocations: 139.8 kB / 0.7825 GB, free: 51.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/1.13, allocations: 8 kB / 0.7825 GB, free: 51.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/1.13, allocations: 27.91 kB / 0.7825 GB, free: 51.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.13, allocations: 11.94 kB / 0.7825 GB, free: 51.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.13, allocations: 4 kB / 0.7825 GB, free: 51.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.131, allocations: 1.783 MB / 0.7842 GB, free: 49.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/1.132, allocations: 303.9 kB / 0.7845 GB, free: 49.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.132, allocations: 16 kB / 0.7846 GB, free: 49.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/1.132, allocations: 49.42 kB / 0.7846 GB, free: 49.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.133, allocations: 59.91 kB / 0.7847 GB, free: 49.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.133, allocations: 39.33 kB / 0.7847 GB, free: 49.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001844/1.135, allocations: 1.547 MB / 0.7862 GB, free: 47.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.135, allocations: 0 / 0.7862 GB, free: 47.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003343/1.138, allocations: 1.015 MB / 0.7872 GB, free: 46.98 MB / 490.7 MB 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 () * Number of clocked 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.0002782/1.138, allocations: 150.4 kB / 0.7873 GB, free: 46.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003696/1.142, allocations: 3.103 MB / 0.7904 GB, free: 44.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.142, allocations: 3.938 kB / 0.7904 GB, free: 44.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006646/1.143, allocations: 0.7394 MB / 0.7911 GB, free: 43.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/1.145, allocations: 245.7 kB / 0.7913 GB, free: 43.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.156, allocations: 8.784 MB / 0.7999 GB, free: 35.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/1.159, allocations: 2.976 MB / 0.8028 GB, free: 32.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003121/1.162, allocations: 1.484 MB / 0.8043 GB, free: 31.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/1.162, allocations: 159.4 kB / 0.8044 GB, free: 31.37 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/1.162, allocations: 0 / 0.8044 GB, free: 31.37 MB / 490.7 MB Notification: Performance of Templates: time 0.0311/1.193, allocations: 17.71 MB / 0.8217 GB, free: 14.1 MB / 490.7 MB 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/jenkins1/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