Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.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.001668/0.001668, 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.002007/0.002007, allocations: 209.3 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.607/1.607, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2824/0.2824, allocations: 46.96 MB / 361.6 MB, free: 4.059 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.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.716e-05/3.716e-05, allocations: 4.953 kB / 0.4972 GB, free: 7.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001774/0.001811, allocations: 473.1 kB / 0.4977 GB, free: 6.879 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004193/0.006005, allocations: 2.292 MB / 0.4999 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.006033, allocations: 4 kB / 0.4999 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.006046, allocations: 0 / 0.4999 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.274e-06/0.006053, allocations: 0 / 0.4999 GB, free: 4.562 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function 'ModelicaTest.ComplexMath.ComplexFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.009386, allocations: 1.097 MB / 0.501 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.00944, allocations: 0 / 0.501 GB, free: 3.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.009484, allocations: 11.97 kB / 0.501 GB, free: 3.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.009506, allocations: 4 kB / 0.501 GB, free: 3.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.649e-05/0.009532, allocations: 3.938 kB / 0.501 GB, free: 3.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.009538, allocations: 0 / 0.501 GB, free: 3.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.01115, allocations: 0.999 MB / 0.502 GB, free: 2.445 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.643e-05/0.01119, allocations: 11.94 kB / 0.502 GB, free: 2.434 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.647e-06/0.01119, allocations: 3.906 kB / 0.502 GB, free: 2.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.692e-05/0.01121, allocations: 0 / 0.502 GB, free: 2.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-05/0.01122, allocations: 3.984 kB / 0.502 GB, free: 2.426 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.0007524/0.01197, allocations: 211.7 kB / 0.5022 GB, free: 2.098 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.135e-05/0.01203, allocations: 27.91 kB / 0.5023 GB, free: 2.059 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001224/0.01215, allocations: 58.33 kB / 0.5023 GB, free: 1.977 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.707e-05/0.01224, allocations: 60.69 kB / 0.5024 GB, free: 1.871 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001208/0.01236, allocations: 84.58 kB / 0.5024 GB, free: 1.738 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.673e-05/0.01243, allocations: 64.73 kB / 0.5025 GB, free: 1.629 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 6.689e-05/0.0125, allocations: 32.44 kB / 0.5025 GB, free: 1.57 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001205/0.01262, allocations: 76.86 kB / 0.5026 GB, free: 1.441 MB / 366.1 MB Notification: Performance of [SIM] Events: time 3.253e-05/0.01265, allocations: 8 kB / 0.5026 GB, free: 1.434 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.000105/0.01276, allocations: 24.11 kB / 0.5026 GB, free: 1.402 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001646/0.01292, allocations: 20.12 kB / 0.5027 GB, free: 1.375 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.608e-05/0.01296, allocations: 15.8 kB / 0.5027 GB, free: 1.359 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.000181/0.01314, allocations: 101.1 kB / 0.5028 GB, free: 1.191 MB / 366.1 MB Notification: Performance of [INI] Inline: time 5.293e-05/0.01319, allocations: 29.95 kB / 0.5028 GB, free: 1.156 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.727e-05/0.01321, allocations: 12.12 kB / 0.5028 GB, free: 1.137 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.96e-05/0.01324, allocations: 8 kB / 0.5028 GB, free: 1.129 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 7.93e-05/0.01332, allocations: 24.3 kB / 0.5028 GB, free: 1.098 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.204e-05/0.01333, allocations: 0 / 0.5028 GB, free: 1.098 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.01333, allocations: 0 / 0.5028 GB, free: 1.098 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.256e-05/0.01334, allocations: 8 kB / 0.5029 GB, free: 1.09 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 7.02e-07/0.01334, allocations: 0 / 0.5029 GB, free: 1.09 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 7.875e-06/0.01335, allocations: 3.938 kB / 0.5029 GB, free: 1.086 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.012e-05/0.01337, allocations: 4 kB / 0.5029 GB, free: 1.082 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 7.764e-06/0.01338, allocations: 0 / 0.5029 GB, free: 1.082 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.334e-05/0.01343, allocations: 26.28 kB / 0.5029 GB, free: 1.059 MB / 366.1 MB Notification: Performance of SimCode: time 0.002288/0.01572, allocations: 1.035 MB / 0.5039 GB, free: 16 kB / 366.1 MB Notification: Performance of Templates: time 0.009195/0.02492, allocations: 4.337 MB / 0.5081 GB, free: 11.68 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.846478043589741]