Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.001239/0.001239, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001737/0.002976, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001077/0.001077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002549, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.098/1.098, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.145/1.243, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.4035/0.4035, allocations: 32.81 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03858/0.4421, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.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.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.976e-05, allocations: 3.297 kB / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008697/0.008727, allocations: 9.824 MB / 300.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00574/0.01447, allocations: 3.16 MB / 303.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007508/0.01522, allocations: 75.69 kB / 303.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002669/0.01789, allocations: 2.702 MB / 306.4 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.01956, allocations: 1.119 MB / 307.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.02001, allocations: 279.4 kB / 307.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.02164, allocations: 1.544 MB / 309.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.02352, allocations: 1.942 MB / 311.2 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.02656, allocations: 3.225 MB / 314.5 MB, free: 316 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009617/0.02752, allocations: 0.9738 MB / 315.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.02774, allocations: 184 kB / 315.6 MB, free: 15.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.02825, allocations: 295.6 kB / 315.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.02989, allocations: 3.003 MB / 318.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.03092, allocations: 1.294 MB / 320.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.03521, allocations: 6.438 MB / 326.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.17e-05/0.03524, allocations: 0 / 326.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.03524, allocations: 0 / 326.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001703/0.03541, allocations: 4 kB / 326.6 MB, free: 4.082 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: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.009407/0.04482, allocations: 10.36 MB / 337 MB, free: 9.633 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.04486, allocations: 8.031 kB / 337 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/0.04571, allocations: 0.558 MB / 337.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007523/0.05323, allocations: 5.157 MB / 342.7 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.05336, allocations: 131.3 kB / 342.9 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003452/0.0537, allocations: 167.9 kB / 343 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/0.05784, allocations: 2.841 MB / 345.9 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.05788, allocations: 11.88 kB / 345.9 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.058, allocations: 75.88 kB / 345.9 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001269/0.05927, allocations: 1.565 MB / 347.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002865/0.06213, allocations: 1.326 MB / 348.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/0.08507, allocations: 15.61 MB / 364.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.08611, allocations: 326.1 kB / 364.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.147e-05/0.08617, allocations: 36.83 kB / 364.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004986/0.09116, allocations: 2.095 MB / 366.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.09121, allocations: 113.8 kB / 367 MB, free: 10.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 4.358e-06/0.09122, allocations: 4 kB / 367 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0009813/0.0922, allocations: 445.1 kB / 367.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.09228, allocations: 126.7 kB / 367.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007164/0.09944, allocations: 7.081 MB / 374.6 MB, free: 3.336 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.09946, allocations: 25.7 kB / 374.7 MB, free: 3.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002297/0.1018, allocations: 3.884 MB / 378.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.1018, allocations: 91.89 kB / 378.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005938/0.1024, allocations: 0.7983 MB / 379.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1025, allocations: 301.1 kB / 379.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.1028, allocations: 276.2 kB / 380 MB, free: 13.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.105, allocations: 3.546 MB / 383.6 MB, free: 8.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/0.1093, allocations: 4.477 MB / 388 MB, free: 2.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.299e-05/0.1094, allocations: 32 kB / 388.1 MB, free: 2.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006044/0.1154, allocations: 3.305 MB / 391.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.11e-05/0.1155, allocations: 59.94 kB / 391.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.1156, allocations: 120 kB / 391.5 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/0.1157, allocations: 152 kB / 391.7 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.1174, allocations: 1.088 MB / 392.8 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001296/0.1176, allocations: 227.1 kB / 393 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003546/0.1211, allocations: 0.6091 MB / 393.6 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.1213, allocations: 252 kB / 393.9 MB, free: 12.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.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 (537): * Single equations (assignments): 537 * Array equations: 0 * 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.0024/0.1237, allocations: 0.574 MB / 394.4 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/0.1248, allocations: 0.5082 MB / 394.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.1262, allocations: 0.7683 MB / 395.7 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/0.1262, allocations: 188.2 kB / 395.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.833e-05/0.1263, allocations: 184.2 kB / 396.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.955e-05/0.1263, allocations: 176.3 kB / 396.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/0.1303, allocations: 2.261 MB / 398.5 MB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.1303, allocations: 105 kB / 398.6 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.1304, allocations: 112.9 kB / 398.7 MB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.1317, allocations: 0.8154 MB / 399.5 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.405e-05/0.1317, allocations: 180.3 kB / 399.7 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.1318, allocations: 184.1 kB / 399.9 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.135e-05/0.1319, allocations: 184.2 kB / 400.1 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.664e-05/0.1319, allocations: 184.2 kB / 400.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.1325, allocations: 0.7471 MB / 401 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/0.1329, allocations: 180.2 kB / 401.2 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.1334, allocations: 101 kB / 401.3 MB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.1334, allocations: 188.1 kB / 401.5 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.1335, allocations: 105 kB / 401.6 MB, free: 4.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003733/0.1372, allocations: 3.57 MB / 405.1 MB, free: 1.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1372, allocations: 0 / 405.1 MB, free: 1.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004058/0.1413, allocations: 1.141 MB / 406.3 MB, free: 160 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002641/0.1415, allocations: 159.8 kB / 406.4 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.1438, allocations: 1.436 MB / 407.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002177/0.1441, allocations: 164.1 kB / 408 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.206e-06/0.1441, allocations: 3.984 kB / 408 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009703/0.1538, allocations: 3.765 MB / 411.8 MB, free: 10.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/0.181, allocations: 13.79 MB / 425.6 MB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01214/0.1931, allocations: 2.139 MB / 427.7 MB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01225/0.2054, allocations: 1.055 MB / 428.8 MB, free: 9.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01258/0.218, allocations: 1.752 MB / 430.5 MB, free: 7.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.074e-06/0.218, allocations: 4 kB / 430.5 MB, free: 7.727 MB / 426.7 MB Notification: Performance of Templates: time 0.3647/0.5827, allocations: 97.57 MB / 0.5157 GB, free: 46.4 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.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: 6.1122388150542974]