Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.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.001307/0.001307, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001426/0.001426, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2361/0.2361, allocations: 44.94 MB / 359.7 MB, free: 6.035 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.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.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|leftBoundary1.ports.1..m_flow|leftBoundary1.ports.1..p|leftBoundary1.ports.1..h_outflow|rightBoundary1.ports.1..m_flow|rightBoundary1.ports.1..p|rightBoundary1.ports.1..h_outflow|suddenExpansion1.port_b.m_flow|suddenExpansion1.port_b.p|suddenExpansion1.port_b.h_outflow|leftBoundary2.ports.1..m_flow|leftBoundary2.ports.1..p|leftBoundary2.ports.1..h_outflow|rightBoundary2.ports.1..m_flow|rightBoundary2.ports.1..p|rightBoundary2.ports.1..h_outflow|suddenExpansion2.port_b.m_flow|suddenExpansion2.port_b.p|suddenExpansion2.port_b.h_outflow|leftAdapter.port_b.m_flow|leftAdapter.port_b.p|leftAdapter.port_b.h_outflow|rightAdapter.port_b.m_flow|rightAdapter.port_b.p|rightAdapter.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|leftBoundary1.ports.1..m_flow|leftBoundary1.ports.1..p|leftBoundary1.ports.1..h_outflow|rightBoundary1.ports.1..m_flow|rightBoundary1.ports.1..p|rightBoundary1.ports.1..h_outflow|suddenExpansion1.port_b.m_flow|suddenExpansion1.port_b.p|suddenExpansion1.port_b.h_outflow|leftBoundary2.ports.1..m_flow|leftBoundary2.ports.1..p|leftBoundary2.ports.1..h_outflow|rightBoundary2.ports.1..m_flow|rightBoundary2.ports.1..p|rightBoundary2.ports.1..h_outflow|suddenExpansion2.port_b.m_flow|suddenExpansion2.port_b.p|suddenExpansion2.port_b.h_outflow|leftAdapter.port_b.m_flow|leftAdapter.port_b.p|leftAdapter.port_b.h_outflow|rightAdapter.port_b.m_flow|rightAdapter.port_b.p|rightAdapter.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.172e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion): time 0.318/0.318, allocations: 57.58 MB / 0.5505 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02686/0.3449, allocations: 20.09 MB / 0.5702 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.3472, allocations: 44.88 kB / 0.5702 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.3496, allocations: 0.6622 MB / 0.5709 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01926/0.3689, allocations: 5.763 MB / 0.5765 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01177/0.3807, allocations: 3.428 MB / 0.5798 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01839/0.399, allocations: 9.81 MB / 0.5894 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001793/0.4008, allocations: 0.7953 MB / 0.5902 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.4038, allocations: 1.417 MB / 0.5916 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01393/0.4177, allocations: 7.087 MB / 0.5985 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003706/0.4181, allocations: 92 kB / 0.5986 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01427/0.4324, allocations: 6.88 MB / 0.6053 GB, free: 3.422 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.00319/0.4356, allocations: 2.848 MB / 0.6081 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001602/0.4372, allocations: 1.869 MB / 0.6099 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.4375, allocations: 148 kB / 0.6101 GB, free: 14.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.000242/0.4377, allocations: 31.92 kB / 0.6101 GB, free: 14.48 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 (184) * Number of variables: 248 (248) Notification: Performance of [SIM] Bindings: time 0.007706/0.4454, allocations: 7.545 MB / 0.6175 GB, free: 6.707 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006733/0.4461, allocations: 0.6474 MB / 0.6181 GB, free: 6.047 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.008583/0.4547, allocations: 7.712 MB / 0.6256 GB, free: 14.28 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00147/0.4562, allocations: 0.8663 MB / 0.6265 GB, free: 13.36 MB / 462.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.005789/0.462, allocations: 4.216 MB / 0.6306 GB, free: 8.762 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001366/0.4633, allocations: 0.8977 MB / 0.6315 GB, free: 7.832 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005101/0.4638, allocations: 444 kB / 0.6319 GB, free: 7.359 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.001014/0.4649, allocations: 1.047 MB / 0.6329 GB, free: 6.25 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.0006956/0.4656, allocations: 498.3 kB / 0.6334 GB, free: 5.758 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.002642/0.4682, allocations: 2.497 MB / 0.6358 GB, free: 2.875 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.006619/0.4748, allocations: 4.616 MB / 0.6403 GB, free: 13.86 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005106/0.4799, allocations: 4.804 MB / 0.645 GB, free: 9.051 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.004351/0.4843, allocations: 2.314 MB / 0.6473 GB, free: 6.578 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.009442/0.4937, allocations: 8.453 MB / 0.6555 GB, free: 14.12 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 0.0004133/0.4941, allocations: 101.8 kB / 0.6556 GB, free: 13.99 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.001661/0.4958, allocations: 1.038 MB / 0.6566 GB, free: 12.95 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.01003/0.5058, allocations: 6.073 MB / 0.6626 GB, free: 6.727 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 0.002126/0.5079, allocations: 1.567 MB / 0.6641 GB, free: 5.137 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 1.443e-06/0.5079, allocations: 0 / 0.6641 GB, free: 5.137 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.003296/0.5112, allocations: 2.431 MB / 0.6665 GB, free: 2.48 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.482e-05/0.5113, allocations: 13.44 kB / 0.6665 GB, free: 2.469 MB / 494.1 MB Notification: Performance of [SIM] Tearing: time 0.001282/0.5125, allocations: 1.04 MB / 0.6675 GB, free: 1.461 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 8.841e-05/0.5126, allocations: 19.86 kB / 0.6675 GB, free: 1.441 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.01416/0.5268, allocations: 9.56 MB / 0.6769 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of [SIM] Jacobian: time 0.03493/0.5617, allocations: 33.06 MB / 0.7091 GB, free: 4.262 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 20 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 30 * 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: ................. 51 (51) {leftBoundary1.medium.state.phase, rightBoundary1.medium.state.phase, suddenExpansion1.state_a.phase, suddenExpansion1.state_b.phase, suddenExpansion1.state_b_des.phase, suddenExpansion1.state_a_nondes.phase, leftBoundary2.medium.state.phase, rightBoundary2.medium.state.phase, suddenExpansion2.state_a.phase, suddenExpansion2.state_b.phase, suddenExpansion2.state_b_des.phase, suddenExpansion2.state_a_nondes.phase, leftAdapter.state_a.phase, leftAdapter.state_b.phase, leftAdapter.state_b_des.phase, leftAdapter.state_a_nondes.phase, rightAdapter.state_a.phase, rightAdapter.state_b.phase, rightAdapter.state_b_des.phase, rightAdapter.state_a_nondes.phase, $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} * 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: ........... 187 (scalar:187, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 282 (scalar:278, array:4, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0002365/0.562, allocations: 112.7 kB / 0.7092 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of SimCode: time 0.3807/0.9427, allocations: 20.08 MB / 0.7289 GB, free: 113.4 MB / 0.545 GB Notification: Performance of Templates: time 0.1046/1.047, allocations: 84.99 MB / 0.8119 GB, free: 63.64 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.800046520016622] Failed to read output from testmodel.py, exit status != 0: ['time', 'leftBoundary1.ports[1].m_flow', 'leftBoundary1.ports[1].p', 'leftBoundary1.ports[1].h_outflow', 'rightBoundary1.ports[1].m_flow', 'rightBoundary1.ports[1].p', 'rightBoundary1.ports[1].h_outflow', 'suddenExpansion1.port_b.m_flow', 'suddenExpansion1.port_b.p', 'suddenExpansion1.port_b.h_outflow', 'leftBoundary2.ports[1].m_flow', 'leftBoundary2.ports[1].p', 'leftBoundary2.ports[1].h_outflow', 'rightBoundary2.ports[1].m_flow', 'rightBoundary2.ports[1].p', 'rightBoundary2.ports[1].h_outflow', 'suddenExpansion2.port_b.m_flow', 'suddenExpansion2.port_b.p', 'suddenExpansion2.port_b.h_outflow', 'leftAdapter.port_b.m_flow', 'leftAdapter.port_b.p', 'leftAdapter.port_b.h_outflow', 'rightAdapter.port_b.m_flow', 'rightAdapter.port_b.p', 'rightAdapter.port_b.h_outflow'] 1.0554378989618272 1.064506805 0.6242584840000001 Calling exit ...