Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 67.89 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1466, allocations: 65.98 MB / 0.5558 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01419/0.1608, allocations: 11.31 MB / 0.5669 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008409/0.1692, allocations: 2.831 MB / 0.5696 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.1715, allocations: 59.81 kB / 0.5697 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.1748, allocations: 1.343 MB / 0.571 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.1785, allocations: 1.253 MB / 0.5722 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.179, allocations: 79.89 kB / 0.5723 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004041/0.183, allocations: 2.72 MB / 0.575 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.1855, allocations: 1.625 MB / 0.5765 GB, free: 44 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.1874, allocations: 1.051 MB / 0.5776 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/0.1897, allocations: 1.612 MB / 0.5791 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.1902, allocations: 208 kB / 0.5793 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1912, allocations: 0.4992 MB / 0.5798 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.1927, allocations: 1.425 MB / 0.5812 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001715/0.1944, allocations: 1.696 MB / 0.5829 GB, free: 9.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00726/0.2017, allocations: 5.46 MB / 0.5882 GB, free: 4.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.2017, allocations: 4 kB / 0.5882 GB, free: 4.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2017, allocations: 0 / 0.5882 GB, free: 4.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000183/0.2019, allocations: 8 kB / 0.5882 GB, free: 4.035 MB / 446.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.006558/0.2084, allocations: 3.668 MB / 0.5918 GB, free: 304 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2085, allocations: 8.031 kB / 0.5918 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3295/0.538, allocations: 2.953 MB / 0.5947 GB, free: 33.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.542, allocations: 1.542 MB / 0.5962 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.5422, allocations: 172.8 kB / 0.5964 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006803/0.5428, allocations: 223.1 kB / 0.5966 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.559, allocations: 9.474 MB / 0.6058 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.5591, allocations: 18.44 kB / 0.6059 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/0.5594, allocations: 112.8 kB / 0.606 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004308/0.5637, allocations: 2.368 MB / 0.6083 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02135/0.5851, allocations: 8.673 MB / 0.6167 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/0.6226, allocations: 29.16 MB / 0.6452 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005549/0.6282, allocations: 2.943 MB / 0.6481 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.6297, allocations: 0.8989 MB / 0.649 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009919/0.6396, allocations: 4.855 MB / 0.6537 GB, free: 3.293 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.6396, allocations: 35.22 kB / 0.6537 GB, free: 3.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 4.478e-06/0.6397, allocations: 0.75 kB / 0.6537 GB, free: 3.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.006903/0.6466, allocations: 2.757 MB / 0.6564 GB, free: 500 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/0.6468, allocations: 60.06 kB / 0.6565 GB, free: 428 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/0.6516, allocations: 2.577 MB / 0.659 GB, free: 13.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.6517, allocations: 33.7 kB / 0.659 GB, free: 13.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003888/0.6556, allocations: 2.763 MB / 0.6617 GB, free: 10.98 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.6567, allocations: 0.504 MB / 0.6622 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/0.6584, allocations: 0.9052 MB / 0.6631 GB, free: 9.559 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.6587, allocations: 363.1 kB / 0.6635 GB, free: 9.199 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.6609, allocations: 1.352 MB / 0.6648 GB, free: 7.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/0.6661, allocations: 4.118 MB / 0.6688 GB, free: 2.332 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008706/0.6748, allocations: 5.96 MB / 0.6746 GB, free: 11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.879e-05/0.6749, allocations: 28 kB / 0.6747 GB, free: 10.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009765/0.6847, allocations: 5.3 MB / 0.6798 GB, free: 5.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/0.6847, allocations: 52.03 kB / 0.6799 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.6848, allocations: 96 kB / 0.68 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.6851, allocations: 128 kB / 0.6801 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/0.688, allocations: 0.9825 MB / 0.681 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001715/0.6882, allocations: 187.3 kB / 0.6812 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.6912, allocations: 0.6165 MB / 0.6818 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004111/0.6916, allocations: 280 kB / 0.6821 GB, free: 3.332 MB / 494.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.003438/0.695, allocations: 1.9 MB / 0.684 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.6954, allocations: 218.5 kB / 0.6842 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.696, allocations: 275.3 kB / 0.6844 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-05/0.6961, allocations: 19.94 kB / 0.6844 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.6961, allocations: 0 / 0.6844 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.6961, allocations: 3.984 kB / 0.6844 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009747/0.7058, allocations: 5.614 MB / 0.6899 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.7059, allocations: 4 kB / 0.6899 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.7065, allocations: 139.8 kB / 0.6901 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.7065, allocations: 8 kB / 0.6901 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.7066, allocations: 20 kB / 0.6901 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.7066, allocations: 11.94 kB / 0.6901 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.7066, allocations: 8.516 kB / 0.6901 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.7093, allocations: 1.805 MB / 0.6919 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.7098, allocations: 299.3 kB / 0.6922 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.71, allocations: 19.98 kB / 0.6922 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.7106, allocations: 35.95 kB / 0.6922 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.7108, allocations: 64.38 kB / 0.6923 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.091e-05/0.7109, allocations: 40 kB / 0.6923 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002407/0.7133, allocations: 1.556 MB / 0.6938 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7133, allocations: 0 / 0.6938 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003795/0.7171, allocations: 1.004 MB / 0.6948 GB, free: 6.062 MB / 0.4981 GB 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.0004015/0.7175, allocations: 151 kB / 0.695 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005525/0.723, allocations: 3.018 MB / 0.6979 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.723, allocations: 0 / 0.6979 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000996/0.724, allocations: 0.6843 MB / 0.6986 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.7255, allocations: 268.3 kB / 0.6988 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.7408, allocations: 7.263 MB / 0.7059 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00425/0.745, allocations: 2.965 MB / 0.7088 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003404/0.7484, allocations: 1.48 MB / 0.7103 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.7488, allocations: 155.4 kB / 0.7104 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.442e-06/0.7488, allocations: 0 / 0.7104 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.04509/0.7939, allocations: 16.77 MB / 0.7268 GB, free: 5.289 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.645262315869331]