Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions.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.001431/0.001431, 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.001561/0.001561, allocations: 204.8 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.643/1.643, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2687/0.2687, allocations: 46.97 MB / 361.6 MB, free: 4.055 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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.659e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001588/0.001615, allocations: 0.4956 MB / 0.4977 GB, free: 6.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.004147, allocations: 1.587 MB / 0.4993 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.004175, allocations: 0 / 0.4993 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.004193, allocations: 0 / 0.4993 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-06/0.004201, allocations: 0 / 0.4993 GB, free: 5.23 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:4:3-36:22:writable] Warning: Pure function 'ModelicaTest.Math.ScalarFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.004928, allocations: 154.5 kB / 0.4994 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.004998, allocations: 15.97 kB / 0.4995 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.005038, allocations: 0 / 0.4995 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.005054, allocations: 0 / 0.4995 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.005079, allocations: 0 / 0.4995 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.677e-06/0.005088, allocations: 4 kB / 0.4995 GB, free: 5.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.00548, allocations: 123.8 kB / 0.4996 GB, free: 4.941 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.932e-05/0.005509, allocations: 11.94 kB / 0.4996 GB, free: 4.93 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.358e-06/0.005513, allocations: 3.906 kB / 0.4996 GB, free: 4.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.005527, allocations: 0 / 0.4996 GB, free: 4.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.262e-06/0.005533, allocations: 0 / 0.4996 GB, free: 4.926 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.0003896/0.005923, allocations: 177.6 kB / 0.4998 GB, free: 4.633 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.204e-05/0.005965, allocations: 27.98 kB / 0.4998 GB, free: 4.594 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.216e-05/0.006057, allocations: 56.36 kB / 0.4998 GB, free: 4.512 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 7.984e-05/0.006137, allocations: 64.73 kB / 0.4999 GB, free: 4.402 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001004/0.006237, allocations: 76.59 kB / 0.5 GB, free: 4.277 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.31e-05/0.006311, allocations: 68.73 kB / 0.5 GB, free: 4.164 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.465e-05/0.006355, allocations: 40.42 kB / 0.5001 GB, free: 4.098 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001094/0.006465, allocations: 68.88 kB / 0.5001 GB, free: 3.977 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.481e-05/0.006489, allocations: 11.84 kB / 0.5002 GB, free: 3.965 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 9.298e-05/0.006582, allocations: 24.12 kB / 0.5002 GB, free: 3.934 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001715/0.006754, allocations: 24 kB / 0.5002 GB, free: 3.902 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.774e-05/0.006772, allocations: 11.98 kB / 0.5002 GB, free: 3.891 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001833/0.006955, allocations: 97.11 kB / 0.5003 GB, free: 3.727 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.813e-05/0.006993, allocations: 27.98 kB / 0.5003 GB, free: 3.695 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.661e-05/0.00701, allocations: 12.12 kB / 0.5003 GB, free: 3.676 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.508e-05/0.007025, allocations: 4 kB / 0.5003 GB, free: 3.672 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 8.431e-05/0.007109, allocations: 28.11 kB / 0.5004 GB, free: 3.637 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.91e-05/0.007128, allocations: 384 / 0.5004 GB, free: 3.637 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.007128, allocations: 4 kB / 0.5004 GB, free: 3.633 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.47e-06/0.007134, allocations: 0 / 0.5004 GB, free: 3.633 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 8.32e-07/0.007135, allocations: 3.938 kB / 0.5004 GB, free: 3.629 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.005e-05/0.007145, allocations: 4 kB / 0.5004 GB, free: 3.625 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.694e-05/0.007162, allocations: 4 kB / 0.5004 GB, free: 3.621 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 7.214e-06/0.007169, allocations: 0 / 0.5004 GB, free: 3.621 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.946e-05/0.007218, allocations: 26.2 kB / 0.5004 GB, free: 3.598 MB / 366.1 MB Notification: Performance of SimCode: time 0.0006995/0.007918, allocations: 226.4 kB / 0.5006 GB, free: 3.367 MB / 366.1 MB Notification: Performance of Templates: time 0.003596/0.01151, allocations: 0.6058 MB / 0.5012 GB, free: 2.762 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestScalarFunctions/TestScalarFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestScalarFunctions.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.299421044997871]