Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.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.001731/0.001731, 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.002412/0.002412, allocations: 211.5 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.746/1.746, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.255/0.255, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.672e-05, allocations: 2.281 kB / 0.4972 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.002063/0.00209, allocations: 473.1 kB / 0.4977 GB, free: 6.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.007453, allocations: 2.284 MB / 0.4999 GB, free: 4.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.007487, allocations: 0 / 0.4999 GB, free: 4.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.007504, allocations: 7.938 kB / 0.4999 GB, free: 4.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.748e-06/0.007514, allocations: 0 / 0.4999 GB, free: 4.527 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.004244/0.01176, allocations: 1.097 MB / 0.501 GB, free: 3.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.01182, allocations: 8 kB / 0.501 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.01186, allocations: 0 / 0.501 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.01188, allocations: 0 / 0.501 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.442e-05/0.0119, allocations: 0 / 0.501 GB, free: 3.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.138e-06/0.01191, allocations: 7.938 kB / 0.501 GB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.01387, allocations: 1.003 MB / 0.502 GB, free: 2.41 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.109e-05/0.0139, allocations: 3.984 kB / 0.502 GB, free: 2.406 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.114e-05/0.01391, allocations: 11.84 kB / 0.502 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.01393, allocations: 4 kB / 0.502 GB, free: 2.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.705e-06/0.01394, allocations: 0 / 0.502 GB, free: 2.391 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.000484/0.01442, allocations: 207.7 kB / 0.5022 GB, free: 2.066 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.272e-05/0.01447, allocations: 27.91 kB / 0.5022 GB, free: 2.027 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001243/0.0146, allocations: 50.33 kB / 0.5023 GB, free: 1.953 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001249/0.01472, allocations: 72.66 kB / 0.5024 GB, free: 1.836 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001496/0.01487, allocations: 80.66 kB / 0.5024 GB, free: 1.707 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 8.618e-05/0.01496, allocations: 60.69 kB / 0.5025 GB, free: 1.602 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 5.361e-05/0.01501, allocations: 40.42 kB / 0.5025 GB, free: 1.535 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001443/0.01516, allocations: 83.39 kB / 0.5026 GB, free: 1.402 MB / 366.1 MB Notification: Performance of [SIM] Events: time 1.914e-05/0.01518, allocations: 0 / 0.5026 GB, free: 1.402 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 9.338e-05/0.01527, allocations: 24.12 kB / 0.5026 GB, free: 1.371 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001406/0.01541, allocations: 20.11 kB / 0.5027 GB, free: 1.344 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.114e-05/0.01544, allocations: 15.78 kB / 0.5027 GB, free: 1.328 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001815/0.01562, allocations: 97.11 kB / 0.5028 GB, free: 1.164 MB / 366.1 MB Notification: Performance of [INI] Inline: time 7.927e-05/0.0157, allocations: 30.22 kB / 0.5028 GB, free: 1.129 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.943e-05/0.01572, allocations: 16.06 kB / 0.5028 GB, free: 1.105 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.007e-05/0.01574, allocations: 8 kB / 0.5028 GB, free: 1.098 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 8.223e-05/0.01582, allocations: 24.11 kB / 0.5028 GB, free: 1.066 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 8.586e-06/0.01583, allocations: 3.938 kB / 0.5028 GB, free: 1.062 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.01583, allocations: 0 / 0.5028 GB, free: 1.062 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.795e-06/0.01584, allocations: 4 kB / 0.5029 GB, free: 1.059 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.22e-07/0.01584, allocations: 0 / 0.5029 GB, free: 1.059 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 8.455e-06/0.01585, allocations: 4.188 kB / 0.5029 GB, free: 1.055 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 2.232e-05/0.01587, allocations: 7.984 kB / 0.5029 GB, free: 1.047 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 6.793e-06/0.01588, allocations: 0 / 0.5029 GB, free: 1.047 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 7.073e-05/0.01595, allocations: 18.09 kB / 0.5029 GB, free: 1.031 MB / 366.1 MB Notification: Performance of SimCode: time 0.002477/0.01843, allocations: 1.039 MB / 0.5039 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01263/0.03105, allocations: 4.331 MB / 0.5081 GB, free: 11.65 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.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.865277679171413]