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.001329/0.001329, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.2 MB / 245 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008569/0.000857, allocations: 99.44 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3152/0.3152, allocations: 45.24 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002522, allocations: 11.98 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3438, allocations: 63.23 MB / 0.5192 GB, free: 43.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4738, allocations: 98.95 MB / 0.6158 GB, free: 6.695 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.474, allocations: 79.95 kB / 0.6159 GB, free: 6.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1639/0.638, allocations: 69.76 MB / 0.684 GB, free: 280 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.638, allocations: 0 / 0.684 GB, free: 280 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001219/0.6382, allocations: 60 kB / 0.6841 GB, free: 220 kB / 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.008348/0.6465, allocations: 3.152 MB / 0.6871 GB, free: 13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6466, allocations: 8.031 kB / 0.6871 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.6598, allocations: 3.282 MB / 0.6903 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006444/0.6662, allocations: 2.079 MB / 0.6924 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.6666, allocations: 275.1 kB / 0.6926 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/0.6684, allocations: 355.9 kB / 0.693 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2384/0.9068, allocations: 9.054 MB / 0.7018 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002094/0.907, allocations: 22.88 kB / 0.7018 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/0.9087, allocations: 164.5 kB / 0.702 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001583/0.9103, allocations: 1.05 MB / 0.703 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.9253, allocations: 8.642 MB / 0.7115 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03904/0.9643, allocations: 29.22 MB / 0.74 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/0.9692, allocations: 3.057 MB / 0.743 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009991/0.9792, allocations: 4.865 MB / 0.7477 GB, free: 86.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.9793, allocations: 50.28 kB / 0.7478 GB, free: 86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 5.06e-06/0.9793, allocations: 0 / 0.7478 GB, free: 86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.006609/0.9859, allocations: 3.243 MB / 0.751 GB, free: 84.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.986, allocations: 64.64 kB / 0.751 GB, free: 84.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005331/0.9913, allocations: 2.281 MB / 0.7532 GB, free: 83.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.9914, allocations: 37.08 kB / 0.7533 GB, free: 83.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.9933, allocations: 2.648 MB / 0.7559 GB, free: 81.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005456/0.9939, allocations: 498.5 kB / 0.7563 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/0.9942, allocations: 85.84 kB / 0.7564 GB, free: 81.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005071/0.9947, allocations: 0.552 MB / 0.757 GB, free: 81.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.997, allocations: 1.338 MB / 0.7583 GB, free: 80.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003171/1, allocations: 4.083 MB / 0.7623 GB, free: 76.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/1.003, allocations: 2.348 MB / 0.7645 GB, free: 75.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-05/1.003, allocations: 30 kB / 0.7646 GB, free: 75.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.006566/1.01, allocations: 5.236 MB / 0.7697 GB, free: 73.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/1.01, allocations: 50.67 kB / 0.7697 GB, free: 73.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/1.01, allocations: 96.62 kB / 0.7698 GB, free: 73.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/1.01, allocations: 145.2 kB / 0.77 GB, free: 73.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/1.012, allocations: 0.9738 MB / 0.7709 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/1.012, allocations: 192.8 kB / 0.7711 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/1.015, allocations: 0.6024 MB / 0.7717 GB, free: 73.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/1.016, allocations: 274.7 kB / 0.772 GB, free: 73.27 MB / 0.4948 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 () * 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.002546/1.018, allocations: 1.896 MB / 0.7738 GB, free: 72.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/1.018, allocations: 209.8 kB / 0.774 GB, free: 72.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/1.019, allocations: 278.9 kB / 0.7743 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.911e-05/1.019, allocations: 20.05 kB / 0.7743 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.019, allocations: 2 kB / 0.7743 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.019, allocations: 3.656 kB / 0.7743 GB, free: 72.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009943/1.029, allocations: 5.631 MB / 0.7798 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.029, allocations: 3.312 kB / 0.7798 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/1.03, allocations: 135.6 kB / 0.7799 GB, free: 70.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/1.03, allocations: 6.531 kB / 0.7799 GB, free: 70.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/1.03, allocations: 27.48 kB / 0.78 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/1.03, allocations: 11.69 kB / 0.78 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.03, allocations: 7.188 kB / 0.78 GB, free: 70.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/1.031, allocations: 2.113 MB / 0.782 GB, free: 68.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/1.032, allocations: 297.6 kB / 0.7823 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/1.032, allocations: 19.95 kB / 0.7823 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/1.033, allocations: 41.52 kB / 0.7824 GB, free: 68.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/1.033, allocations: 63.36 kB / 0.7824 GB, free: 68.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/1.033, allocations: 43.42 kB / 0.7825 GB, free: 68.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002008/1.035, allocations: 1.55 MB / 0.784 GB, free: 67.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.035, allocations: 0 / 0.784 GB, free: 67.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003471/1.039, allocations: 1.016 MB / 0.785 GB, free: 67.61 MB / 0.4948 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 () * 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.0003282/1.039, allocations: 152.9 kB / 0.7851 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003733/1.043, allocations: 3.104 MB / 0.7882 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.043, allocations: 0 / 0.7882 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/1.043, allocations: 0.7392 MB / 0.7889 GB, free: 66.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/1.044, allocations: 233.5 kB / 0.7891 GB, free: 66.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.056, allocations: 8.76 MB / 0.7977 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003639/1.06, allocations: 3.045 MB / 0.8006 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003261/1.063, allocations: 1.476 MB / 0.8021 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/1.064, allocations: 155.3 kB / 0.8022 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/1.064, allocations: 0 / 0.8022 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.03101/1.095, allocations: 17.68 MB / 0.8195 GB, free: 48.43 MB / 0.4948 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