Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001518/0.001518, allocations: 107.6 kB / 21.2 MB, free: 0.6562 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.001536/0.001536, allocations: 205.1 kB / 24.49 MB, free: 3.949 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.65/1.65, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2457/0.2457, allocations: 46.97 MB / 361.6 MB, free: 4.047 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.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.036e-05/4.036e-05, allocations: 12.97 kB / 0.4973 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001731/0.001771, allocations: 493.3 kB / 0.4977 GB, free: 6.832 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.00409, allocations: 1.346 MB / 0.4991 GB, free: 5.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.004121, allocations: 0 / 0.4991 GB, free: 5.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.004142, allocations: 3.938 kB / 0.4991 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.004168, allocations: 0 / 0.4991 GB, free: 5.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.004961, allocations: 227.1 kB / 0.4993 GB, free: 5.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.005027, allocations: 15.88 kB / 0.4993 GB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.005096, allocations: 3.984 kB / 0.4993 GB, free: 5.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.005121, allocations: 7.938 kB / 0.4993 GB, free: 5.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.005166, allocations: 0 / 0.4993 GB, free: 5.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.005178, allocations: 0 / 0.4993 GB, free: 5.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004526/0.005631, allocations: 275.6 kB / 0.4996 GB, free: 4.945 MB / 366.1 MB Notification: Performance of combineBinaries: time 4.864e-05/0.00568, allocations: 15.84 kB / 0.4996 GB, free: 4.93 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 8.255e-06/0.005688, allocations: 7.906 kB / 0.4996 GB, free: 4.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.005701, allocations: 4 kB / 0.4996 GB, free: 4.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.338e-05/0.005715, allocations: 7.938 kB / 0.4996 GB, free: 4.91 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0004895/0.006204, allocations: 225.4 kB / 0.4998 GB, free: 4.57 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000109/0.006313, allocations: 35.83 kB / 0.4998 GB, free: 4.523 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001153/0.006428, allocations: 84.33 kB / 0.4999 GB, free: 4.414 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 9.521e-05/0.006523, allocations: 68.72 kB / 0.5 GB, free: 4.301 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0004083/0.006932, allocations: 176.8 kB / 0.5002 GB, free: 4.055 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.944e-05/0.007001, allocations: 60.69 kB / 0.5002 GB, free: 3.949 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 5.091e-05/0.007052, allocations: 40.42 kB / 0.5003 GB, free: 3.883 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001055/0.007158, allocations: 73.41 kB / 0.5003 GB, free: 3.758 MB / 366.1 MB Notification: Performance of [SIM] Events: time 5.24e-05/0.00721, allocations: 15.92 kB / 0.5003 GB, free: 3.742 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 7.365e-05/0.007284, allocations: 24.12 kB / 0.5004 GB, free: 3.711 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.000106/0.00739, allocations: 44.09 kB / 0.5004 GB, free: 3.66 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.719e-05/0.007427, allocations: 31.78 kB / 0.5004 GB, free: 3.629 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001502/0.007577, allocations: 105.1 kB / 0.5005 GB, free: 3.457 MB / 366.1 MB Notification: Performance of [INI] Inline: time 4.472e-05/0.007622, allocations: 40.03 kB / 0.5006 GB, free: 3.414 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.137e-05/0.007633, allocations: 8.125 kB / 0.5006 GB, free: 3.398 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.555e-05/0.007649, allocations: 12 kB / 0.5006 GB, free: 3.387 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0001259/0.007775, allocations: 56.03 kB / 0.5006 GB, free: 3.324 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 9.778e-06/0.007784, allocations: 0 / 0.5006 GB, free: 3.324 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.007785, allocations: 0 / 0.5006 GB, free: 3.324 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.396e-06/0.007788, allocations: 0 / 0.5006 GB, free: 3.324 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 8.21e-07/0.007789, allocations: 4 kB / 0.5007 GB, free: 3.32 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 8.546e-06/0.007798, allocations: 4 kB / 0.5007 GB, free: 3.316 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 6.985e-05/0.007867, allocations: 11.98 kB / 0.5007 GB, free: 3.305 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 7.274e-06/0.007875, allocations: 4 kB / 0.5007 GB, free: 3.301 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) {$SEV_0} * 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: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * 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: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * 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.393e-05/0.007919, allocations: 26.94 kB / 0.5007 GB, free: 3.277 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008233/0.008742, allocations: 375.5 kB / 0.5011 GB, free: 2.891 MB / 366.1 MB Notification: Performance of Templates: time 0.004076/0.01282, allocations: 1.121 MB / 0.5021 GB, free: 1.773 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.289463568944484]