Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 218.3 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 230.5 MB / 258.2 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.94 MB / 361.6 MB, free: 3.875 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") translateModel(ModelicaTest.Math.TestColorMapToSvg,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestColorMapToSvg") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.134e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001599/0.00162, allocations: 491.4 kB / 0.4979 GB, free: 6.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.003865, allocations: 1.124 MB / 0.499 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.003888, allocations: 0 / 0.499 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.003902, allocations: 0 / 0.499 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.00391, allocations: 0 / 0.499 GB, free: 5.461 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.002504/0.006413, allocations: 0.7262 MB / 0.4997 GB, free: 4.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.00648, allocations: 8 kB / 0.4997 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.006522, allocations: 3.984 kB / 0.4997 GB, free: 4.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.006539, allocations: 3.938 kB / 0.4997 GB, free: 4.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.487e-05/0.006564, allocations: 4 kB / 0.4997 GB, free: 4.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-06/0.00657, allocations: 7.938 kB / 0.4997 GB, free: 4.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003521/0.01009, allocations: 2.463 MB / 0.5021 GB, free: 2.25 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.338e-05/0.01011, allocations: 0 / 0.5021 GB, free: 2.25 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.427e-06/0.01012, allocations: 3.906 kB / 0.5021 GB, free: 2.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.01013, allocations: 4 kB / 0.5021 GB, free: 2.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.501e-05/0.0102, allocations: 0 / 0.5021 GB, free: 2.242 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.000581/0.01078, allocations: 197.7 kB / 0.5023 GB, free: 1.93 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.511e-05/0.01082, allocations: 28.03 kB / 0.5023 GB, free: 1.891 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 7.31e-05/0.0109, allocations: 44.38 kB / 0.5024 GB, free: 1.82 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.677e-05/0.01098, allocations: 60.73 kB / 0.5024 GB, free: 1.715 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.585e-05/0.01108, allocations: 84.59 kB / 0.5025 GB, free: 1.582 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.552e-05/0.01116, allocations: 60.75 kB / 0.5026 GB, free: 1.477 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.108e-05/0.0112, allocations: 40.41 kB / 0.5026 GB, free: 1.41 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001648/0.01136, allocations: 79.67 kB / 0.5027 GB, free: 1.281 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.965e-05/0.01138, allocations: 7.938 kB / 0.5027 GB, free: 1.273 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 8.291e-05/0.01146, allocations: 24.12 kB / 0.5027 GB, free: 1.242 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.000138/0.0116, allocations: 28.05 kB / 0.5027 GB, free: 1.207 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.323e-05/0.01162, allocations: 4.188 kB / 0.5027 GB, free: 1.203 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001565/0.01177, allocations: 101.1 kB / 0.5028 GB, free: 1.035 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.86e-05/0.0118, allocations: 27.98 kB / 0.5029 GB, free: 1.004 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.557e-05/0.01182, allocations: 12.12 kB / 0.5029 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.211e-05/0.01183, allocations: 4 kB / 0.5029 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.187e-05/0.0119, allocations: 28.11 kB / 0.5029 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.352e-05/0.01191, allocations: 0 / 0.5029 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.7e-07/0.01191, allocations: 0 / 0.5029 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.537e-05/0.01195, allocations: 16.23 kB / 0.5029 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.195e-05/0.01196, allocations: 12 kB / 0.5029 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.91e-07/0.01196, allocations: 0 / 0.5029 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.612e-06/0.01197, allocations: 0 / 0.5029 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.156e-05/0.01199, allocations: 4 kB / 0.5029 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001563/0.01215, allocations: 166 kB / 0.5031 GB, free: 0.7109 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 4.23e-05/0.01219, allocations: 23.88 kB / 0.5031 GB, free: 0.6914 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.8709642190369777] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.022198679042048752 0.036954839 0.023716625 Calling exit ...