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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001853, allocations: 111.8 kB / 19.13 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002272/0.002272, allocations: 208.9 kB / 22.08 MB, free: 0.9688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 76.7 kB / 490.8 MB, free: 27.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1194, allocations: 62.45 MB / 0.5403 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01319/0.1326, allocations: 11.25 MB / 0.5513 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006327/0.139, allocations: 2.819 MB / 0.5541 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.1408, allocations: 55.88 kB / 0.5541 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.1438, allocations: 1.327 MB / 0.5554 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00302/0.1468, allocations: 1.214 MB / 0.5566 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.1473, allocations: 75.84 kB / 0.5567 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003754/0.1511, allocations: 2.722 MB / 0.5593 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/0.1537, allocations: 1.844 MB / 0.5611 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.1555, allocations: 1.043 MB / 0.5621 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.1577, allocations: 1.448 MB / 0.5636 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005756/0.1583, allocations: 208 kB / 0.5638 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.1595, allocations: 0.4915 MB / 0.5642 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.161, allocations: 1.383 MB / 0.5656 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.1631, allocations: 1.688 MB / 0.5672 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006723/0.1698, allocations: 5.46 MB / 0.5726 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1699, allocations: 0 / 0.5726 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1699, allocations: 0 / 0.5726 GB, free: 2.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001574/0.17, allocations: 0 / 0.5726 GB, free: 2.992 MB / 430.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.006698/0.1767, allocations: 3.676 MB / 0.5762 GB, free: 15.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1768, allocations: 8.031 kB / 0.5762 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.1873, allocations: 2.962 MB / 0.5791 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.1905, allocations: 1.542 MB / 0.5806 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.1908, allocations: 172.6 kB / 0.5807 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007198/0.1915, allocations: 227.2 kB / 0.5809 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.2068, allocations: 9.48 MB / 0.5902 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/0.2069, allocations: 15.81 kB / 0.5902 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003823/0.2073, allocations: 111.8 kB / 0.5903 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004003/0.2113, allocations: 2.369 MB / 0.5926 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/0.2278, allocations: 8.664 MB / 0.6011 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2792/0.5071, allocations: 29.15 MB / 0.6296 GB, free: 37.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.5121, allocations: 3.047 MB / 0.6325 GB, free: 36.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.5136, allocations: 0.9796 MB / 0.6335 GB, free: 35.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008081/0.5217, allocations: 4.853 MB / 0.6382 GB, free: 33.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.5217, allocations: 37.97 kB / 0.6383 GB, free: 33.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 4.719e-06/0.5217, allocations: 0 / 0.6383 GB, free: 33.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.005808/0.5276, allocations: 2.748 MB / 0.641 GB, free: 32.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.5276, allocations: 59.34 kB / 0.641 GB, free: 32.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/0.5313, allocations: 2.574 MB / 0.6435 GB, free: 31.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.5314, allocations: 41.61 kB / 0.6436 GB, free: 31.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.5328, allocations: 2.758 MB / 0.6463 GB, free: 29.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000657/0.5335, allocations: 0.5126 MB / 0.6468 GB, free: 28.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.5347, allocations: 0.9088 MB / 0.6477 GB, free: 28.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5348, allocations: 354.7 kB / 0.648 GB, free: 27.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.5364, allocations: 1.356 MB / 0.6493 GB, free: 27.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.5387, allocations: 4.111 MB / 0.6533 GB, free: 22.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/0.5431, allocations: 5.968 MB / 0.6592 GB, free: 17.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.423e-05/0.5432, allocations: 28.59 kB / 0.6592 GB, free: 17.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.006758/0.5499, allocations: 5.3 MB / 0.6644 GB, free: 12.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.762e-05/0.55, allocations: 48 kB / 0.6644 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/0.5501, allocations: 96 kB / 0.6645 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.5503, allocations: 128 kB / 0.6646 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.553, allocations: 0.9786 MB / 0.6656 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001245/0.5532, allocations: 191.2 kB / 0.6658 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/0.5563, allocations: 0.6127 MB / 0.6664 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006269/0.5569, allocations: 279.8 kB / 0.6666 GB, free: 9.855 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.003084/0.56, allocations: 1.891 MB / 0.6685 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.5605, allocations: 230.4 kB / 0.6687 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.561, allocations: 267.3 kB / 0.6689 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/0.5611, allocations: 16 kB / 0.669 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.5611, allocations: 0 / 0.669 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.5611, allocations: 3.984 kB / 0.669 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008716/0.5698, allocations: 5.621 MB / 0.6745 GB, free: 1.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.5699, allocations: 7.188 kB / 0.6745 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.5704, allocations: 139.8 kB / 0.6746 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.5704, allocations: 8 kB / 0.6746 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.5705, allocations: 27.98 kB / 0.6746 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.5705, allocations: 8.5 kB / 0.6746 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5705, allocations: 11.94 kB / 0.6746 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.5724, allocations: 1.808 MB / 0.6764 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.573, allocations: 291.3 kB / 0.6767 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.5732, allocations: 20 kB / 0.6767 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/0.5738, allocations: 39 kB / 0.6767 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.574, allocations: 64.38 kB / 0.6768 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.271e-05/0.5741, allocations: 43.98 kB / 0.6768 GB, free: 15.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002416/0.5765, allocations: 1.552 MB / 0.6784 GB, free: 13.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5765, allocations: 0 / 0.6784 GB, free: 13.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0035/0.58, allocations: 1.004 MB / 0.6793 GB, free: 12.61 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.0003862/0.5804, allocations: 146.9 kB / 0.6795 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005336/0.5858, allocations: 3.154 MB / 0.6826 GB, free: 9.332 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.5858, allocations: 0 / 0.6826 GB, free: 9.332 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5869, allocations: 0.7351 MB / 0.6833 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.5884, allocations: 263.6 kB / 0.6835 GB, free: 8.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.6026, allocations: 7.692 MB / 0.691 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/0.6066, allocations: 2.969 MB / 0.6939 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/0.6074, allocations: 195.4 kB / 0.6941 GB, free: 13.37 MB / 494.1 MB Notification: Performance of SimCode: time 6.121e-06/0.6074, allocations: 0 / 0.6941 GB, free: 13.37 MB / 494.1 MB Notification: Performance of Templates: time 0.06677/0.6741, allocations: 42.3 MB / 0.7354 GB, free: 3.215 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.38094350497704]