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.001276/0.001275, allocations: 108.2 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.001442/0.001442, allocations: 182.9 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.396/1.396, 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.2217/0.2217, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 65.34 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1235, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01529/0.1388, allocations: 11.29 MB / 482 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006726/0.1456, allocations: 2.792 MB / 484.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.148, allocations: 51.94 kB / 484.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.1509, allocations: 1.304 MB / 486.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.1543, allocations: 1.225 MB / 487.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1546, allocations: 75.84 kB / 487.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003053/0.1577, allocations: 2.758 MB / 490.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.1598, allocations: 1.852 MB / 492 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.1612, allocations: 1.055 MB / 493.1 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.1629, allocations: 1.452 MB / 494.5 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.1632, allocations: 208 kB / 494.8 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008943/0.1641, allocations: 495.3 kB / 495.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.1655, allocations: 1.402 MB / 496.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.1668, allocations: 1.715 MB / 498.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004906/0.1717, allocations: 5.487 MB / 0.492 GB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1718, allocations: 0 / 0.492 GB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1718, allocations: 4 kB / 0.492 GB, free: 12.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.727e-05/0.1718, allocations: 0 / 0.492 GB, free: 12.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.004454/0.1763, allocations: 3.608 MB / 0.4956 GB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1764, allocations: 8.031 kB / 0.4956 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008748/0.1851, allocations: 2.936 MB / 0.4984 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.1884, allocations: 1.533 MB / 0.4999 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.1885, allocations: 184.6 kB / 0.5001 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003993/0.1889, allocations: 224 kB / 0.5003 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2309/0.4198, allocations: 9.466 MB / 0.5096 GB, free: 43.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.977e-05/0.42, allocations: 19.19 kB / 0.5096 GB, free: 43.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/0.4203, allocations: 106 kB / 0.5097 GB, free: 43.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004022/0.4244, allocations: 2.372 MB / 0.512 GB, free: 43.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.4416, allocations: 8.677 MB / 0.5205 GB, free: 40.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03161/0.4732, allocations: 29.08 MB / 0.5489 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/0.477, allocations: 3.054 MB / 0.5519 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000968/0.478, allocations: 0.9765 MB / 0.5528 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006663/0.4846, allocations: 4.839 MB / 0.5575 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.4847, allocations: 43.22 kB / 0.5576 GB, free: 4.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=126): time 4.929e-06/0.4847, allocations: 0 / 0.5576 GB, free: 4.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=126): time 0.004793/0.4895, allocations: 2.744 MB / 0.5603 GB, free: 1.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.4895, allocations: 60.06 kB / 0.5603 GB, free: 1.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.4927, allocations: 2.565 MB / 0.5628 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.4928, allocations: 37.7 kB / 0.5629 GB, free: 14.99 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.4948, allocations: 2.645 MB / 0.5654 GB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004401/0.4952, allocations: 0.4898 MB / 0.5659 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.4963, allocations: 0.9045 MB / 0.5668 GB, free: 10.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4965, allocations: 357.9 kB / 0.5671 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/0.4985, allocations: 1.355 MB / 0.5685 GB, free: 9.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003593/0.5021, allocations: 4.122 MB / 0.5725 GB, free: 3.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/0.508, allocations: 5.96 MB / 0.5783 GB, free: 12.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.052e-05/0.5081, allocations: 28 kB / 0.5783 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008003/0.5161, allocations: 5.283 MB / 0.5835 GB, free: 7.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/0.5162, allocations: 48 kB / 0.5835 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.605e-05/0.5164, allocations: 104.1 kB / 0.5836 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.5165, allocations: 128 kB / 0.5838 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.519, allocations: 0.9747 MB / 0.5847 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001378/0.5192, allocations: 187.3 kB / 0.5849 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.5218, allocations: 0.603 MB / 0.5855 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/0.5222, allocations: 280 kB / 0.5857 GB, free: 4.691 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.002682/0.5249, allocations: 1.895 MB / 0.5876 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/0.5252, allocations: 213.2 kB / 0.5878 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.5256, allocations: 271.4 kB / 0.5881 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.5256, allocations: 16 kB / 0.5881 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5256, allocations: 0 / 0.5881 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5256, allocations: 3.984 kB / 0.5881 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008241/0.5339, allocations: 5.618 MB / 0.5936 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.5339, allocations: 7.938 kB / 0.5936 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/0.5345, allocations: 139.8 kB / 0.5937 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.5345, allocations: 8 kB / 0.5937 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.5346, allocations: 23.98 kB / 0.5937 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.5346, allocations: 11.94 kB / 0.5938 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5346, allocations: 4 kB / 0.5938 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.5367, allocations: 1.792 MB / 0.5955 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/0.5373, allocations: 286 kB / 0.5958 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.5376, allocations: 19.98 kB / 0.5958 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.5381, allocations: 35.95 kB / 0.5958 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.5383, allocations: 60.38 kB / 0.5959 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/0.5384, allocations: 47.98 kB / 0.5959 GB, free: 10.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002118/0.5405, allocations: 1.564 MB / 0.5975 GB, free: 8.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5405, allocations: 0 / 0.5975 GB, free: 8.445 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003668/0.5442, allocations: 1.002 MB / 0.5984 GB, free: 7.441 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.0003333/0.5445, allocations: 145.7 kB / 0.5986 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004789/0.5493, allocations: 3.158 MB / 0.6017 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.517e-06/0.5494, allocations: 0 / 0.6017 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009324/0.5503, allocations: 0.7374 MB / 0.6024 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5518, allocations: 258.4 kB / 0.6026 GB, free: 3.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.5652, allocations: 7.164 MB / 0.6096 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004221/0.5695, allocations: 2.966 MB / 0.6125 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003678/0.5732, allocations: 1.484 MB / 0.614 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.5737, allocations: 159.4 kB / 0.6141 GB, free: 7.293 MB / 446.1 MB Notification: Performance of SimCode: time 2.365e-06/0.5738, allocations: 0 / 0.6141 GB, free: 7.293 MB / 446.1 MB Notification: Performance of Templates: time 0.03579/0.6095, allocations: 15.03 MB / 0.6288 GB, free: 8.348 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 cvode -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