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.001087/0.001087, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001193/0.001193, allocations: 167 kB / 24.82 MB, free: 9.27 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.101/1.101, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.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.3262/0.3262, allocations: 34.27 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.47e-05, allocations: 6.25 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.007816/0.007841, allocations: 9.7 MB / 388.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005592/0.01343, allocations: 2.997 MB / 391.2 MB, free: 5.629 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.01455, allocations: 79.62 kB / 391.3 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003156/0.0177, allocations: 2.835 MB / 394.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003899/0.0216, allocations: 1.154 MB / 395.2 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009032/0.02251, allocations: 303.3 kB / 395.5 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00353/0.02604, allocations: 1.548 MB / 397.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.02884, allocations: 1.965 MB / 399.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005239/0.03407, allocations: 3.647 MB / 402.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.0361, allocations: 1.017 MB / 403.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006091/0.03671, allocations: 192 kB / 403.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007036/0.03741, allocations: 291.8 kB / 404.2 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001851/0.03926, allocations: 3.116 MB / 407.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.0412, allocations: 1.462 MB / 408.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.04638, allocations: 6.539 MB / 415.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.04639, allocations: 0 / 415.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.04639, allocations: 0 / 415.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001597/0.04655, allocations: 0 / 415.3 MB, free: 13.38 MB / 394.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.01035/0.0569, allocations: 9.863 MB / 425.2 MB, free: 3.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.753e-05/0.05697, allocations: 12.03 kB / 425.2 MB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.05893, allocations: 1.16 MB / 426.3 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.06911, allocations: 5.947 MB / 432.3 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.06923, allocations: 131.3 kB / 432.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.06951, allocations: 163.9 kB / 432.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005094/0.0746, allocations: 2.859 MB / 435.4 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.07464, allocations: 7.938 kB / 435.4 MB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.07477, allocations: 75.89 kB / 435.5 MB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.07626, allocations: 1.569 MB / 437.1 MB, free: 7.133 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/0.07959, allocations: 1.171 MB / 438.3 MB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4381/0.5177, allocations: 20.57 MB / 458.8 MB, free: 80.78 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.5188, allocations: 348 kB / 459.2 MB, free: 80.73 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.5189, allocations: 48.14 kB / 459.2 MB, free: 80.71 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004759/0.5236, allocations: 1.777 MB / 461 MB, free: 79.76 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/0.5237, allocations: 159.6 kB / 461.2 MB, free: 79.6 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 4.318e-06/0.5237, allocations: 0 / 461.2 MB, free: 79.6 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.001252/0.525, allocations: 0.8696 MB / 462 MB, free: 79.07 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.525, allocations: 174.5 kB / 462.2 MB, free: 78.89 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/0.5359, allocations: 8.81 MB / 471 MB, free: 75.6 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.5359, allocations: 28.86 kB / 471 MB, free: 75.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004361/0.5403, allocations: 6.477 MB / 477.5 MB, free: 70.92 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.5405, allocations: 88.08 kB / 477.6 MB, free: 70.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007097/0.5412, allocations: 0.8814 MB / 478.5 MB, free: 70.38 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5413, allocations: 480.8 kB / 478.9 MB, free: 69.91 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.5416, allocations: 269.3 kB / 479.2 MB, free: 69.89 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.544, allocations: 5.063 MB / 484.3 MB, free: 63.29 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004212/0.5482, allocations: 5.95 MB / 490.2 MB, free: 56.06 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-05/0.5483, allocations: 33.59 kB / 490.3 MB, free: 56.06 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008246/0.5565, allocations: 4.127 MB / 494.4 MB, free: 54.29 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.5566, allocations: 55.91 kB / 494.4 MB, free: 54.29 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/0.5568, allocations: 117.7 kB / 494.6 MB, free: 54.29 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.5571, allocations: 151.6 kB / 494.7 MB, free: 54.29 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.5593, allocations: 0.9873 MB / 495.7 MB, free: 54.15 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000249/0.5596, allocations: 231.9 kB / 495.9 MB, free: 54.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005453/0.565, allocations: 0.6119 MB / 496.5 MB, free: 53.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000431/0.5655, allocations: 254.7 kB / 496.8 MB, free: 53.81 MB / 410.8 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.002944/0.5684, allocations: 0.6621 MB / 497.4 MB, free: 53.32 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002009/0.5704, allocations: 0.9898 MB / 498.4 MB, free: 52.68 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.5726, allocations: 0.8122 MB / 499.2 MB, free: 52.26 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.5726, allocations: 270 kB / 499.5 MB, free: 51.99 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.907e-05/0.5727, allocations: 272 kB / 499.8 MB, free: 51.71 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-05/0.5727, allocations: 272.9 kB / 0.4883 GB, free: 51.45 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007264/0.58, allocations: 3.143 MB / 0.4914 GB, free: 49.93 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/0.58, allocations: 146.3 kB / 0.4915 GB, free: 49.78 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.678e-05/0.58, allocations: 152.9 kB / 0.4917 GB, free: 49.63 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.102e-05/0.5801, allocations: 269.1 kB / 0.4919 GB, free: 49.36 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.5801, allocations: 271.6 kB / 0.4922 GB, free: 49.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.483e-05/0.5802, allocations: 272.5 kB / 0.4924 GB, free: 48.82 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.487e-05/0.5802, allocations: 268.1 kB / 0.4927 GB, free: 48.55 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.5823, allocations: 1.36 MB / 0.494 GB, free: 47.53 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/0.5842, allocations: 0.8819 MB / 0.4949 GB, free: 46.85 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004696/0.5847, allocations: 264.1 kB / 0.4951 GB, free: 46.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.5851, allocations: 148.8 kB / 0.4953 GB, free: 46.44 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.5852, allocations: 268 kB / 0.4955 GB, free: 46.17 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.5852, allocations: 148.1 kB / 0.4957 GB, free: 46.02 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006467/0.5917, allocations: 4.141 MB / 0.4997 GB, free: 44.82 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5917, allocations: 0 / 0.4997 GB, free: 44.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00526/0.5969, allocations: 1.146 MB / 0.5008 GB, free: 44.6 MB / 410.8 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.0002068/0.5971, allocations: 216.3 kB / 0.5011 GB, free: 44.39 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.5999, allocations: 1.511 MB / 0.5025 GB, free: 43.84 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5999, allocations: 448 / 0.5025 GB, free: 43.84 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.043e-06/0.6, allocations: 7.938 kB / 0.5025 GB, free: 43.83 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/0.6107, allocations: 3.675 MB / 0.5061 GB, free: 41.79 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/0.6356, allocations: 13.53 MB / 0.5193 GB, free: 29.04 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004285/0.6399, allocations: 2.145 MB / 0.5214 GB, free: 27.57 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004496/0.6444, allocations: 1.059 MB / 0.5225 GB, free: 26.76 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003579/0.648, allocations: 1.984 MB / 0.5244 GB, free: 25.16 MB / 410.8 MB Notification: Performance of SimCode: time 2.495e-06/0.648, allocations: 0 / 0.5244 GB, free: 25.16 MB / 410.8 MB Notification: Performance of Templates: time 0.3319/0.9799, allocations: 90.81 MB / 0.6131 GB, free: 143.9 MB / 474.8 MB " [Timeout remaining time 659] 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 -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: 6.007292472757399]