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.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.001479/0.001479, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.00143/0.00143, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.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.2681/0.2681, allocations: 32.8 MB / 294.6 MB, free: 1.301 MB / 266.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.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.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.064e-06/2.064e-06, allocations: 0 / 376 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.342e-05, allocations: 4.141 kB / 376 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01333/0.01337, allocations: 10.8 MB / 386.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007194/0.02056, allocations: 2.764 MB / 389.5 MB, free: 7.398 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.02192, allocations: 63.81 kB / 389.6 MB, free: 7.336 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.02415, allocations: 1.397 MB / 391 MB, free: 5.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.02608, allocations: 1.295 MB / 392.3 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.02631, allocations: 83.72 kB / 392.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.0284, allocations: 2.782 MB / 395.2 MB, free: 1.766 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.03017, allocations: 1.723 MB / 396.9 MB, free: 8 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.03212, allocations: 1.559 MB / 398.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.03412, allocations: 1.5 MB / 399.9 MB, free: 12.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.0345, allocations: 212 kB / 400.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008081/0.03531, allocations: 479.3 kB / 400.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009418/0.03625, allocations: 1.476 MB / 402.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000757/0.03701, allocations: 0.86 MB / 402.9 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003211/0.04022, allocations: 3.353 MB / 406.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.04022, allocations: 0 / 406.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.04023, allocations: 0 / 406.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.257e-05/0.0403, allocations: 0 / 406.3 MB, free: 6.555 MB / 378.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.003633/0.04393, allocations: 3.975 MB / 410.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.04398, allocations: 12.03 kB / 410.3 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006358/0.05034, allocations: 3.43 MB / 413.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.05239, allocations: 1.412 MB / 415.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.05248, allocations: 176.6 kB / 415.3 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/0.05281, allocations: 220.2 kB / 415.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006218/0.05903, allocations: 4.662 MB / 420.2 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.05907, allocations: 23.75 kB / 420.2 MB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.05929, allocations: 111.8 kB / 420.3 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/0.06136, allocations: 2.369 MB / 422.7 MB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006327/0.06769, allocations: 2.753 MB / 425.4 MB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1767/0.2444, allocations: 29.06 MB / 454.5 MB, free: 78.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002945/0.2473, allocations: 1.046 MB / 455.5 MB, free: 78.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.2479, allocations: 308.5 kB / 455.8 MB, free: 78.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00518/0.253, allocations: 3.006 MB / 458.8 MB, free: 78.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.2531, allocations: 47.86 kB / 458.9 MB, free: 78.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.567e-06/0.2531, allocations: 0 / 458.9 MB, free: 78.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.003889/0.257, allocations: 1.506 MB / 460.4 MB, free: 78.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.257, allocations: 64.62 kB / 460.5 MB, free: 78.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.2597, allocations: 2.392 MB / 462.9 MB, free: 77.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.2597, allocations: 42.8 kB / 462.9 MB, free: 77.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.261, allocations: 2.876 MB / 465.8 MB, free: 75.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.2613, allocations: 0.5317 MB / 466.3 MB, free: 75.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009321/0.2622, allocations: 0.9704 MB / 467.3 MB, free: 74.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.2623, allocations: 0.5151 MB / 467.8 MB, free: 74.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/0.2632, allocations: 446.4 kB / 468.2 MB, free: 74.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.2653, allocations: 4.534 MB / 472.8 MB, free: 68.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.269, allocations: 5.486 MB / 478.2 MB, free: 62.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.713e-05/0.2691, allocations: 30.09 kB / 478.3 MB, free: 62.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00545/0.2746, allocations: 3.703 MB / 482 MB, free: 61.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.2746, allocations: 45.88 kB / 482 MB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.2747, allocations: 103.2 kB / 482.1 MB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.2748, allocations: 131.4 kB / 482.2 MB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.277, allocations: 0.9723 MB / 483.2 MB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001348/0.2771, allocations: 193.1 kB / 483.4 MB, free: 60.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.2794, allocations: 0.6115 MB / 484 MB, free: 60.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/0.2797, allocations: 277.2 kB / 484.3 MB, free: 60.45 MB / 410.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.001128/0.2808, allocations: 0.5125 MB / 484.8 MB, free: 60.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.2811, allocations: 238.4 kB / 485 MB, free: 59.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.2813, allocations: 222.5 kB / 485.3 MB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.2813, allocations: 20.45 kB / 485.3 MB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.2813, allocations: 0 / 485.3 MB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2813, allocations: 3.328 kB / 485.3 MB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004804/0.2861, allocations: 3.833 MB / 489.1 MB, free: 57.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.2861, allocations: 4.406 kB / 489.1 MB, free: 57.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.2865, allocations: 137.4 kB / 489.2 MB, free: 57.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.2865, allocations: 11.34 kB / 489.3 MB, free: 57.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.2865, allocations: 20.41 kB / 489.3 MB, free: 57.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/0.2865, allocations: 10.56 kB / 489.3 MB, free: 57.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2865, allocations: 5.75 kB / 489.3 MB, free: 57.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.2876, allocations: 1.069 MB / 490.4 MB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.2879, allocations: 209.5 kB / 490.6 MB, free: 57.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.288, allocations: 23.83 kB / 490.6 MB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.2884, allocations: 39.86 kB / 490.6 MB, free: 57.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.2885, allocations: 65.39 kB / 490.7 MB, free: 57.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.2885, allocations: 41.12 kB / 490.7 MB, free: 57.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.2896, allocations: 0.9957 MB / 491.7 MB, free: 56.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2896, allocations: 0 / 491.7 MB, free: 56.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002989/0.2926, allocations: 1.015 MB / 492.7 MB, free: 56.33 MB / 410.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.0003432/0.2929, allocations: 146.1 kB / 492.9 MB, free: 56.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003072/0.296, allocations: 1.867 MB / 494.8 MB, free: 55.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.296, allocations: 1.094 kB / 494.8 MB, free: 55.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.2964, allocations: 295.8 kB / 495 MB, free: 55.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/0.2972, allocations: 189.6 kB / 495.2 MB, free: 55.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008787/0.306, allocations: 6.147 MB / 0.4896 GB, free: 52.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008853/0.3069, allocations: 1.057 MB / 0.4907 GB, free: 51.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001769/0.3086, allocations: 1.247 MB / 0.4919 GB, free: 51.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.3089, allocations: 149.8 kB / 0.492 GB, free: 51.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.475e-06/0.3089, allocations: 0 / 0.492 GB, free: 51.82 MB / 410.7 MB Notification: Performance of Templates: time 0.02373/0.3327, allocations: 11.88 MB / 0.5036 GB, free: 47.27 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9433676837943494]