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.001001/0.001001, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001017/0.001017, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.9982/0.9982, allocations: 177.1 MB / 205 MB, free: 5.59 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.2549/0.2549, allocations: 32.81 MB / 294.3 MB, free: 1.207 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.084e-06/2.084e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.084e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.009333/0.009364, allocations: 10.83 MB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005989/0.01535, allocations: 2.78 MB / 389.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.01712, allocations: 59.81 kB / 389.7 MB, free: 6.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00248/0.0196, allocations: 1.393 MB / 391.1 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.02234, allocations: 1.299 MB / 392.4 MB, free: 4.215 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.02266, allocations: 87.75 kB / 392.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.02533, allocations: 2.775 MB / 395.2 MB, free: 1.344 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.02715, allocations: 1.731 MB / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.02882, allocations: 1.547 MB / 398.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.03043, allocations: 1.508 MB / 400 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003599/0.03079, allocations: 208 kB / 400.2 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007881/0.03158, allocations: 475.4 kB / 400.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009892/0.03257, allocations: 1.476 MB / 402.1 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007726/0.03334, allocations: 0.8638 MB / 403 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.03626, allocations: 3.353 MB / 406.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.03626, allocations: 0 / 406.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.03627, allocations: 0 / 406.4 MB, free: 6.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.633e-05/0.03634, allocations: 0 / 406.4 MB, free: 6.133 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.003689/0.04003, allocations: 3.975 MB / 410.3 MB, free: 2.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.04007, allocations: 12.03 kB / 410.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005737/0.04581, allocations: 3.434 MB / 413.8 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.04775, allocations: 1.404 MB / 415.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.891e-05/0.04784, allocations: 172.6 kB / 415.4 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/0.04812, allocations: 228.2 kB / 415.6 MB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005821/0.05394, allocations: 4.662 MB / 420.2 MB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.05399, allocations: 23.75 kB / 420.3 MB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.0542, allocations: 111.8 kB / 420.4 MB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002229/0.05643, allocations: 2.377 MB / 422.8 MB, free: 5.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006832/0.06326, allocations: 2.745 MB / 425.5 MB, free: 2.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1852/0.2485, allocations: 29.06 MB / 454.6 MB, free: 74.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.2505, allocations: 1.044 MB / 455.6 MB, free: 74.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.2509, allocations: 302.8 kB / 455.9 MB, free: 74.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003925/0.2549, allocations: 3.017 MB / 458.9 MB, free: 74.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2549, allocations: 41.11 kB / 459 MB, free: 74.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 2.605e-06/0.2549, allocations: 0 / 459 MB, free: 74.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.002554/0.2574, allocations: 1.503 MB / 460.5 MB, free: 74.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.2575, allocations: 64.5 kB / 460.5 MB, free: 74.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.2593, allocations: 2.408 MB / 462.9 MB, free: 73.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.2593, allocations: 36.48 kB / 463 MB, free: 73.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008881/0.2602, allocations: 2.872 MB / 465.8 MB, free: 72.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.2604, allocations: 0.5214 MB / 466.4 MB, free: 71.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000648/0.2611, allocations: 0.9774 MB / 467.3 MB, free: 71.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.2611, allocations: 0.5184 MB / 467.9 MB, free: 71.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/0.2617, allocations: 442.4 kB / 468.3 MB, free: 71.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.2632, allocations: 4.539 MB / 472.8 MB, free: 65.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.2659, allocations: 5.484 MB / 478.3 MB, free: 59.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.061e-05/0.2659, allocations: 29.62 kB / 478.3 MB, free: 59.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003408/0.2693, allocations: 3.702 MB / 482 MB, free: 58.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.2694, allocations: 52.25 kB / 482.1 MB, free: 58.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.476e-05/0.2694, allocations: 100.3 kB / 482.2 MB, free: 58.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.902e-05/0.2695, allocations: 127.4 kB / 482.3 MB, free: 58.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.2709, allocations: 0.9792 MB / 483.3 MB, free: 57.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-05/0.271, allocations: 194.7 kB / 483.5 MB, free: 57.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.2725, allocations: 0.6048 MB / 484.1 MB, free: 57.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.2727, allocations: 273.8 kB / 484.4 MB, free: 57.48 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.0007355/0.2734, allocations: 0.5197 MB / 484.9 MB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.2736, allocations: 232.6 kB / 485.1 MB, free: 56.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.2738, allocations: 224.3 kB / 485.3 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.2738, allocations: 17.56 kB / 485.3 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.2738, allocations: 0 / 485.3 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.2738, allocations: 7.312 kB / 485.3 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.2782, allocations: 3.831 MB / 489.2 MB, free: 55.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2782, allocations: 4.406 kB / 489.2 MB, free: 55.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.2785, allocations: 135.1 kB / 489.3 MB, free: 55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.2785, allocations: 6.812 kB / 489.3 MB, free: 55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.2785, allocations: 24.56 kB / 489.3 MB, free: 54.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.2785, allocations: 13.7 kB / 489.4 MB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2785, allocations: 5.594 kB / 489.4 MB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.2795, allocations: 1.076 MB / 490.4 MB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.2796, allocations: 200.5 kB / 490.6 MB, free: 54.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.2797, allocations: 20.02 kB / 490.7 MB, free: 54.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.28, allocations: 40.92 kB / 490.7 MB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.2801, allocations: 62.41 kB / 490.8 MB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.2801, allocations: 45.39 kB / 490.8 MB, free: 54.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009497/0.2811, allocations: 0.9939 MB / 491.8 MB, free: 53.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2811, allocations: 0 / 491.8 MB, free: 53.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002154/0.2832, allocations: 1.022 MB / 492.8 MB, free: 53.38 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.0002283/0.2835, allocations: 141.8 kB / 493 MB, free: 53.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.2855, allocations: 1.867 MB / 494.8 MB, free: 52.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2855, allocations: 1.938 kB / 494.8 MB, free: 52.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.2858, allocations: 302.9 kB / 495.1 MB, free: 52.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.2864, allocations: 186.6 kB / 495.3 MB, free: 52.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/0.2929, allocations: 6.14 MB / 0.4897 GB, free: 49.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.2936, allocations: 1.054 MB / 0.4907 GB, free: 48.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001792/0.2954, allocations: 1.254 MB / 0.4919 GB, free: 48.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.2957, allocations: 144.5 kB / 0.4921 GB, free: 48.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.984e-06/0.2957, allocations: 3.719 kB / 0.4921 GB, free: 48.87 MB / 410.7 MB Notification: Performance of Templates: time 0.02495/0.3207, allocations: 11.87 MB / 0.5037 GB, free: 45.03 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.9838164909742773]