Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.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.001397/0.001397, allocations: 110.4 kB / 20.54 MB, free: 1.91 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.001349/0.001349, allocations: 188.4 kB / 23.71 MB, free: 5.266 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.243/1.243, allocations: 225.6 MB / 252.3 MB, free: 13.5 MB / 206.1 MB " [Timeout remaining time 179] 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.185/0.185, allocations: 44.92 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.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.0.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.0.0_ModelicaTest.Blocks.Logical") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.237e-05, allocations: 2.281 kB / 495.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.003809/0.003822, allocations: 2.783 MB / 498.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.005959, allocations: 1.418 MB / 0.4884 GB, free: 13.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.006086, allocations: 11.94 kB / 0.4884 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007302/0.006816, allocations: 341.4 kB / 0.4887 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.00726, allocations: 235 kB / 0.489 GB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.008042, allocations: 419 kB / 0.4894 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.008711, allocations: 0.7338 MB / 0.4901 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.008976, allocations: 167.5 kB / 0.4902 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.009321, allocations: 334.9 kB / 0.4905 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.009613, allocations: 314.7 kB / 0.4908 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.009684, allocations: 56 kB / 0.4909 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.009858, allocations: 115.9 kB / 0.491 GB, free: 11.01 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0006745/0.01053, allocations: 0.9704 MB / 0.492 GB, free: 10.03 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003179/0.01085, allocations: 0.5505 MB / 0.4925 GB, free: 9.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.601e-05/0.01094, allocations: 79.69 kB / 0.4926 GB, free: 9.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.396e-05/0.01099, allocations: 31.69 kB / 0.4926 GB, free: 9.363 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: 100 (100) * Number of variables: 100 (100) Notification: Performance of Bindings: time 0.001684/0.01267, allocations: 1.789 MB / 0.4944 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.000199/0.01287, allocations: 212.1 kB / 0.4946 GB, free: 7.242 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0007868/0.01366, allocations: 0.8076 MB / 0.4953 GB, free: 6.406 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.0002191/0.01388, allocations: 191.4 kB / 0.4955 GB, free: 6.191 MB / 366.1 MB Notification: Performance of Alias: time 0.002046/0.01592, allocations: 1.722 MB / 0.4972 GB, free: 4.285 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0001532/0.01608, allocations: 139.7 kB / 0.4973 GB, free: 4.121 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.0001349/0.01621, allocations: 135.7 kB / 0.4975 GB, free: 3.961 MB / 366.1 MB Notification: Performance of Detect States: time 0.0005079/0.01672, allocations: 373.3 kB / 0.4978 GB, free: 3.562 MB / 366.1 MB Notification: Performance of Events: time 0.0004135/0.01713, allocations: 334.7 kB / 0.4981 GB, free: 3.234 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0004741/0.01761, allocations: 475.4 kB / 0.4986 GB, free: 2.738 MB / 366.1 MB Notification: Performance of Causalize: time 0.001973/0.01958, allocations: 1.643 MB / 0.5002 GB, free: 1.059 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.000727/0.02031, allocations: 0.7493 MB / 0.5009 GB, free: 316 kB / 366.1 MB Notification: Performance of Simplify: time 0.003083/0.02339, allocations: 0.9064 MB / 0.5018 GB, free: 15.43 MB / 382.1 MB Notification: Performance of Inline: time 0.0009998/0.02439, allocations: 1.034 MB / 0.5028 GB, free: 14.39 MB / 382.1 MB Notification: Performance of Partitioning: time 6.178e-05/0.02445, allocations: 39.62 kB / 0.5029 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Cleanup: time 0.0002525/0.02471, allocations: 299.6 kB / 0.5032 GB, free: 14.05 MB / 382.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) false = false ($RES_SIM_6); [SCAL] (1) $PRE.fallingEdge.not_u = not fallingEdge.pre_u_start ($RES_SIM_10); [SCAL] (1) not $PRE.fallingEdge.not_u = edge1.pre_u_start ($RES_SIM_11); [SCAL] (1) $PRE.fallingEdge.not_u = pre1.pre_u_start ($RES_SIM_12); Notification: Performance of Causalize: time 0.004563/0.02927, allocations: 3.814 MB / 0.5069 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Tearing: time 1.18e-05/0.02928, allocations: 0 / 0.5069 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Initialization: time 4.01e-07/0.02928, allocations: 0 / 0.5069 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Remove Dummies: time 7.754e-06/0.02929, allocations: 1 kB / 0.5069 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Tearing: time 3.737e-06/0.02929, allocations: 0 / 0.5069 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Categorize: time 1.055e-05/0.0293, allocations: 4 kB / 0.5069 GB, free: 10.16 MB / 382.1 MB Notification: Performance of Solve: time 0.0003547/0.02966, allocations: 227.3 kB / 0.5071 GB, free: 9.945 MB / 382.1 MB Notification: Performance of Jacobian: time 3.496e-06/0.02966, allocations: 0 / 0.5071 GB, free: 9.945 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: ......... 4 * 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: .................... 8 (8) {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: ................. 67 (67) {and1.u1, and1.u2, or1.u1, xor.y, nor.y, edge1.y, fallingEdge.y, fallingEdge.not_u, change1.y, greaterEqualThreshold.y, lessThreshold.y, lessEqualThreshold.y, greater.y, greaterEqual.y, less.y, lessEqual.y, zeroCrossing.y, zeroCrossing.disable, zeroCrossing.u_pos, logicalSwitch.u1, logicalSwitch.u2, logicalSwitch.y, hysteresis.y, onOffController.y, rSFlipFlop.Q, rSFlipFlop.QI, rSFlipFlop.nor.y, $SEV_32, $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_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: ........... 79 (scalar:79, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 112 (scalar:108, 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 7.075e-05/0.02973, allocations: 89.95 kB / 0.5072 GB, free: 9.867 MB / 382.1 MB Notification: Performance of SimCode: time 0.003245/0.03298, allocations: 2.645 MB / 0.5098 GB, free: 7.332 MB / 382.1 MB Notification: Performance of Templates: time 0.01025/0.04323, allocations: 6.063 MB / 0.5157 GB, free: 1.273 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Logical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Logical/Logical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.287964414805174]