Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.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.001881/0.001881, 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.001891/0.001891, allocations: 209.2 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.637/1.637, 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.2549/0.2549, allocations: 46.97 MB / 361.6 MB, free: 4.066 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.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.864e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001392/0.00141, allocations: 493.1 kB / 0.4977 GB, free: 6.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.002312, allocations: 375.2 kB / 0.4981 GB, free: 6.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.00233, allocations: 0 / 0.4981 GB, free: 6.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.002342, allocations: 0 / 0.4981 GB, free: 6.473 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.002347, allocations: 0 / 0.4981 GB, free: 6.473 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008345/0.003182, allocations: 211.5 kB / 0.4983 GB, free: 6.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.57e-05/0.003228, allocations: 3.984 kB / 0.4983 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.003265, allocations: 4 kB / 0.4983 GB, free: 6.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.235e-05/0.003278, allocations: 0 / 0.4983 GB, free: 6.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.175e-05/0.003299, allocations: 3.938 kB / 0.4983 GB, free: 6.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.003305, allocations: 4 kB / 0.4983 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.003652, allocations: 215.6 kB / 0.4985 GB, free: 6.039 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.601e-05/0.003678, allocations: 7.984 kB / 0.4985 GB, free: 6.031 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.955e-06/0.003681, allocations: 3.906 kB / 0.4985 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.25e-05/0.003694, allocations: 0 / 0.4985 GB, free: 6.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.713e-06/0.0037, allocations: 0 / 0.4985 GB, free: 6.027 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.0003644/0.004065, allocations: 185.6 kB / 0.4987 GB, free: 5.727 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.222e-05/0.004097, allocations: 23.98 kB / 0.4987 GB, free: 5.691 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 9.293e-05/0.00419, allocations: 52.36 kB / 0.4988 GB, free: 5.613 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.633e-05/0.004276, allocations: 68.73 kB / 0.4988 GB, free: 5.5 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 8.993e-05/0.004366, allocations: 80.59 kB / 0.4989 GB, free: 5.371 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 6.843e-05/0.004435, allocations: 60.75 kB / 0.499 GB, free: 5.266 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.106e-05/0.004476, allocations: 40.41 kB / 0.499 GB, free: 5.199 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001021/0.004578, allocations: 72.88 kB / 0.4991 GB, free: 5.074 MB / 366.1 MB Notification: Performance of [SIM] Events: time 2.156e-05/0.004599, allocations: 7.844 kB / 0.4991 GB, free: 5.066 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 6.806e-05/0.004668, allocations: 20.12 kB / 0.4991 GB, free: 5.039 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0001238/0.004791, allocations: 24.06 kB / 0.4991 GB, free: 5.008 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.755e-05/0.004809, allocations: 16.17 kB / 0.4991 GB, free: 4.992 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001335/0.004942, allocations: 93.11 kB / 0.4992 GB, free: 4.832 MB / 366.1 MB Notification: Performance of [INI] Inline: time 3.733e-05/0.00498, allocations: 31.98 kB / 0.4993 GB, free: 4.797 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.132e-05/0.004991, allocations: 8.125 kB / 0.4993 GB, free: 4.781 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.682e-05/0.005008, allocations: 12 kB / 0.4993 GB, free: 4.77 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 6.677e-05/0.005075, allocations: 28.03 kB / 0.4993 GB, free: 4.734 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.018e-05/0.005085, allocations: 0 / 0.4993 GB, free: 4.734 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 2.965e-06/0.005088, allocations: 8.125 kB / 0.4993 GB, free: 4.727 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.278e-06/0.005092, allocations: 4 kB / 0.4993 GB, free: 4.723 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 5.51e-07/0.005093, allocations: 0 / 0.4993 GB, free: 4.723 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 4.809e-06/0.005097, allocations: 0 / 0.4993 GB, free: 4.723 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 1.589e-05/0.005113, allocations: 8 kB / 0.4993 GB, free: 4.715 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 5.31e-06/0.005119, allocations: 0 / 0.4993 GB, free: 4.715 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.34e-05/0.005162, allocations: 35.73 kB / 0.4994 GB, free: 4.688 MB / 366.1 MB Notification: Performance of SimCode: time 0.0008785/0.00604, allocations: 428.1 kB / 0.4998 GB, free: 4.25 MB / 366.1 MB Notification: Performance of Templates: time 0.004677/0.01072, allocations: 1.55 MB / 0.5013 GB, free: 2.699 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.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.2010458442382514]