Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.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.001523/0.001523, allocations: 108.9 kB / 20.5 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.001541/0.001541, allocations: 191.4 kB / 23.67 MB, free: 5.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 207.6 MB / 234.3 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/1.998e-05, allocations: 2.281 kB / 346.1 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003082/0.003102, allocations: 2.017 MB / 348.1 MB, free: 8.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004818, allocations: 1.057 MB / 349.1 MB, free: 7.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.893e-05/0.004907, allocations: 7.938 kB / 349.2 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007786/0.005686, allocations: 311.2 kB / 349.5 MB, free: 7.109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.006111, allocations: 219.2 kB / 349.7 MB, free: 6.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.006686, allocations: 255.4 kB / 349.9 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.007121, allocations: 399.1 kB / 350.3 MB, free: 6.254 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.007248, allocations: 48.39 kB / 350.4 MB, free: 6.207 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.007472, allocations: 179.4 kB / 350.5 MB, free: 6.031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.007662, allocations: 159.3 kB / 350.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.007698, allocations: 20 kB / 350.7 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.007858, allocations: 79.94 kB / 350.8 MB, free: 5.777 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003837/0.008242, allocations: 467.4 kB / 351.2 MB, free: 5.316 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001752/0.008417, allocations: 260.3 kB / 351.5 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.008467, allocations: 35.81 kB / 351.5 MB, free: 5.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.241e-05/0.0085, allocations: 8 kB / 351.5 MB, free: 5.016 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 (24) * Number of variables: 24 (24) Notification: Performance of Bindings: time 0.001011/0.009511, allocations: 0.8695 MB / 352.4 MB, free: 4.023 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001275/0.009639, allocations: 70.3 kB / 352.5 MB, free: 3.957 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0003034/0.009942, allocations: 236.2 kB / 352.7 MB, free: 3.699 MB / 286.1 MB Notification: Performance of Simplify 1: time 0.0001147/0.01006, allocations: 88.3 kB / 352.8 MB, free: 3.586 MB / 286.1 MB Notification: Performance of Alias: time 0.0007787/0.01084, allocations: 493.8 kB / 353.3 MB, free: 2.996 MB / 286.1 MB Notification: Performance of Simplify 2: time 8.191e-05/0.01092, allocations: 72.38 kB / 353.3 MB, free: 2.898 MB / 286.1 MB Notification: Performance of Remove Stream: time 8.146e-05/0.011, allocations: 72.28 kB / 353.4 MB, free: 2.801 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002899/0.01129, allocations: 181.1 kB / 353.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of Events: time 0.0001322/0.01142, allocations: 83.72 kB / 353.7 MB, free: 2.504 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001904/0.01161, allocations: 144.3 kB / 353.8 MB, free: 2.34 MB / 286.1 MB Notification: Performance of Causalize: time 0.0006479/0.01226, allocations: 493.6 kB / 354.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002151/0.01247, allocations: 211.8 kB / 354.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of Simplify: time 0.002921/0.0154, allocations: 0.6284 MB / 355.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of Inline: time 0.000383/0.01578, allocations: 360.9 kB / 355.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of Partitioning: time 3.632e-05/0.01581, allocations: 26.36 kB / 355.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of Cleanup: time 9.941e-05/0.01591, allocations: 107.8 kB / 355.6 MB, free: 472 kB / 286.1 MB Notification: Performance of Causalize: time 0.001439/0.01735, allocations: 1.115 MB / 356.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Tearing: time 1.221e-05/0.01737, allocations: 4 kB / 356.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Initialization: time 3.3e-07/0.01737, allocations: 4 kB / 356.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Remove Dummies: time 6.933e-06/0.01737, allocations: 4 kB / 356.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Tearing: time 1.813e-06/0.01737, allocations: 0 / 356.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Categorize: time 1.137e-05/0.01739, allocations: 4 kB / 356.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Solve: time 0.0001799/0.01757, allocations: 90.02 kB / 356.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Jacobian: time 5.18e-06/0.01757, allocations: 0 / 356.8 MB, free: 15.23 MB / 302.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: .................... 4 (4) {table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled, table2.combiTimeTable.nextTimeEvent, table2.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 16 (16) {Not1.u, And1.y, Or1.u1, Or1.y, Pre1.y, $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: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, 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: ........... 43 (scalar:39, array:2, record:2) * Number of multi strong components: ............ 4 (algorithm:4, 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 5.308e-05/0.01762, allocations: 49.41 kB / 356.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of SimCode: time 0.002968/0.02059, allocations: 1.915 MB / 358.8 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Templates: time 0.00678/0.02737, allocations: 3.008 MB / 361.8 MB, free: 10.23 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/LogicalNetwork1/LogicalNetwork1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.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: 3.9085852280259132]