Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000935/0.000935, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.00234, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009427/0.0009427, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.002107, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9424/0.9424, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1591/1.102, allocations: 52.49 MB / 238.5 MB, free: 7.656 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1441/0.1441, allocations: 32.8 MB / 272 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02121/0.1654, allocations: 12.54 MB / 284.5 MB, free: 9.742 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 285.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.295e-05, allocations: 6.312 kB / 285.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0122/0.01224, allocations: 10.71 MB / 296.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.0173, allocations: 2.865 MB / 299.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/0.01805, allocations: 55.88 kB / 299.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.01967, allocations: 1.362 MB / 300.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.02117, allocations: 1.334 MB / 302.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.02135, allocations: 79.78 kB / 302.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.02335, allocations: 2.83 MB / 305.1 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.02465, allocations: 1.649 MB / 306.7 MB, free: 3.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.0259, allocations: 1.618 MB / 308.3 MB, free: 1.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.02732, allocations: 1.418 MB / 309.8 MB, free: 408 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000315/0.02764, allocations: 212 kB / 310 MB, free: 196 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007192/0.02836, allocations: 479.4 kB / 310.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007693/0.02913, allocations: 1.367 MB / 311.8 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006157/0.02974, allocations: 0.7356 MB / 312.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.03233, allocations: 3.244 MB / 315.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-05/0.03235, allocations: 0 / 315.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.03235, allocations: 0 / 315.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.297e-05/0.03243, allocations: 0 / 315.8 MB, free: 10.36 MB / 314.7 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.003471/0.0359, allocations: 4.098 MB / 319.9 MB, free: 6.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.03594, allocations: 8.031 kB / 319.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.03908, allocations: 1.359 MB / 321.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.04033, allocations: 1.164 MB / 322.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.668e-05/0.04041, allocations: 172.6 kB / 322.6 MB, free: 3.453 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.04067, allocations: 224.2 kB / 322.8 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1376/0.1783, allocations: 3.994 MB / 326.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.248e-05/0.1783, allocations: 17.69 kB / 326.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.1786, allocations: 106.2 kB / 326.9 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002114/0.1807, allocations: 1.971 MB / 328.9 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00423/0.1849, allocations: 2.237 MB / 331.1 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01435/0.1993, allocations: 21.83 MB / 352.9 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.2009, allocations: 1.014 MB / 354 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.2012, allocations: 212.8 kB / 354.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003116/0.2043, allocations: 2.618 MB / 356.8 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2043, allocations: 43.22 kB / 356.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 2.475e-06/0.2043, allocations: 0 / 356.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=126): time 0.002127/0.2065, allocations: 1.209 MB / 358 MB, free: 1.215 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.2065, allocations: 60.56 kB / 358.1 MB, free: 1.141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2076, allocations: 1.927 MB / 360 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.2076, allocations: 37.7 kB / 360.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.2086, allocations: 2.685 MB / 362.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.2089, allocations: 0.4923 MB / 363.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006442/0.2095, allocations: 0.8369 MB / 364.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2096, allocations: 357.2 kB / 364.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.21, allocations: 324.6 kB / 364.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.2116, allocations: 3.104 MB / 367.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/0.2145, allocations: 4.391 MB / 372.2 MB, free: 1.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-05/0.2145, allocations: 28 kB / 372.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00269/0.2172, allocations: 2.881 MB / 375.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.2173, allocations: 48 kB / 375.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.62e-05/0.2174, allocations: 109.2 kB / 375.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.281e-05/0.2174, allocations: 132 kB / 375.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.2191, allocations: 1.061 MB / 376.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/0.2192, allocations: 193 kB / 376.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.2207, allocations: 0.5798 MB / 377.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.2209, allocations: 247.9 kB / 377.5 MB, free: 12.38 MB / 346.7 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.00098/0.2219, allocations: 481.1 kB / 378 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.222, allocations: 127.9 kB / 378.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.2222, allocations: 226.4 kB / 378.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.2222, allocations: 10.08 kB / 378.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.2223, allocations: 0 / 378.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.2223, allocations: 7.969 kB / 378.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.2251, allocations: 2.464 MB / 380.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.2251, allocations: 22.72 kB / 380.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.2254, allocations: 127.8 kB / 380.9 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.2256, allocations: 202.3 kB / 381.1 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2256, allocations: 8 kB / 381.1 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.2256, allocations: 19.3 kB / 381.2 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.2256, allocations: 19.92 kB / 381.2 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.2256, allocations: 8 kB / 381.2 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.2262, allocations: 0.7499 MB / 381.9 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.2263, allocations: 18.34 kB / 382 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.2266, allocations: 20 kB / 382 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.2267, allocations: 60.28 kB / 382 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.2267, allocations: 38.56 kB / 382.1 MB, free: 7.914 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005418/0.2273, allocations: 0.7263 MB / 382.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2273, allocations: 4 kB / 382.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00198/0.2292, allocations: 1.043 MB / 383.8 MB, free: 6.215 MB / 346.7 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.000242/0.2295, allocations: 126.8 kB / 384 MB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.231, allocations: 1.733 MB / 385.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.832e-05/0.2311, allocations: 59.94 kB / 385.8 MB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.2314, allocations: 283 kB / 386 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009776/0.2324, allocations: 1.08 MB / 387.1 MB, free: 3.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/0.2397, allocations: 6.493 MB / 393.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.2405, allocations: 1.027 MB / 394.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006612/0.2412, allocations: 326.3 kB / 395 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.2415, allocations: 319.3 kB / 395.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2415, allocations: 0 / 395.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Templates: time 0.02483/0.2663, allocations: 12.01 MB / 407.3 MB, free: 14.86 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1651729261502624]