Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.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.001147/0.001147, allocations: 112.9 kB / 20.54 MB, free: 1.777 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.001149/0.001149, allocations: 187.5 kB / 23.71 MB, free: 5.402 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.235/1.235, allocations: 225.6 MB / 252.3 MB, free: 13.36 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.1954/0.1954, 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.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.827e-05, allocations: 2.281 kB / 495.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003017/0.003035, allocations: 1.911 MB / 497.8 MB, free: 32 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.004782, allocations: 1.052 MB / 498.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.004858, allocations: 7.875 kB / 498.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000557/0.005415, allocations: 183.4 kB / 499.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.0057, allocations: 131.5 kB / 499.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.00612, allocations: 199.5 kB / 499.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.00645, allocations: 307.4 kB / 499.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.006539, allocations: 25.66 kB / 499.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.006695, allocations: 135.6 kB / 499.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.006839, allocations: 123.6 kB / 500 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.00687, allocations: 16 kB / 500 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.006988, allocations: 67.91 kB / 0.4883 GB, free: 13.8 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0002687/0.007257, allocations: 352.8 kB / 0.4887 GB, free: 13.46 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001091/0.007366, allocations: 181.4 kB / 0.4888 GB, free: 13.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.007413, allocations: 27.94 kB / 0.4889 GB, free: 13.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.877e-05/0.007432, allocations: 7.938 kB / 0.4889 GB, free: 13.24 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: 21 (18) * Number of variables: 21 (21) Notification: Performance of Bindings: time 0.0008342/0.008266, allocations: 0.7319 MB / 0.4896 GB, free: 12.39 MB / 366.1 MB Notification: Performance of FunctionAlias: time 8.221e-05/0.008348, allocations: 58.33 kB / 0.4896 GB, free: 12.34 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0003073/0.008656, allocations: 308.2 kB / 0.4899 GB, free: 12.01 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.0001294/0.008785, allocations: 116.3 kB / 0.49 GB, free: 11.87 MB / 366.1 MB Notification: Performance of Alias: time 0.0005139/0.009299, allocations: 362.5 kB / 0.4904 GB, free: 11.43 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0001105/0.009409, allocations: 108.3 kB / 0.4905 GB, free: 11.3 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.0001027/0.009512, allocations: 108.4 kB / 0.4906 GB, free: 11.17 MB / 366.1 MB Notification: Performance of Detect States: time 0.0003545/0.009867, allocations: 224.3 kB / 0.4908 GB, free: 10.91 MB / 366.1 MB Notification: Performance of Events: time 0.0001686/0.01004, allocations: 113.9 kB / 0.4909 GB, free: 10.8 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0002448/0.01028, allocations: 220.4 kB / 0.4911 GB, free: 10.55 MB / 366.1 MB Notification: Performance of Causalize: time 0.0005886/0.01087, allocations: 460.2 kB / 0.4916 GB, free: 10.07 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003116/0.01118, allocations: 319.7 kB / 0.4919 GB, free: 9.758 MB / 366.1 MB Notification: Performance of Simplify: time 0.001835/0.01301, allocations: 495.5 kB / 0.4923 GB, free: 9.262 MB / 366.1 MB Notification: Performance of Inline: time 0.0004622/0.01348, allocations: 472.7 kB / 0.4928 GB, free: 8.793 MB / 366.1 MB Notification: Performance of Partitioning: time 3.038e-05/0.01351, allocations: 22.36 kB / 0.4928 GB, free: 8.766 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0001684/0.01368, allocations: 179.8 kB / 0.493 GB, free: 8.59 MB / 366.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) onDelay2.delaySignal = $START.onDelay2.delaySignal ($RES_SRT_46); [SCAL] (1) onDelay3.delaySignal = $START.onDelay3.delaySignal ($RES_SRT_45); [SCAL] (1) onDelay1.delaySignal = $START.onDelay1.delaySignal ($RES_SRT_44); Notification: Performance of Causalize: time 0.001846/0.01552, allocations: 1.47 MB / 0.4944 GB, free: 7.078 MB / 366.1 MB Notification: Performance of Tearing: time 1.089e-05/0.01553, allocations: 3.938 kB / 0.4944 GB, free: 7.074 MB / 366.1 MB Notification: Performance of Initialization: time 3.51e-07/0.01553, allocations: 0 / 0.4944 GB, free: 7.074 MB / 366.1 MB Notification: Performance of Remove Dummies: time 4.388e-06/0.01554, allocations: 0 / 0.4944 GB, free: 7.074 MB / 366.1 MB Notification: Performance of Tearing: time 1.503e-06/0.01554, allocations: 0 / 0.4944 GB, free: 7.074 MB / 366.1 MB Notification: Performance of Categorize: time 9.178e-06/0.01555, allocations: 4 kB / 0.4944 GB, free: 7.07 MB / 366.1 MB Notification: Performance of Solve: time 0.0003159/0.01586, allocations: 202.5 kB / 0.4946 GB, free: 6.84 MB / 366.1 MB Notification: Performance of Jacobian: time 5.35e-06/0.01587, allocations: 4 kB / 0.4946 GB, free: 6.836 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: ......... 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: .................... 2 (2) {booleanTable.combiTimeTable.nextTimeEvent, booleanTable.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 26 (26) {onDelay1.u, onDelay1.y, onDelay1.delaySignal, onDelay1.t_next, booleanStep3.y, onDelay3.y, onDelay3.delaySignal, onDelay3.t_next, booleanStep2.y, onDelay2.y, onDelay2.delaySignal, onDelay2.t_next, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:3, when:2, if:3, 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: ........... 33 (scalar:31, array:1, record:1) * Number of multi strong components: ............ 8 (algorithm:5, when:0, if:3, 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 5.266e-05/0.01592, allocations: 39.39 kB / 0.4947 GB, free: 6.797 MB / 366.1 MB Notification: Performance of SimCode: time 0.00244/0.01836, allocations: 1.728 MB / 0.4963 GB, free: 5.195 MB / 366.1 MB Notification: Performance of Templates: time 0.005944/0.02431, allocations: 2.818 MB / 0.4991 GB, free: 2.387 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.OnDelay.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.0291587095707655]