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.001173/0.001173, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2521/0.2521, allocations: 46.09 MB / 343.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 78.25 kB / 416.8 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1572, allocations: 62.44 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02904/0.1863, allocations: 28.52 MB / 0.4959 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.2027, allocations: 5.597 MB / 0.5014 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007909/0.2107, allocations: 111.8 kB / 0.5015 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.2151, allocations: 1.285 MB / 0.5027 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004779/0.22, allocations: 1.148 MB / 0.5039 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.2208, allocations: 75.86 kB / 0.5039 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3197/0.5405, allocations: 4.001 MB / 0.5078 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.5436, allocations: 1.829 MB / 0.5096 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.5457, allocations: 0.9145 MB / 0.5105 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.5486, allocations: 1.514 MB / 0.512 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007949/0.5495, allocations: 152.4 kB / 0.5121 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.5509, allocations: 464.1 kB / 0.5126 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.5528, allocations: 1.347 MB / 0.5139 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.5554, allocations: 1.657 MB / 0.5155 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00827/0.5637, allocations: 5.099 MB / 0.5205 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.5637, allocations: 0 / 0.5205 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.478e-06/0.5637, allocations: 1.625 kB / 0.5205 GB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003419/0.5641, allocations: 0 / 0.5205 GB, free: 8.762 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.01155/0.5757, allocations: 3.569 MB / 0.524 GB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.5757, allocations: 9.531 kB / 0.524 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009543/0.5853, allocations: 2.935 MB / 0.5269 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003814/0.5891, allocations: 1.526 MB / 0.5283 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.5893, allocations: 183.5 kB / 0.5285 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006528/0.59, allocations: 221.6 kB / 0.5287 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.6065, allocations: 9.477 MB / 0.538 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-05/0.6066, allocations: 20.69 kB / 0.538 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.607, allocations: 104.7 kB / 0.5381 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004104/0.6111, allocations: 2.376 MB / 0.5404 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/0.6298, allocations: 8.669 MB / 0.5489 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05424/0.6841, allocations: 29.29 MB / 0.5775 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005628/0.6898, allocations: 3.046 MB / 0.5805 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.6915, allocations: 0.9844 MB / 0.5814 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00968/0.7012, allocations: 4.851 MB / 0.5862 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.7013, allocations: 43.22 kB / 0.5862 GB, free: 14.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=126): time 4.849e-06/0.7013, allocations: 0 / 0.5862 GB, free: 14.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=126): time 0.006432/0.7077, allocations: 2.738 MB / 0.5889 GB, free: 11.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.7078, allocations: 60.06 kB / 0.5889 GB, free: 11.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00757/0.7154, allocations: 2.557 MB / 0.5914 GB, free: 9.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00037/0.7158, allocations: 37.7 kB / 0.5915 GB, free: 9.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00306/0.7189, allocations: 2.644 MB / 0.5941 GB, free: 6.504 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009528/0.7199, allocations: 496.7 kB / 0.5945 GB, free: 6.023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002874/0.7228, allocations: 0.9032 MB / 0.5954 GB, free: 5.109 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004295/0.7232, allocations: 365.8 kB / 0.5958 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.726, allocations: 1.352 MB / 0.5971 GB, free: 3.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005964/0.732, allocations: 4.117 MB / 0.6011 GB, free: 13.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008013/0.74, allocations: 5.959 MB / 0.6069 GB, free: 6.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/0.7402, allocations: 32 kB / 0.607 GB, free: 6.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01095/0.7511, allocations: 5.283 MB / 0.6121 GB, free: 2.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.7513, allocations: 48 kB / 0.6122 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/0.7514, allocations: 100 kB / 0.6123 GB, free: 1.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.7516, allocations: 128 kB / 0.6124 GB, free: 1.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/0.7549, allocations: 0.9786 MB / 0.6133 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002058/0.7551, allocations: 195.2 kB / 0.6135 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/0.7589, allocations: 0.6031 MB / 0.6141 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008057/0.7597, allocations: 279.9 kB / 0.6144 GB, free: 15.72 MB / 478.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.004338/0.764, allocations: 1.887 MB / 0.6162 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005087/0.7645, allocations: 213.1 kB / 0.6164 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.7653, allocations: 267.3 kB / 0.6167 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/0.7653, allocations: 23.98 kB / 0.6167 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.7653, allocations: 0 / 0.6167 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.7653, allocations: 7.922 kB / 0.6167 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.7797, allocations: 5.605 MB / 0.6222 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.7798, allocations: 8.031 kB / 0.6222 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.7804, allocations: 143.8 kB / 0.6223 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.7805, allocations: 8 kB / 0.6223 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/0.7806, allocations: 24 kB / 0.6224 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.347e-05/0.7806, allocations: 4 kB / 0.6224 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.7806, allocations: 11.94 kB / 0.6224 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/0.7835, allocations: 1.787 MB / 0.6241 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.7846, allocations: 285.9 kB / 0.6244 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008371/0.7854, allocations: 31.98 kB / 0.6244 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.7867, allocations: 35.95 kB / 0.6244 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.7869, allocations: 64.36 kB / 0.6245 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.787, allocations: 38.81 kB / 0.6245 GB, free: 5.086 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004545/0.7915, allocations: 1.56 MB / 0.6261 GB, free: 3.512 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7916, allocations: 4 kB / 0.6261 GB, free: 3.508 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007186/0.7988, allocations: 0.9796 MB / 0.627 GB, free: 2.523 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.0005972/0.7994, allocations: 146.9 kB / 0.6272 GB, free: 2.375 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005694/0.8051, allocations: 3.126 MB / 0.6302 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.8051, allocations: 4.5 kB / 0.6302 GB, free: 15.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009526/0.8061, allocations: 0.7444 MB / 0.631 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.8079, allocations: 246.3 kB / 0.6312 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.8242, allocations: 9.146 MB / 0.6401 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005124/0.8293, allocations: 2.969 MB / 0.643 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004192/0.8336, allocations: 1.484 MB / 0.6445 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/0.8342, allocations: 151.4 kB / 0.6446 GB, free: 440 kB / 494.1 MB Notification: Performance of SimCode: time 1.764e-06/0.8342, allocations: 0 / 0.6446 GB, free: 440 kB / 494.1 MB Notification: Performance of Templates: time 0.04805/0.8822, allocations: 17.82 MB / 0.662 GB, free: 14.75 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