Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.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.00165/0.00165, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001901/0.001901, allocations: 212.9 kB / 24.49 MB, free: 3.934 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.511/1.511, 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.2576/0.2576, 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.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5086,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical") translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5086,variableFilter="time|change1.u|edge1.u|fallingEdge.not_u|hysteresis.y|onOffController.y|pre1.u|rSFlipFlop.pre.u|table1.y|table2.y|timer.entryTime|triggeredTrapezoid.T|triggeredTrapezoid.endValue|triggeredTrapezoid.rate|triggeredTrapezoid.y|zeroCrossing.disable|zeroCrossing.enable|zeroCrossing.u_pos",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.131e-05/4.131e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.006618/0.00666, allocations: 2.71 MB / 0.4999 GB, free: 4.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.01071, allocations: 1.574 MB / 0.5015 GB, free: 2.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004484/0.01116, allocations: 8 kB / 0.5015 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.01228, allocations: 354.6 kB / 0.5018 GB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008709/0.01315, allocations: 294.7 kB / 0.5021 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.01444, allocations: 382.6 kB / 0.5025 GB, free: 1.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01574, allocations: 0.8003 MB / 0.5032 GB, free: 1.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.01625, allocations: 168 kB / 0.5034 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.01693, allocations: 354.8 kB / 0.5037 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004562/0.01739, allocations: 342.5 kB / 0.5041 GB, free: 288 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.01749, allocations: 52 kB / 0.5041 GB, free: 236 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.0178, allocations: 135.9 kB / 0.5043 GB, free: 100 kB / 366.1 MB Notification: Performance of combineBinaries: time 0.001246/0.01905, allocations: 1.156 MB / 0.5054 GB, free: 14.93 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007015/0.01975, allocations: 0.7132 MB / 0.5061 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.01987, allocations: 36 kB / 0.5061 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000195/0.02007, allocations: 31.69 kB / 0.5061 GB, free: 14.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 (103) * Number of variables: 103 (103) Notification: Performance of [SIM] Bindings: time 0.003017/0.02309, allocations: 2.458 MB / 0.5085 GB, free: 11.55 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003673/0.02345, allocations: 274.1 kB / 0.5088 GB, free: 11.27 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001588/0.02504, allocations: 1.409 MB / 0.5102 GB, free: 9.832 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005154/0.02556, allocations: 304.1 kB / 0.5105 GB, free: 9.484 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.003218/0.02878, allocations: 1.97 MB / 0.5124 GB, free: 7.32 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003627/0.02914, allocations: 242.5 kB / 0.5126 GB, free: 7.031 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001766/0.02932, allocations: 146.8 kB / 0.5128 GB, free: 6.863 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0006704/0.02999, allocations: 452.7 kB / 0.5132 GB, free: 6.359 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0004917/0.03048, allocations: 321.4 kB / 0.5135 GB, free: 6.047 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007701/0.03125, allocations: 0.5814 MB / 0.5141 GB, free: 5.441 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001929/0.03318, allocations: 1.262 MB / 0.5153 GB, free: 4.156 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001371/0.03455, allocations: 1.206 MB / 0.5165 GB, free: 2.949 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.004776/0.03932, allocations: 1.126 MB / 0.5176 GB, free: 1.785 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.2822/0.3215, allocations: 1.902 MB / 0.5194 GB, free: 27.09 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 0.0002692/0.3217, allocations: 50.55 kB / 0.5195 GB, free: 27.07 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0005884/0.3223, allocations: 319.4 kB / 0.5198 GB, free: 27.07 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.005481/0.3278, allocations: 3.355 MB / 0.5231 GB, free: 26.85 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 6.456e-05/0.3279, allocations: 67.5 kB / 0.5231 GB, free: 26.83 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 1.804e-06/0.3279, allocations: 1.406 kB / 0.5231 GB, free: 26.83 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.655e-05/0.3279, allocations: 8.094 kB / 0.5231 GB, free: 26.83 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 2.405e-05/0.3279, allocations: 44.94 kB / 0.5232 GB, free: 26.81 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.814e-05/0.328, allocations: 9.234 kB / 0.5232 GB, free: 26.8 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.001136/0.3291, allocations: 0.6779 MB / 0.5239 GB, free: 26.77 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 9.849e-06/0.3291, allocations: 1.5 kB / 0.5239 GB, free: 26.77 MB / 382.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: ......... 3 * 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: .................... 9 (9) {booleanPulse.pulseStart, timer.entryTime, triggeredTrapezoid.T, triggeredTrapezoid.rate, triggeredTrapezoid.endValue, table2.combiTimeTable.nextTimeEvent, table2.combiTimeTable.nextTimeEventScaled, table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 73 (73) {and1.u1, and1.u2, or1.u1, xor.y, nor.y, pre1.u, edge1.u, edge1.y, fallingEdge.y, fallingEdge.not_u, change1.u, change1.y, greaterEqualThreshold.y, lessThreshold.y, lessEqualThreshold.y, greater.y, greaterEqual.y, less.y, lessEqual.y, zeroCrossing.y, zeroCrossing.enable, zeroCrossing.disable, zeroCrossing.u_pos, logicalSwitch.u1, logicalSwitch.u2, logicalSwitch.y, hysteresis.y, onOffController.y, rSFlipFlop.Q, rSFlipFlop.QI, rSFlipFlop.nor.y, rSFlipFlop.pre.u, booleanPulse.y, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_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: ........... 84 (scalar:84, array:0, record:0) * Number of multi strong components: ............ 9 (algorithm:0, when:9, 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: ........... 126 (scalar:122, array:2, record:2) * Number of multi strong components: ............ 7 (algorithm:7, 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 9.267e-05/0.3292, allocations: 82.23 kB / 0.5239 GB, free: 26.72 MB / 382.1 MB Notification: Performance of SimCode: time 0.004645/0.3338, allocations: 2.302 MB / 0.5262 GB, free: 26.07 MB / 382.1 MB Notification: Performance of Templates: time 0.01554/0.3494, allocations: 6.925 MB / 0.5329 GB, free: 25.43 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Logical/Logical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Logical.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.861376667395234]