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.001694/0.001694, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001738/0.001738, allocations: 211 kB / 24.55 MB, free: 3.824 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.2341/0.2341, allocations: 46.96 MB / 361.7 MB, free: 4.074 MB / 286.1 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.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 2.248e-05/2.248e-05, allocations: 6.219 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestColorMapToSvg): time 0.001487/0.00151, allocations: 0.4918 MB / 0.4979 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.003658, allocations: 1.109 MB / 0.4989 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.003679, allocations: 0 / 0.4989 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.003692, allocations: 0 / 0.4989 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.003699, allocations: 0 / 0.4989 GB, free: 5.633 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.002055/0.005754, allocations: 0.7329 MB / 0.4997 GB, free: 4.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.005809, allocations: 4 kB / 0.4997 GB, free: 4.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.005864, allocations: 4 kB / 0.4997 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.00588, allocations: 3.938 kB / 0.4997 GB, free: 4.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.608e-05/0.005896, allocations: 0 / 0.4997 GB, free: 4.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.521e-06/0.005901, allocations: 4 kB / 0.4997 GB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.008936, allocations: 2.451 MB / 0.5021 GB, free: 2.434 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.692e-05/0.008963, allocations: 4 kB / 0.5021 GB, free: 2.43 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.366e-06/0.008966, allocations: 7.906 kB / 0.5021 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.00898, allocations: 0 / 0.5021 GB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.69e-05/0.009017, allocations: 0 / 0.5021 GB, free: 2.422 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.0003676/0.009385, allocations: 209.5 kB / 0.5023 GB, free: 2.098 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.625e-05/0.009421, allocations: 16.05 kB / 0.5023 GB, free: 2.07 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 6.543e-05/0.009486, allocations: 48.38 kB / 0.5023 GB, free: 1.996 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.333e-05/0.00956, allocations: 56.73 kB / 0.5024 GB, free: 1.895 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 9.22e-05/0.009652, allocations: 88.59 kB / 0.5025 GB, free: 1.758 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.472e-05/0.009716, allocations: 64.73 kB / 0.5025 GB, free: 1.648 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 3.993e-05/0.009756, allocations: 44.36 kB / 0.5026 GB, free: 1.578 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 9.73e-05/0.009854, allocations: 74.83 kB / 0.5027 GB, free: 1.453 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.682e-05/0.009871, allocations: 4 kB / 0.5027 GB, free: 1.449 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.764e-05/0.009948, allocations: 36.05 kB / 0.5027 GB, free: 1.406 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001207/0.01007, allocations: 12.12 kB / 0.5027 GB, free: 1.387 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.723e-05/0.01009, allocations: 12 kB / 0.5027 GB, free: 1.375 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001414/0.01023, allocations: 105.2 kB / 0.5028 GB, free: 1.203 MB / 366.1 MB Notification: Performance of [INI] Inline: time 2.957e-05/0.01026, allocations: 28.03 kB / 0.5028 GB, free: 1.172 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.006e-05/0.01027, allocations: 8.125 kB / 0.5029 GB, free: 1.156 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.282e-05/0.01028, allocations: 8 kB / 0.5029 GB, free: 1.148 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.893e-05/0.01035, allocations: 32.03 kB / 0.5029 GB, free: 1.109 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.302e-05/0.01036, allocations: 0 / 0.5029 GB, free: 1.109 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.01036, allocations: 0 / 0.5029 GB, free: 1.109 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.814e-05/0.01039, allocations: 12.12 kB / 0.5029 GB, free: 1.09 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.962e-06/0.0104, allocations: 4.188 kB / 0.5029 GB, free: 1.086 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.42e-07/0.0104, allocations: 4 kB / 0.5029 GB, free: 1.082 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.652e-06/0.0104, allocations: 4 kB / 0.5029 GB, free: 1.078 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.538e-05/0.01042, allocations: 0 / 0.5029 GB, free: 1.078 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001361/0.01056, allocations: 174 kB / 0.5031 GB, free: 0.875 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.356e-05/0.01059, allocations: 22.88 kB / 0.5031 GB, free: 0.8555 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.804186978028156] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.019832857011351734 0.033586693 0.021624010000000003 Calling exit ...