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.001921/0.001921, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002014/0.002014, allocations: 161.3 kB / 24.27 MB, free: 148 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 1.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3402/0.3402, allocations: 32.81 MB / 293.9 MB, free: 1.195 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.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 1.262e-06/1.262e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.541e-05, allocations: 6.312 kB / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01336/0.01339, allocations: 9.898 MB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00725/0.02064, allocations: 3.02 MB / 388.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.02185, allocations: 79.62 kB / 388.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005862/0.02771, allocations: 2.866 MB / 391.1 MB, free: 5.066 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.03058, allocations: 1.143 MB / 392.3 MB, free: 3.918 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006911/0.03127, allocations: 303.3 kB / 392.6 MB, free: 3.621 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.03331, allocations: 1.552 MB / 394.1 MB, free: 2.066 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.03596, allocations: 1.957 MB / 396.1 MB, free: 72 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.03773, allocations: 1.309 MB / 397.4 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004993/0.04273, allocations: 3.261 MB / 400.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004773/0.0432, allocations: 188 kB / 400.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007643/0.04397, allocations: 295.7 kB / 401.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003203/0.04717, allocations: 3.112 MB / 404.2 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.04918, allocations: 1.462 MB / 405.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.0606, allocations: 9.273 MB / 415 MB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.394e-05/0.06062, allocations: 8 kB / 415 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.06062, allocations: 0 / 415 MB, free: 13.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002958/0.06091, allocations: 0 / 415 MB, free: 13.11 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.01896/0.07988, allocations: 10.38 MB / 425.3 MB, free: 2.637 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.07992, allocations: 8.031 kB / 425.3 MB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.08174, allocations: 1.16 MB / 426.5 MB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007081/0.08883, allocations: 3.461 MB / 430 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.08896, allocations: 131.3 kB / 430.1 MB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/0.08924, allocations: 160 kB / 430.2 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006909/0.09615, allocations: 3.344 MB / 433.6 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.58e-05/0.0962, allocations: 7.938 kB / 433.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.09636, allocations: 75.95 kB / 433.7 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.09838, allocations: 1.561 MB / 435.2 MB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004933/0.1033, allocations: 1.409 MB / 436.6 MB, free: 7.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3177/0.421, allocations: 24.88 MB / 461.5 MB, free: 81 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.4225, allocations: 353.5 kB / 461.9 MB, free: 80.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.4225, allocations: 45.41 kB / 461.9 MB, free: 80.93 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005219/0.4278, allocations: 1.874 MB / 463.8 MB, free: 79.96 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.4278, allocations: 155.7 kB / 463.9 MB, free: 79.8 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.4278, allocations: 7.391 kB / 463.9 MB, free: 79.8 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.001042/0.4288, allocations: 0.8717 MB / 464.8 MB, free: 79.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.4289, allocations: 177.1 kB / 465 MB, free: 79.09 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01499/0.4439, allocations: 10.98 MB / 476 MB, free: 74.9 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.4439, allocations: 25.7 kB / 476 MB, free: 74.87 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005952/0.4498, allocations: 6.985 MB / 483 MB, free: 70.05 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.45, allocations: 97.67 kB / 483.1 MB, free: 70.01 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.4511, allocations: 0.9542 MB / 484 MB, free: 69.48 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.4512, allocations: 477.8 kB / 484.5 MB, free: 69.01 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/0.4518, allocations: 336.7 kB / 484.8 MB, free: 68.96 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.4544, allocations: 5.19 MB / 490 MB, free: 62.25 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/0.4587, allocations: 6.073 MB / 496.1 MB, free: 54.86 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/0.4588, allocations: 33.84 kB / 496.1 MB, free: 54.86 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008076/0.4669, allocations: 4.343 MB / 0.4887 GB, free: 52.98 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/0.4669, allocations: 54.28 kB / 0.4888 GB, free: 52.98 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/0.4671, allocations: 118.5 kB / 0.4889 GB, free: 52.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001408/0.4672, allocations: 151.3 kB / 0.4891 GB, free: 52.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/0.4693, allocations: 0.9819 MB / 0.49 GB, free: 52.85 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001364/0.4695, allocations: 225.8 kB / 0.4902 GB, free: 52.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/0.4736, allocations: 0.6157 MB / 0.4908 GB, free: 52.55 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/0.4739, allocations: 284.7 kB / 0.4911 GB, free: 52.52 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.002492/0.4764, allocations: 0.7113 MB / 0.4918 GB, free: 52 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/0.4775, allocations: 0.995 MB / 0.4928 GB, free: 51.36 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.4788, allocations: 0.8117 MB / 0.4936 GB, free: 50.93 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.729e-05/0.4788, allocations: 278.8 kB / 0.4938 GB, free: 50.66 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.434e-05/0.4788, allocations: 264.1 kB / 0.4941 GB, free: 50.39 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/0.4789, allocations: 271.4 kB / 0.4943 GB, free: 50.12 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008616/0.4875, allocations: 6.67 MB / 0.5008 GB, free: 44.61 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.4875, allocations: 163.2 kB / 0.501 GB, free: 44.45 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.4875, allocations: 152.8 kB / 0.5011 GB, free: 44.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.66e-05/0.4876, allocations: 264.2 kB / 0.5014 GB, free: 44.03 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.4876, allocations: 276 kB / 0.5017 GB, free: 43.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.859e-05/0.4877, allocations: 264.1 kB / 0.5019 GB, free: 43.49 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-05/0.4877, allocations: 271.5 kB / 0.5022 GB, free: 43.22 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.4889, allocations: 1.356 MB / 0.5035 GB, free: 41.83 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/0.4904, allocations: 0.9003 MB / 0.5044 GB, free: 40.94 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004922/0.4909, allocations: 271.9 kB / 0.5046 GB, free: 40.67 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.4917, allocations: 155.9 kB / 0.5048 GB, free: 40.52 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.4917, allocations: 264.1 kB / 0.505 GB, free: 40.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4917, allocations: 144.9 kB / 0.5052 GB, free: 40.1 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.007004/0.4987, allocations: 5.176 MB / 0.5102 GB, free: 35.82 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4987, allocations: 0 / 0.5102 GB, free: 35.82 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004397/0.5031, allocations: 1.142 MB / 0.5113 GB, free: 34.8 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.0001815/0.5033, allocations: 225.8 kB / 0.5116 GB, free: 34.57 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00276/0.5061, allocations: 1.665 MB / 0.5132 GB, free: 33.09 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5061, allocations: 0 / 0.5132 GB, free: 33.09 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.5061, allocations: 3.938 kB / 0.5132 GB, free: 33.09 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01359/0.5197, allocations: 3.689 MB / 0.5168 GB, free: 30.08 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/0.5381, allocations: 13.43 MB / 0.5299 GB, free: 17.42 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004622/0.5427, allocations: 4.435 MB / 0.5342 GB, free: 13.98 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.005028/0.5477, allocations: 1.749 MB / 0.536 GB, free: 12.22 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/0.5484, allocations: 404.5 kB / 0.5363 GB, free: 11.83 MB / 410.8 MB Notification: Performance of SimCode: time 1.873e-06/0.5484, allocations: 0 / 0.5363 GB, free: 11.83 MB / 410.8 MB Notification: Performance of Templates: time 0.3215/0.8699, allocations: 83.22 MB / 0.6176 GB, free: 138.1 MB / 474.8 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.1856196699664]