Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.001966/0.001966, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002168/0.002168, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.594/1.594, 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.256/0.256, allocations: 46.96 MB / 361.6 MB, free: 4.047 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.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.445e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2375/0.2376, allocations: 25.89 MB / 0.5226 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.2515, allocations: 11.78 MB / 0.5341 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.252, allocations: 13.94 kB / 0.5341 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.2528, allocations: 226.3 kB / 0.5343 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0109/0.2637, allocations: 3.658 MB / 0.5379 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006194/0.2699, allocations: 2.352 MB / 0.5402 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.2715, allocations: 1.184 MB / 0.5413 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.272, allocations: 308.4 kB / 0.5416 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008627/0.2728, allocations: 0.5736 MB / 0.5422 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003333/0.2732, allocations: 313.8 kB / 0.5425 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.2732, allocations: 33.94 kB / 0.5425 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.2856, allocations: 6.688 MB / 0.549 GB, free: 7.895 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0008292/0.2864, allocations: 0.8837 MB / 0.5499 GB, free: 7.289 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002885/0.2867, allocations: 0.5516 MB / 0.5504 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.2868, allocations: 48.84 kB / 0.5505 GB, free: 6.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.682e-05/0.2869, allocations: 14 kB / 0.5505 GB, free: 6.902 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: 73 (65) * Number of variables: 73 (73) Notification: Performance of [SIM] Bindings: time 0.001803/0.2887, allocations: 2.338 MB / 0.5528 GB, free: 5.219 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001572/0.2889, allocations: 228.6 kB / 0.553 GB, free: 5.031 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001428/0.2903, allocations: 1.697 MB / 0.5547 GB, free: 3.758 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002882/0.2906, allocations: 274.6 kB / 0.5549 GB, free: 3.539 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001379/0.292, allocations: 1.309 MB / 0.5562 GB, free: 2.441 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002566/0.2922, allocations: 263.2 kB / 0.5565 GB, free: 2.227 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001083/0.2923, allocations: 153.2 kB / 0.5566 GB, free: 2.082 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.00021/0.2925, allocations: 333.8 kB / 0.5569 GB, free: 1.75 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002595/0.2928, allocations: 233.6 kB / 0.5571 GB, free: 1.598 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004845/0.2933, allocations: 0.6044 MB / 0.5577 GB, free: 1.156 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001335/0.2946, allocations: 1.266 MB / 0.559 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001052/0.2957, allocations: 1.295 MB / 0.5602 GB, free: 15.66 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.0009732/0.2967, allocations: 0.6293 MB / 0.5608 GB, free: 15.16 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.002223/0.2989, allocations: 2.089 MB / 0.5629 GB, free: 13.43 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 7.473e-05/0.2989, allocations: 35.98 kB / 0.5629 GB, free: 13.39 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0002742/0.2992, allocations: 287.7 kB / 0.5632 GB, free: 13.11 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.00229/0.3015, allocations: 1.504 MB / 0.5647 GB, free: 11.59 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 3.625e-05/0.3015, allocations: 40 kB / 0.5647 GB, free: 11.55 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 1.403e-06/0.3016, allocations: 0 / 0.5647 GB, free: 11.55 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.493e-05/0.3016, allocations: 4.5 kB / 0.5647 GB, free: 11.54 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 2.781e-05/0.3016, allocations: 40 kB / 0.5647 GB, free: 11.5 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.446e-05/0.3016, allocations: 7.938 kB / 0.5648 GB, free: 11.5 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.00138/0.303, allocations: 0.9142 MB / 0.5656 GB, free: 10.59 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 8.686e-06/0.303, allocations: 0 / 0.5656 GB, free: 10.59 MB / 398.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 6 * 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: ................. 21 (21) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 68 (scalar:68, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 82 (scalar:80, array:2, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001207/0.3031, allocations: 48.11 kB / 0.5657 GB, free: 10.55 MB / 398.1 MB Notification: Performance of SimCode: time 0.02042/0.3235, allocations: 8.346 MB / 0.5738 GB, free: 2.168 MB / 398.1 MB Notification: Performance of Templates: time 0.05216/0.3757, allocations: 34.15 MB / 0.6072 GB, free: 0 / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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: 7.570585073903203]