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.00122/0.00122, allocations: 109.8 kB / 17.78 MB, free: 5.289 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.001204/0.001205, allocations: 183.1 kB / 18.7 MB, free: 4.371 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4228, allocations: 60.82 MB / 0.5189 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01107/0.4339, allocations: 11.29 MB / 0.5299 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006078/0.44, allocations: 2.793 MB / 0.5326 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.4412, allocations: 53.38 kB / 0.5327 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.4437, allocations: 1.301 MB / 0.534 GB, free: 8.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.4463, allocations: 1.261 MB / 0.5352 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.4466, allocations: 95.42 kB / 0.5353 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.4499, allocations: 2.746 MB / 0.538 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.4523, allocations: 1.851 MB / 0.5398 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.454, allocations: 1.053 MB / 0.5408 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.4561, allocations: 1.451 MB / 0.5422 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00046/0.4566, allocations: 213 kB / 0.5424 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.4577, allocations: 0.4939 MB / 0.5429 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.459, allocations: 1.425 MB / 0.5443 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.4608, allocations: 1.708 MB / 0.546 GB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.467, allocations: 5.485 MB / 0.5513 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4671, allocations: 4 kB / 0.5513 GB, free: 10.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4671, allocations: 0 / 0.5513 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001199/0.4672, allocations: 0 / 0.5513 GB, free: 10.73 MB / 414.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.006319/0.4735, allocations: 3.608 MB / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.4736, allocations: 12.03 kB / 0.5548 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.4838, allocations: 2.944 MB / 0.5577 GB, free: 4.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.4871, allocations: 1.537 MB / 0.5592 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.4873, allocations: 172.6 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008757/0.4882, allocations: 228 kB / 0.5596 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.5032, allocations: 9.464 MB / 0.5688 GB, free: 8.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.877e-05/0.5033, allocations: 19.81 kB / 0.5689 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.5037, allocations: 111.8 kB / 0.569 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003864/0.5076, allocations: 2.369 MB / 0.5713 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.5235, allocations: 8.664 MB / 0.5798 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04418/0.5677, allocations: 29.09 MB / 0.6082 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005346/0.5731, allocations: 3.052 MB / 0.6111 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.5746, allocations: 0.9804 MB / 0.6121 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009697/0.5843, allocations: 4.837 MB / 0.6168 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.5845, allocations: 39.22 kB / 0.6169 GB, free: 5.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=126): time 7.023e-06/0.5845, allocations: 0 / 0.6169 GB, free: 5.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=126): time 0.006773/0.5913, allocations: 2.74 MB / 0.6195 GB, free: 3.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.5914, allocations: 60.06 kB / 0.6196 GB, free: 2.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/0.5962, allocations: 2.569 MB / 0.6221 GB, free: 388 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/0.5964, allocations: 41.7 kB / 0.6221 GB, free: 340 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.5986, allocations: 2.649 MB / 0.6247 GB, free: 13.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005668/0.5991, allocations: 493.7 kB / 0.6252 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.6005, allocations: 0.9006 MB / 0.6261 GB, free: 12.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6007, allocations: 361.8 kB / 0.6264 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.6028, allocations: 1.352 MB / 0.6277 GB, free: 10.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004569/0.6074, allocations: 4.122 MB / 0.6318 GB, free: 5.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007939/0.6154, allocations: 5.96 MB / 0.6376 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/0.6156, allocations: 28 kB / 0.6376 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01038/0.626, allocations: 5.283 MB / 0.6428 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.711e-05/0.6261, allocations: 48 kB / 0.6428 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.6262, allocations: 103.9 kB / 0.6429 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.6264, allocations: 131.9 kB / 0.643 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003288/0.6297, allocations: 0.9747 MB / 0.644 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002063/0.6299, allocations: 195.2 kB / 0.6442 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.6337, allocations: 0.603 MB / 0.6448 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005562/0.6342, allocations: 276 kB / 0.645 GB, free: 6.031 MB / 0.4981 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 (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.003633/0.6379, allocations: 1.895 MB / 0.6469 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.6383, allocations: 213.2 kB / 0.6471 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.6389, allocations: 267.4 kB / 0.6473 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/0.639, allocations: 19.98 kB / 0.6474 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.639, allocations: 4 kB / 0.6474 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.639, allocations: 3.984 kB / 0.6474 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.6501, allocations: 5.618 MB / 0.6529 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.6501, allocations: 4 kB / 0.6529 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/0.6508, allocations: 139.8 kB / 0.653 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/0.6508, allocations: 8 kB / 0.653 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.6509, allocations: 20 kB / 0.653 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.288e-05/0.6509, allocations: 8.5 kB / 0.653 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6509, allocations: 8 kB / 0.653 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.6533, allocations: 1.792 MB / 0.6548 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.6539, allocations: 290 kB / 0.6551 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004297/0.6544, allocations: 19.98 kB / 0.6551 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007966/0.6552, allocations: 35.95 kB / 0.6551 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.6553, allocations: 64.38 kB / 0.6552 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.6554, allocations: 43.98 kB / 0.6552 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002781/0.6582, allocations: 1.56 MB / 0.6567 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.844e-06/0.6582, allocations: 4 kB / 0.6567 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004006/0.6622, allocations: 1.007 MB / 0.6577 GB, free: 8.777 MB / 0.5137 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 (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.0003983/0.6627, allocations: 151 kB / 0.6579 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005463/0.6681, allocations: 3.159 MB / 0.661 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.6682, allocations: 0 / 0.661 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.6691, allocations: 0.739 MB / 0.6617 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.6709, allocations: 252.2 kB / 0.6619 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.6856, allocations: 7.157 MB / 0.6689 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004472/0.6901, allocations: 2.962 MB / 0.6718 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003402/0.6935, allocations: 1.484 MB / 0.6733 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/0.6941, allocations: 159.4 kB / 0.6734 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.6941, allocations: 4 kB / 0.6734 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of Templates: time 0.03876/0.7329, allocations: 16.54 MB / 0.6896 GB, free: 8.145 MB / 0.545 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches