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.0009325/0.0009325, allocations: 176 kB / 18.08 MB, free: 3.637 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.269/1.269, allocations: 223.3 MB / 242.1 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 95.91 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3402/0.3402, allocations: 44.14 MB / 388.5 MB, free: 38.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3443, allocations: 61.88 MB / 0.5107 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.472, allocations: 97.94 MB / 0.6064 GB, free: 13.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4723, allocations: 83.95 kB / 0.6064 GB, free: 13.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.165/0.6373, allocations: 69.04 MB / 0.6739 GB, free: 7.324 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6373, allocations: 0 / 0.6739 GB, free: 7.324 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001395/0.6375, allocations: 60 kB / 0.6739 GB, free: 7.266 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.008619/0.6461, allocations: 3.095 MB / 0.6769 GB, free: 4.105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.6462, allocations: 8.031 kB / 0.677 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.6596, allocations: 3.283 MB / 0.6802 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2501/0.9097, allocations: 2.102 MB / 0.6822 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.91, allocations: 276.5 kB / 0.6825 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.911, allocations: 356.3 kB / 0.6828 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/0.9265, allocations: 9.024 MB / 0.6916 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-05/0.9267, allocations: 16.44 kB / 0.6916 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005541/0.9272, allocations: 164.9 kB / 0.6918 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001068/0.9283, allocations: 1.056 MB / 0.6928 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.942, allocations: 8.59 MB / 0.7012 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04125/0.9833, allocations: 29.18 MB / 0.7297 GB, free: 82.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004377/0.9878, allocations: 3.046 MB / 0.7327 GB, free: 81.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.989, allocations: 0.9769 MB / 0.7336 GB, free: 80.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006982/0.996, allocations: 4.851 MB / 0.7384 GB, free: 78.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.996, allocations: 46.28 kB / 0.7384 GB, free: 78.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 4.689e-06/0.996, allocations: 2.672 kB / 0.7384 GB, free: 78.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.004773/1.001, allocations: 2.722 MB / 0.7411 GB, free: 77.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/1.001, allocations: 59.72 kB / 0.7411 GB, free: 77.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002974/1.004, allocations: 2.553 MB / 0.7436 GB, free: 76.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/1.004, allocations: 38.14 kB / 0.7437 GB, free: 76.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/1.005, allocations: 2.642 MB / 0.7463 GB, free: 74.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/1.005, allocations: 0.4908 MB / 0.7467 GB, free: 74.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.005, allocations: 83.44 kB / 0.7468 GB, free: 74.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/1.006, allocations: 0.5435 MB / 0.7473 GB, free: 73.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/1.007, allocations: 1.335 MB / 0.7486 GB, free: 73.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/1.01, allocations: 4.101 MB / 0.7527 GB, free: 69.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004652/1.014, allocations: 5.939 MB / 0.7585 GB, free: 64.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.476e-05/1.014, allocations: 26 kB / 0.7585 GB, free: 64.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.006542/1.021, allocations: 5.241 MB / 0.7636 GB, free: 62.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/1.021, allocations: 51.66 kB / 0.7636 GB, free: 62.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.62e-05/1.021, allocations: 97.72 kB / 0.7637 GB, free: 62.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.122e-05/1.021, allocations: 129 kB / 0.7639 GB, free: 62.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/1.023, allocations: 0.9808 MB / 0.7648 GB, free: 62.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.746e-05/1.023, allocations: 187.5 kB / 0.765 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/1.026, allocations: 0.6018 MB / 0.7656 GB, free: 61.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/1.026, allocations: 272.8 kB / 0.7658 GB, free: 61.8 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.002365/1.028, allocations: 1.891 MB / 0.7677 GB, free: 60.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/1.028, allocations: 220.2 kB / 0.7679 GB, free: 60.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/1.029, allocations: 270.8 kB / 0.7682 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.029, allocations: 15.72 kB / 0.7682 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.029, allocations: 0 / 0.7682 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.029, allocations: 3.469 kB / 0.7682 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007839/1.037, allocations: 5.626 MB / 0.7737 GB, free: 58.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.037, allocations: 15.88 kB / 0.7737 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/1.037, allocations: 138.9 kB / 0.7738 GB, free: 58.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/1.037, allocations: 8 kB / 0.7738 GB, free: 58.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/1.037, allocations: 22.44 kB / 0.7738 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/1.037, allocations: 11.7 kB / 0.7739 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.037, allocations: 7.938 kB / 0.7739 GB, free: 58.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/1.039, allocations: 1.784 MB / 0.7756 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/1.039, allocations: 316.3 kB / 0.7759 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/1.039, allocations: 16 kB / 0.7759 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/1.04, allocations: 34.92 kB / 0.776 GB, free: 56.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.04, allocations: 61.55 kB / 0.776 GB, free: 56.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/1.04, allocations: 43.91 kB / 0.7761 GB, free: 56.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001587/1.042, allocations: 1.548 MB / 0.7776 GB, free: 54.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.042, allocations: 4 kB / 0.7776 GB, free: 54.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002927/1.045, allocations: 1.014 MB / 0.7786 GB, free: 53.71 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.0002482/1.045, allocations: 144.6 kB / 0.7787 GB, free: 53.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003428/1.048, allocations: 3.108 MB / 0.7817 GB, free: 50.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.048, allocations: 0 / 0.7817 GB, free: 50.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006108/1.049, allocations: 0.7373 MB / 0.7825 GB, free: 50.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/1.051, allocations: 250.3 kB / 0.7827 GB, free: 49.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009448/1.061, allocations: 8.785 MB / 0.7913 GB, free: 41.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002424/1.063, allocations: 2.967 MB / 0.7942 GB, free: 39.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003049/1.066, allocations: 1.487 MB / 0.7956 GB, free: 38.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/1.066, allocations: 155.2 kB / 0.7958 GB, free: 38.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.021e-06/1.066, allocations: 4 kB / 0.7958 GB, free: 38.3 MB / 490.7 MB Notification: Performance of Templates: time 0.03355/1.1, allocations: 17.7 MB / 0.8131 GB, free: 25.43 MB / 490.7 MB 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/jenkins1/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