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.001677/0.001677, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.002293/0.002293, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.438/1.438, allocations: 222.9 MB / 243 MB, free: 15.07 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.2006/0.2006, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.34 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.11, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01102/0.1211, allocations: 11.29 MB / 482 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005039/0.1261, allocations: 2.784 MB / 484.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009325/0.1271, allocations: 55.88 kB / 484.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.1295, allocations: 1.304 MB / 486.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.132, allocations: 1.229 MB / 487.4 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1324, allocations: 79.83 kB / 487.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.1359, allocations: 2.752 MB / 490.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.138, allocations: 1.852 MB / 492 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.1396, allocations: 1.055 MB / 493.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.1413, allocations: 1.448 MB / 494.5 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004011/0.1418, allocations: 208 kB / 494.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.1428, allocations: 499.3 kB / 495.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.1439, allocations: 1.402 MB / 496.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.1453, allocations: 1.715 MB / 498.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004926/0.1502, allocations: 5.483 MB / 0.492 GB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1503, allocations: 0 / 0.492 GB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1503, allocations: 4 kB / 0.492 GB, free: 12.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.582e-05/0.1504, allocations: 0 / 0.492 GB, free: 12.33 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.00489/0.1553, allocations: 3.608 MB / 0.4956 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.1553, allocations: 16.03 kB / 0.4956 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00915/0.1645, allocations: 2.932 MB / 0.4984 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.168, allocations: 1.537 MB / 0.4999 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.1682, allocations: 176.6 kB / 0.5001 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000475/0.1687, allocations: 228 kB / 0.5003 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2321/0.4008, allocations: 9.468 MB / 0.5096 GB, free: 43.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-05/0.4009, allocations: 20.69 kB / 0.5096 GB, free: 43.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.4012, allocations: 105.1 kB / 0.5097 GB, free: 43.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00326/0.4044, allocations: 2.372 MB / 0.512 GB, free: 43.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.4185, allocations: 8.665 MB / 0.5205 GB, free: 40.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02925/0.4477, allocations: 29.09 MB / 0.5489 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/0.4514, allocations: 3.056 MB / 0.5519 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009512/0.4524, allocations: 0.9765 MB / 0.5528 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00625/0.4587, allocations: 4.836 MB / 0.5575 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.4587, allocations: 39.22 kB / 0.5576 GB, free: 4.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=126): time 2.866e-06/0.4587, allocations: 0 / 0.5576 GB, free: 4.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=126): time 0.004821/0.4635, allocations: 2.736 MB / 0.5602 GB, free: 1.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.4636, allocations: 68 kB / 0.5603 GB, free: 1.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.4663, allocations: 2.565 MB / 0.5628 GB, free: 15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.4664, allocations: 45.69 kB / 0.5629 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.468, allocations: 2.637 MB / 0.5654 GB, free: 12.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.4684, allocations: 0.497 MB / 0.5659 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/0.4694, allocations: 0.9006 MB / 0.5668 GB, free: 10.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4696, allocations: 357.9 kB / 0.5671 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.4714, allocations: 1.352 MB / 0.5685 GB, free: 9.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/0.4749, allocations: 4.13 MB / 0.5725 GB, free: 3.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005885/0.4808, allocations: 5.96 MB / 0.5783 GB, free: 12.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.159e-05/0.4808, allocations: 28 kB / 0.5783 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007753/0.4886, allocations: 5.283 MB / 0.5835 GB, free: 6.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.776e-05/0.4887, allocations: 44 kB / 0.5835 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.4888, allocations: 104 kB / 0.5836 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.4889, allocations: 128 kB / 0.5838 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/0.4915, allocations: 0.9747 MB / 0.5847 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001415/0.4917, allocations: 191.2 kB / 0.5849 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.4944, allocations: 0.5991 MB / 0.5855 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/0.4947, allocations: 280.2 kB / 0.5857 GB, free: 4.664 MB / 414.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.003225/0.4979, allocations: 1.899 MB / 0.5876 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.4983, allocations: 213.2 kB / 0.5878 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.4988, allocations: 271.4 kB / 0.5881 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/0.4988, allocations: 16 kB / 0.5881 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.4989, allocations: 0 / 0.5881 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4989, allocations: 3.984 kB / 0.5881 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00872/0.5076, allocations: 5.622 MB / 0.5936 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5076, allocations: 4 kB / 0.5936 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.5082, allocations: 135.8 kB / 0.5937 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.5082, allocations: 8 kB / 0.5937 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.5083, allocations: 20.56 kB / 0.5937 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/0.5083, allocations: 19.92 kB / 0.5937 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.5083, allocations: 4 kB / 0.5938 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.5106, allocations: 1.78 MB / 0.5955 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.5112, allocations: 294 kB / 0.5958 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.5114, allocations: 19.98 kB / 0.5958 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/0.5119, allocations: 39.95 kB / 0.5958 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.5121, allocations: 60.44 kB / 0.5959 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.5122, allocations: 43.92 kB / 0.5959 GB, free: 9.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002043/0.5142, allocations: 1.564 MB / 0.5975 GB, free: 8.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5142, allocations: 3.938 kB / 0.5975 GB, free: 8.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003183/0.5174, allocations: 1.006 MB / 0.5984 GB, free: 7.406 MB / 430.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.0002892/0.5177, allocations: 144.2 kB / 0.5986 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004461/0.5222, allocations: 3.157 MB / 0.6017 GB, free: 4.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5222, allocations: 1.812 kB / 0.6017 GB, free: 4.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008516/0.523, allocations: 0.7345 MB / 0.6024 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.5243, allocations: 256 kB / 0.6026 GB, free: 3.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.5352, allocations: 7.154 MB / 0.6096 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/0.5384, allocations: 2.977 MB / 0.6125 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002943/0.5413, allocations: 1.482 MB / 0.614 GB, free: 7.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.5417, allocations: 159.4 kB / 0.6141 GB, free: 7.266 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5417, allocations: 0 / 0.6141 GB, free: 7.266 MB / 446.1 MB Notification: Performance of Templates: time 0.03526/0.577, allocations: 15.03 MB / 0.6288 GB, free: 8.312 MB / 462.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 -s gbode -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/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_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches