Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001121/0.001121, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001654/0.002775, 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.001171/0.001171, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001488/0.002659, 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09646/1.103, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2589/0.2589, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02466/0.2835, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 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.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 3.938 kB / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.119e-05, allocations: 2.312 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01147/0.01149, allocations: 9.816 MB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006858/0.01835, allocations: 3.169 MB / 305.6 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.01938, allocations: 79.62 kB / 305.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.02181, allocations: 2.694 MB / 308.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.02326, allocations: 1.123 MB / 309.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.02366, allocations: 275.4 kB / 309.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.02486, allocations: 1.54 MB / 311.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.02618, allocations: 1.955 MB / 313.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.02874, allocations: 3.221 MB / 316.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009319/0.02967, allocations: 0.9698 MB / 317.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.02992, allocations: 191.9 kB / 317.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.03031, allocations: 295.7 kB / 317.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.03173, allocations: 2.999 MB / 320.9 MB, free: 9.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009142/0.03264, allocations: 1.29 MB / 322.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.03766, allocations: 6.442 MB / 328.7 MB, free: 2.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.03767, allocations: 0 / 328.7 MB, free: 2.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.03767, allocations: 3.938 kB / 328.7 MB, free: 2.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003473/0.03802, allocations: 0 / 328.7 MB, free: 2.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.009381/0.0474, allocations: 10.35 MB / 339 MB, free: 7.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.04744, allocations: 12.03 kB / 339 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007925/0.04823, allocations: 0.5619 MB / 339.6 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005636/0.05386, allocations: 5.157 MB / 344.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.05393, allocations: 127.4 kB / 344.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.05407, allocations: 167.9 kB / 345 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.0569, allocations: 2.845 MB / 347.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.05693, allocations: 11.88 kB / 347.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.05701, allocations: 71.89 kB / 348 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009574/0.05797, allocations: 1.561 MB / 349.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.05959, allocations: 1.33 MB / 350.8 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.07502, allocations: 15.61 MB / 366.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.07585, allocations: 330 kB / 366.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.07588, allocations: 36.84 kB / 366.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.07869, allocations: 2.095 MB / 368.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.07873, allocations: 109.8 kB / 369 MB, free: 8.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.07873, allocations: 0 / 369 MB, free: 8.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003998/0.07913, allocations: 445 kB / 369.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.07918, allocations: 130.7 kB / 369.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004923/0.0841, allocations: 7.073 MB / 376.7 MB, free: 1.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.08411, allocations: 29.7 kB / 376.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.08593, allocations: 3.884 MB / 380.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.08599, allocations: 95.89 kB / 380.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/0.08647, allocations: 0.7944 MB / 381.5 MB, free: 12.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.08655, allocations: 313.1 kB / 381.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.08677, allocations: 276.2 kB / 382 MB, free: 11.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.08843, allocations: 3.538 MB / 385.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/0.09119, allocations: 4.48 MB / 390 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.901e-05/0.09123, allocations: 32 kB / 390.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.003583/0.09482, allocations: 3.304 MB / 393.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.09487, allocations: 59.94 kB / 393.4 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.414e-05/0.09493, allocations: 116 kB / 393.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.309e-05/0.09501, allocations: 152 kB / 393.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.09643, allocations: 1.089 MB / 394.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.982e-05/0.09653, allocations: 227.1 kB / 395 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.09853, allocations: 0.6089 MB / 395.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.09869, allocations: 256 kB / 395.9 MB, free: 10.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.001413/0.1001, allocations: 0.5779 MB / 396.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/0.1006, allocations: 0.5043 MB / 397 MB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/0.1013, allocations: 0.7683 MB / 397.7 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-05/0.1013, allocations: 180.2 kB / 397.9 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.63e-05/0.1014, allocations: 188.2 kB / 398.1 MB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/0.1014, allocations: 184.2 kB / 398.3 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.1035, allocations: 2.257 MB / 400.5 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/0.1035, allocations: 101 kB / 400.6 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.1036, allocations: 104.9 kB / 400.7 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006572/0.1042, allocations: 0.8232 MB / 401.5 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.801e-05/0.1043, allocations: 188.2 kB / 401.7 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.1043, allocations: 184.2 kB / 401.9 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-05/0.1044, allocations: 176.3 kB / 402.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.562e-05/0.1044, allocations: 196.2 kB / 402.3 MB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.1048, allocations: 0.7471 MB / 403 MB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.105, allocations: 180.3 kB / 403.2 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.1054, allocations: 101 kB / 403.3 MB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.1055, allocations: 184.1 kB / 403.5 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1055, allocations: 105 kB / 403.6 MB, free: 2.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002475/0.1079, allocations: 3.566 MB / 407.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1079, allocations: 0 / 407.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002566/0.1105, allocations: 1.149 MB / 408.3 MB, free: 14.14 MB / 410.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.0001148/0.1106, allocations: 151.7 kB / 408.4 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.1119, allocations: 1.444 MB / 409.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001359/0.1121, allocations: 156.3 kB / 410 MB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.1121, allocations: 7.938 kB / 410 MB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/0.1176, allocations: 3.756 MB / 413.8 MB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.1319, allocations: 13.81 MB / 427.6 MB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.1335, allocations: 2.139 MB / 429.7 MB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002458/0.136, allocations: 1.059 MB / 430.8 MB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002465/0.1385, allocations: 1.744 MB / 432.5 MB, free: 5.723 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1385, allocations: 0 / 432.5 MB, free: 5.723 MB / 426.7 MB Notification: Performance of Templates: time 0.3565/0.4949, allocations: 97.58 MB / 0.5177 GB, free: 31.51 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.888121318072081]