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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 97.45 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008911/0.0008912, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 11.94 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 61.92 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02438/0.1608, allocations: 24.52 MB / 496 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01595/0.1769, allocations: 5.576 MB / 0.4898 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005779/0.1827, allocations: 111.8 kB / 0.4899 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004403/0.1871, allocations: 1.264 MB / 0.4911 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.1995, allocations: 3.63 MB / 0.4947 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.2009, allocations: 87.86 kB / 0.4948 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003881/0.2048, allocations: 1.5 MB / 0.4962 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004005/0.2089, allocations: 2.133 MB / 0.4983 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.2105, allocations: 0.7356 MB / 0.499 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.2121, allocations: 0.9886 MB / 0.5 GB, free: 5.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006155/0.2128, allocations: 116 kB / 0.5001 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.2139, allocations: 371.5 kB / 0.5005 GB, free: 4.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.2154, allocations: 1.188 MB / 0.5016 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.2166, allocations: 0.683 MB / 0.5023 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2995/0.5161, allocations: 4.166 MB / 0.5063 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5161, allocations: 2.969 kB / 0.5064 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.5162, allocations: 0 / 0.5064 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002266/0.5164, allocations: 0 / 0.5064 GB, free: 14.34 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.006759/0.5232, allocations: 2.972 MB / 0.5093 GB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.5232, allocations: 8.688 kB / 0.5093 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.5366, allocations: 3.576 MB / 0.5128 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/0.5424, allocations: 1.508 MB / 0.5142 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002613/0.5427, allocations: 173.5 kB / 0.5144 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.5442, allocations: 224.6 kB / 0.5146 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.5651, allocations: 9.501 MB / 0.5239 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.618e-05/0.5653, allocations: 19.53 kB / 0.5239 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006391/0.5659, allocations: 109.3 kB / 0.524 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003862/0.5698, allocations: 2.369 MB / 0.5263 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0195/0.5893, allocations: 8.689 MB / 0.5348 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/0.6376, allocations: 29.34 MB / 0.5635 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00525/0.6429, allocations: 3.058 MB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.6534, allocations: 4.862 MB / 0.5712 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/0.6535, allocations: 43.22 kB / 0.5712 GB, free: 8.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 7.063e-06/0.6535, allocations: 0 / 0.5712 GB, free: 8.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006917/0.6604, allocations: 3.247 MB / 0.5744 GB, free: 5.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.6605, allocations: 72.02 kB / 0.5745 GB, free: 5.418 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004499/0.665, allocations: 2.549 MB / 0.577 GB, free: 2.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.6653, allocations: 41.55 kB / 0.577 GB, free: 2.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002288/0.6676, allocations: 2.645 MB / 0.5796 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007145/0.6683, allocations: 493.9 kB / 0.5801 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.6685, allocations: 88 kB / 0.5801 GB, free: 15.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004833/0.669, allocations: 0.5476 MB / 0.5807 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/0.6715, allocations: 1.34 MB / 0.582 GB, free: 13.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004753/0.6762, allocations: 4.081 MB / 0.586 GB, free: 8.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.6801, allocations: 2.354 MB / 0.5883 GB, free: 6.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-05/0.6802, allocations: 28 kB / 0.5883 GB, free: 5.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009387/0.6896, allocations: 5.254 MB / 0.5934 GB, free: 1.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.409e-05/0.6897, allocations: 44 kB / 0.5935 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.6898, allocations: 104.2 kB / 0.5936 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.69, allocations: 140 kB / 0.5937 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.6929, allocations: 0.9761 MB / 0.5947 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000171/0.693, allocations: 197.7 kB / 0.5948 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/0.6963, allocations: 0.6048 MB / 0.5954 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/0.6967, allocations: 278.8 kB / 0.5957 GB, free: 15.11 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003096/0.6998, allocations: 1.894 MB / 0.5976 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.7002, allocations: 213.2 kB / 0.5978 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004706/0.7007, allocations: 271.4 kB / 0.598 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.523e-05/0.7007, allocations: 19.12 kB / 0.598 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.7007, allocations: 1.75 kB / 0.598 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.7008, allocations: 7.938 kB / 0.598 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009012/0.7098, allocations: 5.6 MB / 0.6035 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.7098, allocations: 4 kB / 0.6035 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.7104, allocations: 139.8 kB / 0.6036 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.7104, allocations: 8 kB / 0.6037 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.7105, allocations: 20 kB / 0.6037 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.7105, allocations: 11.94 kB / 0.6037 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.7105, allocations: 4.5 kB / 0.6037 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.7128, allocations: 2.125 MB / 0.6058 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006121/0.7134, allocations: 309.9 kB / 0.6061 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.7136, allocations: 16 kB / 0.6061 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.7142, allocations: 39.95 kB / 0.6061 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.7143, allocations: 60.39 kB / 0.6062 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/0.7144, allocations: 39.44 kB / 0.6062 GB, free: 4.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002039/0.7165, allocations: 1.545 MB / 0.6077 GB, free: 2.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7165, allocations: 5.641 kB / 0.6077 GB, free: 2.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003658/0.7202, allocations: 0.9952 MB / 0.6087 GB, free: 1.531 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 (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.0003089/0.7205, allocations: 141.5 kB / 0.6088 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004739/0.7252, allocations: 3.116 MB / 0.6119 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7252, allocations: 5.75 kB / 0.6119 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008529/0.7261, allocations: 0.7375 MB / 0.6126 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.7272, allocations: 229.1 kB / 0.6128 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.7423, allocations: 8.792 MB / 0.6214 GB, free: 4.465 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00424/0.7466, allocations: 3.048 MB / 0.6244 GB, free: 1.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003453/0.7501, allocations: 1.484 MB / 0.6258 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.7505, allocations: 155.4 kB / 0.626 GB, free: 15.74 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7505, allocations: 0 / 0.626 GB, free: 15.74 MB / 478.1 MB Notification: Performance of Templates: time 0.04083/0.7914, allocations: 17.49 MB / 0.6431 GB, free: 14.4 MB / 494.1 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