Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 112 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 183.4 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.6 MB / 252.3 MB, free: 13.34 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.205/0.205, allocations: 44.91 MB / 352.4 MB, free: 12.24 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.13e-05, allocations: 4.672 kB / 495.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001245/0.001266, allocations: 473.1 kB / 496.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.004467, allocations: 2.313 MB / 498.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.004486, allocations: 4 kB / 498.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.265e-06/0.004494, allocations: 0 / 498.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.358e-06/0.004498, allocations: 0 / 498.7 MB, free: 15.16 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.002367/0.006865, allocations: 1.132 MB / 499.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.006915, allocations: 7.984 kB / 499.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.006946, allocations: 4 kB / 499.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.006963, allocations: 3.938 kB / 499.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.59e-05/0.006979, allocations: 4 kB / 499.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-06/0.006984, allocations: 0 / 499.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.008364, allocations: 0.9833 MB / 0.4891 GB, free: 13.02 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.19e-05/0.008386, allocations: 11.98 kB / 0.4891 GB, free: 13.01 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.855e-06/0.008388, allocations: 3.906 kB / 0.4891 GB, free: 13.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.878e-06/0.008398, allocations: 0 / 0.4891 GB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.77e-06/0.008404, allocations: 0 / 0.4891 GB, free: 13.01 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 Bindings: time 0.0003132/0.008717, allocations: 191.9 kB / 0.4893 GB, free: 12.7 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.813e-05/0.008735, allocations: 6.797 kB / 0.4893 GB, free: 12.7 MB / 366.1 MB Notification: Performance of Early Inline: time 7.267e-05/0.008808, allocations: 52.5 kB / 0.4893 GB, free: 12.62 MB / 366.1 MB Notification: Performance of Simplify 1: time 4.872e-05/0.008857, allocations: 52.34 kB / 0.4894 GB, free: 12.54 MB / 366.1 MB Notification: Performance of Alias: time 7.402e-05/0.008931, allocations: 64.81 kB / 0.4894 GB, free: 12.43 MB / 366.1 MB Notification: Performance of Simplify 2: time 3.567e-05/0.008966, allocations: 40.42 kB / 0.4895 GB, free: 12.36 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.442e-05/0.009001, allocations: 32.44 kB / 0.4895 GB, free: 12.3 MB / 366.1 MB Notification: Performance of Detect States: time 0.000134/0.009135, allocations: 70.73 kB / 0.4896 GB, free: 12.2 MB / 366.1 MB Notification: Performance of Events: time 1.525e-05/0.00915, allocations: 0 / 0.4896 GB, free: 12.2 MB / 366.1 MB Notification: Performance of Partitioning: time 5.571e-05/0.009206, allocations: 28.06 kB / 0.4896 GB, free: 12.16 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001023/0.009308, allocations: 16.11 kB / 0.4896 GB, free: 12.14 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 1.586e-05/0.009324, allocations: 8 kB / 0.4896 GB, free: 12.13 MB / 366.1 MB Notification: Performance of Simplify: time 9.641e-05/0.00942, allocations: 76.98 kB / 0.4897 GB, free: 12 MB / 366.1 MB Notification: Performance of Inline: time 3.668e-05/0.009457, allocations: 27.97 kB / 0.4897 GB, free: 11.97 MB / 366.1 MB Notification: Performance of Partitioning: time 1.045e-05/0.009468, allocations: 8.125 kB / 0.4897 GB, free: 11.96 MB / 366.1 MB Notification: Performance of Cleanup: time 1.532e-05/0.009483, allocations: 12 kB / 0.4897 GB, free: 11.95 MB / 366.1 MB Notification: Performance of Causalize: time 5.362e-05/0.009537, allocations: 28.11 kB / 0.4898 GB, free: 11.91 MB / 366.1 MB Notification: Performance of Tearing: time 7.464e-06/0.009544, allocations: 0 / 0.4898 GB, free: 11.91 MB / 366.1 MB Notification: Performance of Initialization: time 2.7e-07/0.009544, allocations: 0 / 0.4898 GB, free: 11.91 MB / 366.1 MB Notification: Performance of Remove Dummies: time 3.276e-06/0.009548, allocations: 0 / 0.4898 GB, free: 11.91 MB / 366.1 MB Notification: Performance of Tearing: time 2.194e-06/0.00955, allocations: 8.188 kB / 0.4898 GB, free: 11.9 MB / 366.1 MB Notification: Performance of Categorize: time 4.488e-06/0.009554, allocations: 0 / 0.4898 GB, free: 11.9 MB / 366.1 MB Notification: Performance of Solve: time 1.835e-05/0.009573, allocations: 7.984 kB / 0.4898 GB, free: 11.89 MB / 366.1 MB Notification: Performance of Jacobian: time 2.885e-06/0.009575, allocations: 0 / 0.4898 GB, free: 11.89 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: ............ 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: [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 2.977e-05/0.009605, allocations: 27.08 kB / 0.4898 GB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 0.001653/0.01126, allocations: 1.471 MB / 0.4912 GB, free: 10.39 MB / 366.1 MB Notification: Performance of Templates: time 0.007657/0.01892, allocations: 4.267 MB / 0.4954 GB, free: 6.121 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.328670904040337]