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.001022/0.001022, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.341/1.341, allocations: 223.2 MB / 241 MB, free: 11.86 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.0009257/0.0009255, allocations: 92.14 kB / 292.2 MB, free: 10.9 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.3695/0.3695, allocations: 44.23 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3243, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4402, allocations: 97.88 MB / 0.6051 GB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4405, allocations: 75.97 kB / 0.6052 GB, free: 13.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1688/0.6093, allocations: 69.71 MB / 0.6733 GB, free: 6.762 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6094, allocations: 0 / 0.6733 GB, free: 6.762 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000186/0.6096, allocations: 60 kB / 0.6734 GB, free: 6.703 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.009428/0.619, allocations: 3.138 MB / 0.6764 GB, free: 3.504 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6191, allocations: 8.031 kB / 0.6764 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.6322, allocations: 3.295 MB / 0.6796 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2825/0.9147, allocations: 2.072 MB / 0.6817 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.9151, allocations: 272.7 kB / 0.6819 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/0.9174, allocations: 353.2 kB / 0.6823 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/0.9336, allocations: 9.063 MB / 0.6911 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.97e-05/0.9337, allocations: 19.22 kB / 0.6911 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004915/0.9342, allocations: 160.1 kB / 0.6913 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001051/0.9353, allocations: 1.054 MB / 0.6923 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.9483, allocations: 8.635 MB / 0.7007 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04813/0.9965, allocations: 29.22 MB / 0.7293 GB, free: 82.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004323/1.001, allocations: 3.057 MB / 0.7323 GB, free: 81.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008001/1.009, allocations: 4.876 MB / 0.737 GB, free: 78.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.009, allocations: 41.72 kB / 0.7371 GB, free: 78.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 4.919e-06/1.009, allocations: 5.484 kB / 0.7371 GB, free: 78.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.005216/1.014, allocations: 3.242 MB / 0.7402 GB, free: 77.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/1.014, allocations: 59.84 kB / 0.7403 GB, free: 77.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002816/1.017, allocations: 2.292 MB / 0.7425 GB, free: 76.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/1.017, allocations: 41.48 kB / 0.7426 GB, free: 76.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.018, allocations: 2.641 MB / 0.7452 GB, free: 74.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/1.019, allocations: 0.489 MB / 0.7456 GB, free: 74.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.019, allocations: 86.64 kB / 0.7457 GB, free: 74.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/1.019, allocations: 0.5486 MB / 0.7463 GB, free: 73.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/1.02, allocations: 1.337 MB / 0.7476 GB, free: 73.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/1.023, allocations: 4.082 MB / 0.7515 GB, free: 69.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/1.025, allocations: 2.354 MB / 0.7538 GB, free: 68.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-05/1.025, allocations: 29.09 kB / 0.7539 GB, free: 68.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.006072/1.031, allocations: 5.23 MB / 0.759 GB, free: 66.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/1.031, allocations: 45.41 kB / 0.759 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.022e-05/1.031, allocations: 105.6 kB / 0.7591 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/1.031, allocations: 145.1 kB / 0.7593 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/1.034, allocations: 0.9758 MB / 0.7602 GB, free: 66.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-05/1.034, allocations: 187.2 kB / 0.7604 GB, free: 66.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/1.037, allocations: 0.6031 MB / 0.761 GB, free: 65.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/1.037, allocations: 281.2 kB / 0.7612 GB, free: 65.75 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.002477/1.039, allocations: 1.892 MB / 0.7631 GB, free: 64.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/1.04, allocations: 210.8 kB / 0.7633 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/1.04, allocations: 273.1 kB / 0.7636 GB, free: 64.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/1.04, allocations: 18.69 kB / 0.7636 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.04, allocations: 0 / 0.7636 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.04, allocations: 3.656 kB / 0.7636 GB, free: 64.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008768/1.049, allocations: 5.627 MB / 0.7691 GB, free: 62.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.049, allocations: 7.938 kB / 0.7691 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/1.049, allocations: 144.2 kB / 0.7692 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.049, allocations: 6.438 kB / 0.7692 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/1.05, allocations: 22.14 kB / 0.7692 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/1.05, allocations: 9.719 kB / 0.7693 GB, free: 62.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.05, allocations: 7.906 kB / 0.7693 GB, free: 62.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.051, allocations: 2.114 MB / 0.7713 GB, free: 60.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004884/1.052, allocations: 301.8 kB / 0.7716 GB, free: 60.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.052, allocations: 16 kB / 0.7716 GB, free: 60.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/1.053, allocations: 42.5 kB / 0.7717 GB, free: 60.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/1.053, allocations: 60.39 kB / 0.7717 GB, free: 60.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/1.053, allocations: 50.03 kB / 0.7718 GB, free: 60.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001928/1.055, allocations: 1.542 MB / 0.7733 GB, free: 58.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.055, allocations: 0 / 0.7733 GB, free: 58.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003395/1.058, allocations: 1.015 MB / 0.7743 GB, free: 57.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.0003463/1.059, allocations: 155.3 kB / 0.7744 GB, free: 57.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003495/1.062, allocations: 3.104 MB / 0.7775 GB, free: 55.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.062, allocations: 0 / 0.7775 GB, free: 55.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006141/1.063, allocations: 0.7362 MB / 0.7782 GB, free: 54.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008515/1.064, allocations: 246.5 kB / 0.7784 GB, free: 54.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.075, allocations: 8.749 MB / 0.7869 GB, free: 46.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/1.077, allocations: 3.049 MB / 0.7899 GB, free: 43.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003051/1.08, allocations: 1.479 MB / 0.7914 GB, free: 42.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.081, allocations: 158.9 kB / 0.7915 GB, free: 42.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/1.081, allocations: 0 / 0.7915 GB, free: 42.62 MB / 490.7 MB Notification: Performance of Templates: time 0.03195/1.113, allocations: 17.68 MB / 0.8088 GB, free: 29.76 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/jenkins/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