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.001364/0.001364, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001472/0.001472, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 84.7 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1449, allocations: 62.46 MB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01538/0.1603, allocations: 11.25 MB / 491.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006893/0.1673, allocations: 2.819 MB / 494.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.169, allocations: 55.88 kB / 494.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.1721, allocations: 1.327 MB / 495.6 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.1753, allocations: 1.202 MB / 496.8 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.1757, allocations: 79.84 kB / 496.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003556/0.1792, allocations: 2.708 MB / 499.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.1821, allocations: 1.856 MB / 0.4897 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.184, allocations: 1.047 MB / 0.4907 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.186, allocations: 1.444 MB / 0.4921 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.1865, allocations: 208 kB / 0.4923 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.1876, allocations: 495.3 kB / 0.4928 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.189, allocations: 1.379 MB / 0.4941 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001989/0.191, allocations: 1.7 MB / 0.4958 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005932/0.1969, allocations: 5.159 MB / 0.5008 GB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.197, allocations: 0 / 0.5008 GB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.197, allocations: 0 / 0.5008 GB, free: 4.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.1971, allocations: 0 / 0.5008 GB, free: 4.367 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.006107/0.2033, allocations: 3.57 MB / 0.5043 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2033, allocations: 11.97 kB / 0.5043 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2138/0.4171, allocations: 2.936 MB / 0.5072 GB, free: 39.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.4201, allocations: 1.519 MB / 0.5087 GB, free: 39.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.4202, allocations: 174.1 kB / 0.5088 GB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004829/0.4207, allocations: 220.8 kB / 0.509 GB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.4359, allocations: 9.474 MB / 0.5183 GB, free: 35.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/0.436, allocations: 14.5 kB / 0.5183 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.4363, allocations: 112.3 kB / 0.5184 GB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/0.4398, allocations: 2.375 MB / 0.5207 GB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.455, allocations: 8.672 MB / 0.5292 GB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/0.4878, allocations: 29.3 MB / 0.5578 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/0.4929, allocations: 3.053 MB / 0.5608 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.4943, allocations: 0.9805 MB / 0.5617 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008495/0.5028, allocations: 4.84 MB / 0.5665 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.5029, allocations: 39.16 kB / 0.5665 GB, free: 5.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=126): time 2.665e-06/0.5029, allocations: 0 / 0.5665 GB, free: 5.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=126): time 0.006091/0.509, allocations: 2.728 MB / 0.5692 GB, free: 2.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.5091, allocations: 60.06 kB / 0.5692 GB, free: 2.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.5129, allocations: 2.561 MB / 0.5717 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.81e-05/0.513, allocations: 45.62 kB / 0.5718 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002173/0.5152, allocations: 2.641 MB / 0.5744 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.5158, allocations: 0.4938 MB / 0.5748 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/0.517, allocations: 0.9006 MB / 0.5757 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5172, allocations: 365.9 kB / 0.5761 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.5193, allocations: 1.352 MB / 0.5774 GB, free: 9.871 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/0.5241, allocations: 4.114 MB / 0.5814 GB, free: 4.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008469/0.5326, allocations: 5.96 MB / 0.5872 GB, free: 13.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/0.5328, allocations: 28 kB / 0.5872 GB, free: 13 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01061/0.5434, allocations: 5.29 MB / 0.5924 GB, free: 7.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/0.5435, allocations: 49 kB / 0.5925 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.5436, allocations: 96 kB / 0.5926 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.5438, allocations: 132 kB / 0.5927 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.5467, allocations: 0.9747 MB / 0.5936 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001851/0.5469, allocations: 195.2 kB / 0.5938 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/0.5502, allocations: 0.5991 MB / 0.5944 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004882/0.5507, allocations: 276 kB / 0.5947 GB, free: 5.395 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.003608/0.5543, allocations: 1.895 MB / 0.5965 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/0.5547, allocations: 217.2 kB / 0.5967 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.5552, allocations: 267.3 kB / 0.597 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.515e-05/0.5553, allocations: 16 kB / 0.597 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.5553, allocations: 0.8438 kB / 0.597 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.5553, allocations: 3.984 kB / 0.597 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009863/0.5652, allocations: 5.618 MB / 0.6025 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5652, allocations: 4 kB / 0.6025 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.5659, allocations: 135.8 kB / 0.6026 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.5659, allocations: 8 kB / 0.6026 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/0.566, allocations: 23.98 kB / 0.6026 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.566, allocations: 4 kB / 0.6027 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.566, allocations: 11.94 kB / 0.6027 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.5685, allocations: 1.8 MB / 0.6044 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/0.569, allocations: 282.1 kB / 0.6047 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.5692, allocations: 19.98 kB / 0.6047 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/0.5698, allocations: 31.97 kB / 0.6047 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.57, allocations: 68.3 kB / 0.6048 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/0.5701, allocations: 43.98 kB / 0.6048 GB, free: 10.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002333/0.5724, allocations: 1.564 MB / 0.6064 GB, free: 9.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5724, allocations: 0 / 0.6064 GB, free: 9.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003377/0.5758, allocations: 0.9821 MB / 0.6073 GB, free: 8.168 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.0003065/0.5761, allocations: 148.3 kB / 0.6075 GB, free: 8.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006268/0.5824, allocations: 3.96 MB / 0.6113 GB, free: 4.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.5824, allocations: 0 / 0.6113 GB, free: 4.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.5834, allocations: 0.7374 MB / 0.6121 GB, free: 3.355 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.5848, allocations: 256.5 kB / 0.6123 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.5981, allocations: 7.25 MB / 0.6194 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/0.6019, allocations: 2.966 MB / 0.6223 GB, free: 8.785 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00359/0.6055, allocations: 1.484 MB / 0.6237 GB, free: 7.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/0.606, allocations: 151.4 kB / 0.6239 GB, free: 7.145 MB / 462.1 MB Notification: Performance of SimCode: time 2.134e-06/0.606, allocations: 0 / 0.6239 GB, free: 7.145 MB / 462.1 MB Notification: Performance of Templates: time 0.04337/0.6494, allocations: 18.39 MB / 0.6418 GB, free: 4.812 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 -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/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_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches