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.001134/0.001134, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00174/0.002874, allocations: 449.8 kB / 10.44 MB, free: 252 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.001076/0.001076, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001258/0.002334, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.04/1.04, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1288/1.169, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.3591/0.3591, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04108/0.4002, allocations: 13.11 MB / 291.5 MB, free: 7.324 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.062e-06/1.062e-06, allocations: 3.938 kB / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.223e-05, allocations: 4.312 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.00797/0.007993, allocations: 9.829 MB / 302.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005279/0.01327, allocations: 3.157 MB / 305.8 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006976/0.01397, allocations: 83.56 kB / 305.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.01643, allocations: 2.698 MB / 308.6 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.01783, allocations: 1.119 MB / 309.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.01819, allocations: 283.4 kB / 310 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.0193, allocations: 1.542 MB / 311.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.02053, allocations: 1.935 MB / 313.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.02302, allocations: 3.225 MB / 316.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007533/0.02378, allocations: 0.9698 MB / 317.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.02398, allocations: 188 kB / 317.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.02438, allocations: 291.7 kB / 318.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.0258, allocations: 3.003 MB / 321.1 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.02698, allocations: 1.29 MB / 322.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004705/0.03169, allocations: 6.438 MB / 328.9 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.857e-05/0.03171, allocations: 0 / 328.9 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.706e-06/0.03171, allocations: 0 / 328.9 MB, free: 1.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004728/0.03218, allocations: 0 / 328.9 MB, free: 1.98 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.01249/0.04467, allocations: 10.36 MB / 339.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.04471, allocations: 8.031 kB / 339.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009829/0.0457, allocations: 0.558 MB / 339.8 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007598/0.05329, allocations: 5.165 MB / 345 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.625e-05/0.05338, allocations: 127.4 kB / 345.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.05361, allocations: 163.9 kB / 345.2 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/0.0583, allocations: 2.837 MB / 348.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.05834, allocations: 7.938 kB / 348.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.05845, allocations: 79.88 kB / 348.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001359/0.05981, allocations: 1.432 MB / 349.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/0.06294, allocations: 1.334 MB / 350.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.08434, allocations: 15.61 MB / 366.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.08535, allocations: 342.1 kB / 366.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.334e-05/0.0854, allocations: 28.84 kB / 366.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003805/0.08921, allocations: 2.095 MB / 369 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.08925, allocations: 109.8 kB / 369.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.995e-06/0.08926, allocations: 0 / 369.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0007281/0.08999, allocations: 453 kB / 369.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.09004, allocations: 126.7 kB / 369.7 MB, free: 8.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009759/0.0998, allocations: 7.077 MB / 376.7 MB, free: 1.359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.09981, allocations: 29.64 kB / 376.8 MB, free: 1.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002794/0.1026, allocations: 3.888 MB / 380.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.1027, allocations: 91.91 kB / 380.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005967/0.1033, allocations: 0.7983 MB / 381.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.1034, allocations: 301.1 kB / 381.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.1037, allocations: 280.2 kB / 382.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.1058, allocations: 3.542 MB / 385.7 MB, free: 6.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004014/0.1098, allocations: 4.847 MB / 390.5 MB, free: 196 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.996e-05/0.1099, allocations: 40 kB / 390.5 MB, free: 156 kB / 378.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.004856/0.1147, allocations: 3.301 MB / 393.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/0.1148, allocations: 59.94 kB / 393.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.1149, allocations: 120 kB / 394 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.115, allocations: 152 kB / 394.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.1167, allocations: 1.08 MB / 395.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000155/0.1169, allocations: 227.1 kB / 395.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.1196, allocations: 0.6127 MB / 396.1 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.1198, allocations: 248 kB / 396.3 MB, free: 10.36 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.001757/0.1215, allocations: 0.5779 MB / 396.9 MB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007139/0.1222, allocations: 0.5043 MB / 397.4 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.1233, allocations: 0.7721 MB / 398.2 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.592e-05/0.1233, allocations: 180.3 kB / 398.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.423e-05/0.1234, allocations: 188.2 kB / 398.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.673e-05/0.1234, allocations: 184.2 kB / 398.7 MB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.1264, allocations: 2.261 MB / 401 MB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.143e-05/0.1265, allocations: 108.9 kB / 401.1 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1265, allocations: 105 kB / 401.2 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.1276, allocations: 0.8271 MB / 402 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-05/0.1277, allocations: 176.3 kB / 402.2 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.1278, allocations: 180.2 kB / 402.4 MB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.18e-05/0.1278, allocations: 188.2 kB / 402.5 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.772e-05/0.1279, allocations: 180.2 kB / 402.7 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.1286, allocations: 0.751 MB / 403.5 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/0.1291, allocations: 180.3 kB / 403.6 MB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.1295, allocations: 104.9 kB / 403.8 MB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.1296, allocations: 184.5 kB / 403.9 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.1296, allocations: 104.9 kB / 404 MB, free: 2.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003849/0.1334, allocations: 3.57 MB / 407.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1334, allocations: 0 / 407.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003624/0.1371, allocations: 1.137 MB / 408.7 MB, free: 13.8 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.000235/0.1373, allocations: 159.7 kB / 408.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.1394, allocations: 1.534 MB / 410.4 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001956/0.1396, allocations: 156.2 kB / 410.6 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.237e-06/0.1396, allocations: 3.984 kB / 410.6 MB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1709/0.3105, allocations: 24.44 MB / 435 MB, free: 112.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.3294, allocations: 13.78 MB / 448.8 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/0.3323, allocations: 2.148 MB / 451 MB, free: 106.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003012/0.3353, allocations: 1.054 MB / 452 MB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003147/0.3385, allocations: 1.751 MB / 453.8 MB, free: 106.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.424e-06/0.3385, allocations: 0 / 453.8 MB, free: 106.3 MB / 426.7 MB Notification: Performance of Templates: time 0.1306/0.4691, allocations: 95.58 MB / 0.5365 GB, free: 15.44 MB / 426.7 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.079140014946461]