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.001083/0.001083, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.8 MB / 246.8 MB, free: 9.652 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.18 MB / 345.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002568, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 63.55 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02586/0.1613, allocations: 27.62 MB / 0.4987 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1742, allocations: 5.546 MB / 0.5041 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005293/0.1796, allocations: 115.8 kB / 0.5043 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.1809, allocations: 406.2 kB / 0.5046 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.1839, allocations: 1.164 MB / 0.5058 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1843, allocations: 71.92 kB / 0.5058 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2638/0.4482, allocations: 4.001 MB / 0.5098 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00498/0.4532, allocations: 2.331 MB / 0.512 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.4555, allocations: 0.8263 MB / 0.5128 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/0.4592, allocations: 1.413 MB / 0.5142 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007318/0.46, allocations: 121.1 kB / 0.5143 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.4619, allocations: 423.5 kB / 0.5147 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.4642, allocations: 1.31 MB / 0.516 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002077/0.4663, allocations: 1.619 MB / 0.5176 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007571/0.4739, allocations: 4.977 MB / 0.5225 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/0.4739, allocations: 1.125 kB / 0.5225 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.4739, allocations: 3.938 kB / 0.5225 GB, free: 8.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003012/0.4742, allocations: 0 / 0.5225 GB, free: 8.613 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.00919/0.4834, allocations: 2.892 MB / 0.5253 GB, free: 6.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.794e-05/0.4835, allocations: 8.344 kB / 0.5253 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.4949, allocations: 3.026 MB / 0.5282 GB, free: 5.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005353/0.5003, allocations: 1.527 MB / 0.5297 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.5005, allocations: 169.7 kB / 0.5299 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000686/0.5012, allocations: 222.4 kB / 0.5301 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.5158, allocations: 9.475 MB / 0.5394 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.837e-05/0.5159, allocations: 16.31 kB / 0.5394 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/0.5163, allocations: 108.1 kB / 0.5395 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003713/0.52, allocations: 2.383 MB / 0.5418 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.5372, allocations: 8.668 MB / 0.5503 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0457/0.5829, allocations: 29.33 MB / 0.5789 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004914/0.5879, allocations: 3.044 MB / 0.5819 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.5893, allocations: 0.9844 MB / 0.5829 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007925/0.5973, allocations: 4.84 MB / 0.5876 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.5973, allocations: 43.22 kB / 0.5876 GB, free: 15.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 4.528e-06/0.5973, allocations: 0 / 0.5876 GB, free: 15.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.005863/0.6032, allocations: 2.736 MB / 0.5903 GB, free: 12.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.6033, allocations: 60.91 kB / 0.5903 GB, free: 12.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/0.6071, allocations: 2.553 MB / 0.5928 GB, free: 9.883 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.6072, allocations: 37.7 kB / 0.5929 GB, free: 9.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.6088, allocations: 2.657 MB / 0.5955 GB, free: 7.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.6092, allocations: 493 kB / 0.5959 GB, free: 6.703 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000454/0.6097, allocations: 395.7 kB / 0.5963 GB, free: 6.309 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6099, allocations: 357.9 kB / 0.5967 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.6117, allocations: 1.352 MB / 0.598 GB, free: 4.594 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/0.6153, allocations: 4.124 MB / 0.602 GB, free: 15.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006105/0.6214, allocations: 5.962 MB / 0.6078 GB, free: 8.195 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-05/0.6214, allocations: 32 kB / 0.6079 GB, free: 8.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00821/0.6297, allocations: 5.278 MB / 0.613 GB, free: 3.141 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/0.6298, allocations: 48 kB / 0.6131 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-05/0.6299, allocations: 100 kB / 0.6132 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.63, allocations: 128 kB / 0.6133 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.6327, allocations: 0.9793 MB / 0.6142 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/0.6329, allocations: 191.2 kB / 0.6144 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.6359, allocations: 0.603 MB / 0.615 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004069/0.6363, allocations: 283.4 kB / 0.6153 GB, free: 0.8203 MB / 462.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.003546/0.6399, allocations: 1.896 MB / 0.6171 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.6402, allocations: 209.2 kB / 0.6173 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/0.6408, allocations: 275.3 kB / 0.6176 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.6408, allocations: 18.34 kB / 0.6176 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.6408, allocations: 0 / 0.6176 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/0.6408, allocations: 3.984 kB / 0.6176 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008516/0.6493, allocations: 5.612 MB / 0.6231 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6494, allocations: 4 kB / 0.6231 GB, free: 8.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.65, allocations: 135.8 kB / 0.6232 GB, free: 8.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.65, allocations: 11.94 kB / 0.6232 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.6501, allocations: 24 kB / 0.6233 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.779e-05/0.6501, allocations: 15.92 kB / 0.6233 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.6501, allocations: 4 kB / 0.6233 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.6522, allocations: 1.784 MB / 0.625 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.6528, allocations: 309.9 kB / 0.6253 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.653, allocations: 24 kB / 0.6253 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.6536, allocations: 42.22 kB / 0.6254 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6537, allocations: 56.44 kB / 0.6254 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/0.6538, allocations: 43.06 kB / 0.6255 GB, free: 6.168 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002289/0.6561, allocations: 1.56 MB / 0.627 GB, free: 4.594 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6561, allocations: 4 kB / 0.627 GB, free: 4.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003679/0.6598, allocations: 0.9837 MB / 0.628 GB, free: 3.602 MB / 478.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.0003541/0.6602, allocations: 141.6 kB / 0.6281 GB, free: 3.457 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004764/0.6649, allocations: 3.127 MB / 0.6312 GB, free: 356 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/0.665, allocations: 8.188 kB / 0.6312 GB, free: 348 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008902/0.6659, allocations: 0.7383 MB / 0.6319 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.6683, allocations: 247.6 kB / 0.6321 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.6828, allocations: 9.168 MB / 0.6411 GB, free: 6.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/0.6861, allocations: 2.969 MB / 0.644 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00351/0.6896, allocations: 1.484 MB / 0.6454 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.69, allocations: 151.4 kB / 0.6456 GB, free: 1.477 MB / 494.1 MB Notification: Performance of SimCode: time 2.033e-06/0.69, allocations: 0 / 0.6456 GB, free: 1.477 MB / 494.1 MB Notification: Performance of Templates: time 0.04185/0.7318, allocations: 17.7 MB / 0.6629 GB, free: 15.92 MB / 0.5137 GB 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