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.001227/0.001227, 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.001242/0.001242, 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.438/1.438, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 81.2 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1386, allocations: 62.44 MB / 480 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01246/0.1511, allocations: 11.24 MB / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005635/0.1568, allocations: 2.823 MB / 494.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.1581, allocations: 55.88 kB / 494.1 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002431/0.1606, allocations: 1.323 MB / 495.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.1632, allocations: 1.21 MB / 496.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1635, allocations: 79.84 kB / 496.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.1663, allocations: 2.712 MB / 499.5 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/0.1683, allocations: 1.848 MB / 0.4896 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.1698, allocations: 1.047 MB / 0.4906 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.1715, allocations: 1.448 MB / 0.492 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003882/0.1719, allocations: 208 kB / 0.4922 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.1729, allocations: 491.3 kB / 0.4927 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.1741, allocations: 1.379 MB / 0.494 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.1758, allocations: 1.696 MB / 0.4957 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005291/0.1811, allocations: 5.159 MB / 0.5007 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1811, allocations: 0 / 0.5007 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1811, allocations: 3.938 kB / 0.5007 GB, free: 4.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001298/0.1812, allocations: 0 / 0.5007 GB, free: 4.441 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.006174/0.1874, allocations: 3.578 MB / 0.5042 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1875, allocations: 8.031 kB / 0.5042 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.243/0.4304, allocations: 2.934 MB / 0.5071 GB, free: 39.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.4337, allocations: 1.521 MB / 0.5086 GB, free: 39.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.4339, allocations: 172.5 kB / 0.5087 GB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006396/0.4345, allocations: 222.6 kB / 0.5089 GB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.4493, allocations: 9.47 MB / 0.5182 GB, free: 35.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/0.4494, allocations: 18.69 kB / 0.5182 GB, free: 35.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/0.4498, allocations: 112.1 kB / 0.5183 GB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004006/0.4538, allocations: 2.376 MB / 0.5206 GB, free: 34.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.4671, allocations: 8.673 MB / 0.5291 GB, free: 28.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.4958, allocations: 29.29 MB / 0.5577 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004686/0.5006, allocations: 3.053 MB / 0.5607 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.5019, allocations: 0.9805 MB / 0.5616 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008154/0.5101, allocations: 4.844 MB / 0.5664 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5101, allocations: 39.22 kB / 0.5664 GB, free: 5.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=126): time 4.177e-06/0.5102, allocations: 11.94 kB / 0.5664 GB, free: 5.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=126): time 0.006081/0.5162, allocations: 2.732 MB / 0.5691 GB, free: 2.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.5163, allocations: 56.06 kB / 0.5691 GB, free: 2.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003717/0.5201, allocations: 2.565 MB / 0.5716 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/0.5202, allocations: 33.7 kB / 0.5717 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/0.5222, allocations: 2.645 MB / 0.5743 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005947/0.5228, allocations: 0.4899 MB / 0.5747 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/0.5241, allocations: 0.8967 MB / 0.5756 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002345/0.5244, allocations: 365.9 kB / 0.576 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/0.5263, allocations: 1.355 MB / 0.5773 GB, free: 10.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/0.5303, allocations: 4.118 MB / 0.5813 GB, free: 4.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/0.537, allocations: 5.96 MB / 0.5871 GB, free: 13.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.101e-05/0.5371, allocations: 28 kB / 0.5872 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008818/0.5459, allocations: 5.282 MB / 0.5923 GB, free: 7.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.546, allocations: 48 kB / 0.5924 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.5462, allocations: 96 kB / 0.5924 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.5463, allocations: 132 kB / 0.5926 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.5488, allocations: 0.9786 MB / 0.5935 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/0.5489, allocations: 191.2 kB / 0.5937 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.5514, allocations: 0.6035 MB / 0.5943 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/0.5518, allocations: 280 kB / 0.5946 GB, free: 5.527 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.002518/0.5543, allocations: 1.891 MB / 0.5964 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.5546, allocations: 209.8 kB / 0.5966 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.5551, allocations: 271.3 kB / 0.5969 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.666e-05/0.5552, allocations: 19.98 kB / 0.5969 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.5552, allocations: 0 / 0.5969 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5552, allocations: 7.984 kB / 0.5969 GB, free: 3.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007895/0.5631, allocations: 5.606 MB / 0.6024 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.5632, allocations: 12.48 kB / 0.6024 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.5637, allocations: 139.8 kB / 0.6025 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.5638, allocations: 12 kB / 0.6025 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.5638, allocations: 20 kB / 0.6025 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.5638, allocations: 11.98 kB / 0.6026 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5638, allocations: 7.938 kB / 0.6026 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.5658, allocations: 1.788 MB / 0.6043 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.5662, allocations: 286.1 kB / 0.6046 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.5664, allocations: 16 kB / 0.6046 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.567, allocations: 35.95 kB / 0.6046 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.5671, allocations: 64.38 kB / 0.6047 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5672, allocations: 51.91 kB / 0.6047 GB, free: 10.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002213/0.5694, allocations: 1.556 MB / 0.6063 GB, free: 9.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5695, allocations: 0 / 0.6063 GB, free: 9.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003611/0.5731, allocations: 0.9821 MB / 0.6072 GB, free: 8.309 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.0003742/0.5735, allocations: 152.3 kB / 0.6074 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006453/0.5799, allocations: 3.956 MB / 0.6112 GB, free: 4.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.58, allocations: 0 / 0.6112 GB, free: 4.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009344/0.5809, allocations: 0.7464 MB / 0.612 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.5825, allocations: 259.5 kB / 0.6122 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/0.5958, allocations: 7.254 MB / 0.6193 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/0.5992, allocations: 2.965 MB / 0.6222 GB, free: 8.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003411/0.6027, allocations: 1.477 MB / 0.6236 GB, free: 7.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.6031, allocations: 155.4 kB / 0.6238 GB, free: 7.273 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6031, allocations: 0 / 0.6238 GB, free: 7.273 MB / 462.1 MB Notification: Performance of Templates: time 0.03754/0.6406, allocations: 18.39 MB / 0.6417 GB, free: 4.945 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