Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001395/0.001395, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001597/0.001597, allocations: 207.2 kB / 24.55 MB, free: 3.727 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.446/1.446, allocations: 230.7 MB / 258.4 MB, free: 7.766 MB / 206.1 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.2416/0.2416, allocations: 44.93 MB / 359.7 MB, free: 6.016 MB / 286.1 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.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.175e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001358/0.001379, allocations: 495 kB / 0.4948 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.003376, allocations: 1.116 MB / 0.4959 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.003396, allocations: 0 / 0.4959 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.062e-05/0.003406, allocations: 0 / 0.4959 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.003411, allocations: 0 / 0.4959 GB, free: 8.438 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.0.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.001954/0.005365, allocations: 0.7315 MB / 0.4966 GB, free: 7.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.311e-05/0.005409, allocations: 4 kB / 0.4966 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.809e-05/0.005437, allocations: 4 kB / 0.4966 GB, free: 7.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.46e-05/0.005451, allocations: 3.984 kB / 0.4966 GB, free: 7.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.715e-05/0.005468, allocations: 4 kB / 0.4966 GB, free: 7.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-06/0.005473, allocations: 0 / 0.4966 GB, free: 7.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.008426, allocations: 2.454 MB / 0.499 GB, free: 5.238 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.323e-05/0.00845, allocations: 3.984 kB / 0.499 GB, free: 5.234 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 7.464e-06/0.008457, allocations: 11.84 kB / 0.499 GB, free: 5.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.008472, allocations: 3.938 kB / 0.499 GB, free: 5.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.356e-05/0.008506, allocations: 3.938 kB / 0.499 GB, free: 5.215 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.000332/0.008838, allocations: 193.6 kB / 0.4992 GB, free: 4.906 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.222e-05/0.00887, allocations: 24.03 kB / 0.4992 GB, free: 4.871 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 5.967e-05/0.00893, allocations: 48.36 kB / 0.4993 GB, free: 4.797 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.408e-05/0.009004, allocations: 72.67 kB / 0.4993 GB, free: 4.68 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 8.443e-05/0.009088, allocations: 76.66 kB / 0.4994 GB, free: 4.555 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.261e-05/0.009151, allocations: 64.69 kB / 0.4995 GB, free: 4.445 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.684e-05/0.009188, allocations: 36.42 kB / 0.4995 GB, free: 4.383 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.123e-05/0.009279, allocations: 72.86 kB / 0.4996 GB, free: 4.258 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.735e-05/0.009296, allocations: 7.859 kB / 0.4996 GB, free: 4.25 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 6.581e-05/0.009362, allocations: 24.12 kB / 0.4996 GB, free: 4.219 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001048/0.009467, allocations: 24.11 kB / 0.4996 GB, free: 4.188 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.659e-05/0.009484, allocations: 15.92 kB / 0.4997 GB, free: 4.172 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001355/0.009619, allocations: 97.11 kB / 0.4997 GB, free: 4.008 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.284e-05/0.009642, allocations: 16.06 kB / 0.4998 GB, free: 3.988 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.248e-05/0.009654, allocations: 12.12 kB / 0.4998 GB, free: 3.969 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.187e-05/0.009666, allocations: 8 kB / 0.4998 GB, free: 3.961 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.448e-05/0.009731, allocations: 32.05 kB / 0.4998 GB, free: 3.922 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.145e-06/0.009739, allocations: 384 / 0.4998 GB, free: 3.922 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.1e-07/0.009739, allocations: 4 kB / 0.4998 GB, free: 3.918 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.771e-05/0.009767, allocations: 12.12 kB / 0.4998 GB, free: 3.898 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.368e-06/0.009771, allocations: 4 kB / 0.4998 GB, free: 3.895 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.22e-07/0.009772, allocations: 0 / 0.4998 GB, free: 3.895 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 4.118e-06/0.009776, allocations: 0 / 0.4998 GB, free: 3.895 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.795e-05/0.009794, allocations: 7.984 kB / 0.4998 GB, free: 3.887 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001237/0.009918, allocations: 166.1 kB / 0.5 GB, free: 3.691 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 3.805e-05/0.009956, allocations: 39.75 kB / 0.5 GB, free: 3.66 MB / 366.1 MB Error: Internal error NSimStrongComponent.Block.createEquation failed with status Solve.EXPLICIT for [DUMY] (0) Dummy equation. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7236885509919375] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.018501757993362844 0.032004075 0.020660383 Calling exit ...