Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.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.001567/0.001567, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 14.72 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.002231/0.002231, allocations: 206.2 kB / 24.49 MB, free: 3.961 MB / 14.72 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.713/1.713, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2603/0.2603, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 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.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.606e-05/3.606e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001828/0.001864, allocations: 495.9 kB / 0.4977 GB, free: 6.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.004175, allocations: 1.113 MB / 0.4988 GB, free: 5.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.0042, allocations: 0 / 0.4988 GB, free: 5.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.004222, allocations: 0 / 0.4988 GB, free: 5.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.005e-06/0.00423, allocations: 0 / 0.4988 GB, free: 5.68 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Visualizers/Colors/colorMapToSvg.mo:2:1-205:18:writable] Warning: Pure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg' contains a call to impure function 'Modelica.Utilities.Files.remove'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:663:3-677:20:writable] Warning: Pure function 'ModelicaTest.Math.colorMapToSvg' contains a call to impure function 'Modelica.Mechanics.MultiBody.Visualizers.Colors.colorMapToSvg'. Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.006729, allocations: 0.737 MB / 0.4995 GB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.015e-05/0.006789, allocations: 8 kB / 0.4996 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.00683, allocations: 0 / 0.4996 GB, free: 4.938 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.006853, allocations: 11.98 kB / 0.4996 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.508e-05/0.006878, allocations: 3.938 kB / 0.4996 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.006886, allocations: 0 / 0.4996 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.01031, allocations: 2.47 MB / 0.502 GB, free: 2.453 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.225e-05/0.01034, allocations: 3.984 kB / 0.502 GB, free: 2.449 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.038e-06/0.01034, allocations: 3.906 kB / 0.502 GB, free: 2.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.01036, allocations: 4 kB / 0.502 GB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.37e-05/0.01042, allocations: 3.938 kB / 0.502 GB, free: 2.438 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0004279/0.01085, allocations: 197.6 kB / 0.5022 GB, free: 2.125 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.902e-05/0.01089, allocations: 20.03 kB / 0.5022 GB, free: 2.094 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 8.439e-05/0.01097, allocations: 44.38 kB / 0.5022 GB, free: 2.023 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.026e-05/0.01105, allocations: 64.73 kB / 0.5023 GB, free: 1.914 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.000111/0.01116, allocations: 84.59 kB / 0.5024 GB, free: 1.781 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.283e-05/0.01123, allocations: 64.69 kB / 0.5024 GB, free: 1.672 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.85e-05/0.01128, allocations: 40.41 kB / 0.5025 GB, free: 1.605 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001188/0.0114, allocations: 75.95 kB / 0.5026 GB, free: 1.48 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.578e-05/0.01143, allocations: 3.859 kB / 0.5026 GB, free: 1.477 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 9.476e-05/0.01152, allocations: 24.12 kB / 0.5026 GB, free: 1.445 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001503/0.01167, allocations: 20.11 kB / 0.5026 GB, free: 1.418 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.972e-05/0.01169, allocations: 16.12 kB / 0.5026 GB, free: 1.402 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001544/0.01185, allocations: 101.1 kB / 0.5027 GB, free: 1.234 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.595e-05/0.01187, allocations: 16.05 kB / 0.5027 GB, free: 1.215 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.295e-05/0.01189, allocations: 12.12 kB / 0.5027 GB, free: 1.195 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.704e-05/0.0119, allocations: 8 kB / 0.5028 GB, free: 1.188 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.392e-05/0.01198, allocations: 31.98 kB / 0.5028 GB, free: 1.148 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.746e-05/0.01199, allocations: 4 kB / 0.5028 GB, free: 1.145 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.9e-07/0.01199, allocations: 0 / 0.5028 GB, free: 1.145 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.158e-06/0.012, allocations: 4.188 kB / 0.5028 GB, free: 1.141 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 6.62e-07/0.012, allocations: 0 / 0.5028 GB, free: 1.141 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 5.861e-06/0.012, allocations: 0 / 0.5028 GB, free: 1.141 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.713e-05/0.01203, allocations: 11.98 kB / 0.5028 GB, free: 1.129 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 8.295e-06/0.01204, allocations: 0 / 0.5028 GB, free: 1.129 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {result} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.273e-05/0.01209, allocations: 26.34 kB / 0.5028 GB, free: 1.105 MB / 366.1 MB Notification: Performance of SimCode: time 0.002962/0.01506, allocations: 1.651 MB / 0.5044 GB, free: 15.47 MB / 382.1 MB Notification: Performance of Templates: time 0.006021/0.02108, allocations: 2.098 MB / 0.5065 GB, free: 13.37 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestColorMapToSvg.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.750819014851004] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.030135640874505043 0.35751580199999994 0.031912196000000004 Calling exit ...