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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 75.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1205, allocations: 62.45 MB / 481.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01115/0.1317, allocations: 11.25 MB / 492.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005268/0.137, allocations: 2.819 MB / 495.5 MB, free: 6.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.1382, allocations: 59.88 kB / 495.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.1407, allocations: 1.327 MB / 496.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.1432, allocations: 1.21 MB / 498.1 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1435, allocations: 75.83 kB / 498.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002495/0.146, allocations: 2.721 MB / 0.4892 GB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.1477, allocations: 1.844 MB / 0.491 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009673/0.1487, allocations: 1.047 MB / 0.492 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.1501, allocations: 1.432 MB / 0.4934 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002731/0.1504, allocations: 223.9 kB / 0.4936 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007886/0.1512, allocations: 0.4915 MB / 0.4941 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.1522, allocations: 1.375 MB / 0.4954 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.1536, allocations: 1.696 MB / 0.4971 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004805/0.1584, allocations: 5.433 MB / 0.5024 GB, free: 3.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1584, allocations: 0 / 0.5024 GB, free: 3.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1584, allocations: 0 / 0.5024 GB, free: 3.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.958e-05/0.1585, allocations: 0 / 0.5024 GB, free: 3.395 MB / 382.1 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.1977/0.3562, allocations: 3.567 MB / 0.5059 GB, free: 39.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3563, allocations: 11.08 kB / 0.5059 GB, free: 39.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009837/0.3661, allocations: 2.935 MB / 0.5087 GB, free: 39.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/0.3698, allocations: 1.53 MB / 0.5102 GB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.3699, allocations: 174.8 kB / 0.5104 GB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000449/0.3704, allocations: 221.8 kB / 0.5106 GB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/0.3838, allocations: 9.479 MB / 0.5199 GB, free: 34.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/0.3839, allocations: 15.19 kB / 0.5199 GB, free: 34.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.3842, allocations: 115.3 kB / 0.52 GB, free: 34.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003073/0.3873, allocations: 2.374 MB / 0.5223 GB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.3986, allocations: 8.663 MB / 0.5308 GB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02789/0.4265, allocations: 29.09 MB / 0.5592 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/0.4311, allocations: 3.046 MB / 0.5622 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.4323, allocations: 0.9843 MB / 0.5631 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008467/0.4408, allocations: 4.833 MB / 0.5678 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4408, allocations: 39.22 kB / 0.5679 GB, free: 3.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=126): time 3.236e-06/0.4409, allocations: 0 / 0.5679 GB, free: 3.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=126): time 0.005612/0.4465, allocations: 2.736 MB / 0.5705 GB, free: 1.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.4465, allocations: 60.06 kB / 0.5706 GB, free: 1.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.4496, allocations: 2.565 MB / 0.5731 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.4497, allocations: 41.7 kB / 0.5731 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.4513, allocations: 2.645 MB / 0.5757 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.4516, allocations: 0.4937 MB / 0.5762 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009894/0.4526, allocations: 0.8928 MB / 0.5771 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4528, allocations: 357.9 kB / 0.5774 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.4545, allocations: 1.355 MB / 0.5787 GB, free: 8.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/0.458, allocations: 4.114 MB / 0.5828 GB, free: 3.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006029/0.4641, allocations: 5.964 MB / 0.5886 GB, free: 11.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-05/0.4641, allocations: 28 kB / 0.5886 GB, free: 11.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00742/0.4715, allocations: 5.287 MB / 0.5938 GB, free: 6.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/0.4716, allocations: 58.86 kB / 0.5938 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.408e-05/0.4717, allocations: 99.94 kB / 0.5939 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001147/0.4718, allocations: 128.8 kB / 0.5941 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/0.4744, allocations: 0.9708 MB / 0.595 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001395/0.4746, allocations: 195.2 kB / 0.5952 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.477, allocations: 0.603 MB / 0.5958 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.4773, allocations: 280 kB / 0.596 GB, free: 4.102 MB / 430.1 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 (540): * Single equations (assignments): 534 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002571/0.4799, allocations: 1.891 MB / 0.5979 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.4802, allocations: 209.2 kB / 0.5981 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.4806, allocations: 275.3 kB / 0.5984 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.4807, allocations: 16 kB / 0.5984 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.4807, allocations: 3.938 kB / 0.5984 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4807, allocations: 3.984 kB / 0.5984 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007858/0.4886, allocations: 5.618 MB / 0.6039 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.4886, allocations: 4 kB / 0.6039 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.4892, allocations: 135.8 kB / 0.604 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.4892, allocations: 8 kB / 0.604 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.4893, allocations: 20 kB / 0.604 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.4893, allocations: 7.984 kB / 0.604 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4893, allocations: 12.47 kB / 0.604 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.4913, allocations: 1.792 MB / 0.6058 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004341/0.4917, allocations: 282.1 kB / 0.6061 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.4919, allocations: 23.98 kB / 0.6061 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005533/0.4925, allocations: 35.95 kB / 0.6061 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.4926, allocations: 64.38 kB / 0.6062 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.4927, allocations: 39.98 kB / 0.6062 GB, free: 9.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.4947, allocations: 1.556 MB / 0.6077 GB, free: 7.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4947, allocations: 0 / 0.6077 GB, free: 7.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003337/0.4981, allocations: 0.986 MB / 0.6087 GB, free: 6.887 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003078/0.4984, allocations: 156.3 kB / 0.6088 GB, free: 6.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004258/0.5026, allocations: 3.154 MB / 0.6119 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5027, allocations: 0 / 0.6119 GB, free: 3.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008269/0.5035, allocations: 0.7351 MB / 0.6126 GB, free: 2.871 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.5045, allocations: 254.9 kB / 0.6129 GB, free: 2.629 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.5151, allocations: 7.157 MB / 0.6199 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/0.5181, allocations: 2.973 MB / 0.6228 GB, free: 8.391 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002941/0.521, allocations: 1.48 MB / 0.6242 GB, free: 6.902 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.5214, allocations: 155.4 kB / 0.6244 GB, free: 6.75 MB / 462.1 MB Notification: Performance of SimCode: time 2.465e-06/0.5214, allocations: 0 / 0.6244 GB, free: 6.75 MB / 462.1 MB Notification: Performance of Templates: time 0.03412/0.5555, allocations: 14.92 MB / 0.6389 GB, free: 7.898 MB / 478.1 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches