Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.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.001439/0.001439, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001573/0.001573, allocations: 216.8 kB / 24.5 MB, free: 3.926 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.624/1.624, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2691/0.2691, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 5.574e-05/5.574e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5143/0.5144, allocations: 131.6 MB / 0.6258 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.5173, allocations: 1.974 MB / 0.6277 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.5174, allocations: 0 / 0.6277 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.5178, allocations: 55.67 kB / 0.6278 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.5195, allocations: 0.6493 MB / 0.6284 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.5198, allocations: 97.5 kB / 0.6285 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.5202, allocations: 251 kB / 0.6287 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.162e-05/0.5203, allocations: 16.73 kB / 0.6288 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.5206, allocations: 139.5 kB / 0.6289 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.5207, allocations: 79.67 kB / 0.629 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.5208, allocations: 11.98 kB / 0.629 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.522, allocations: 0.6739 MB / 0.6296 GB, free: 9.387 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0002975/0.5223, allocations: 253.9 kB / 0.6299 GB, free: 9.137 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001353/0.5224, allocations: 153.9 kB / 0.63 GB, free: 8.988 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.5225, allocations: 16 kB / 0.63 GB, free: 8.973 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-05/0.5225, allocations: 3.938 kB / 0.6301 GB, free: 8.969 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 (28) * Number of variables: 43 (28) Notification: Performance of [SIM] Bindings: time 0.001275/0.5237, allocations: 0.8899 MB / 0.6309 GB, free: 7.957 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001782/0.5239, allocations: 101.1 kB / 0.631 GB, free: 7.848 MB / 462.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j Notification: Performance of [SIM] Early Inline: time 0.001974/0.5259, allocations: 1.643 MB / 0.6326 GB, free: 6.207 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001516/0.5274, allocations: 1.327 MB / 0.6339 GB, free: 4.836 MB / 462.1 MB Notification: Performance of [SIM] Alias: time 0.001124/0.5285, allocations: 0.6707 MB / 0.6346 GB, free: 4.09 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001401/0.5299, allocations: 1.315 MB / 0.6359 GB, free: 2.73 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001479/0.5301, allocations: 117.6 kB / 0.636 GB, free: 2.586 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 0.0004546/0.5305, allocations: 303.5 kB / 0.6363 GB, free: 2.234 MB / 462.1 MB Notification: Performance of [SIM] Events: time 0.0002103/0.5308, allocations: 127.7 kB / 0.6364 GB, free: 2.109 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006316/0.5314, allocations: 455.7 kB / 0.6368 GB, free: 1.648 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.001496/0.5329, allocations: 0.9809 MB / 0.6378 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009617/0.5338, allocations: 0.9206 MB / 0.6387 GB, free: 15.73 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.001768/0.5356, allocations: 1.48 MB / 0.6401 GB, free: 14.18 MB / 478.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j Notification: Performance of [INI] Inline: time 0.004559/0.5402, allocations: 3.883 MB / 0.6439 GB, free: 10.31 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 5.387e-05/0.5402, allocations: 26.72 kB / 0.6439 GB, free: 10.27 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0005091/0.5407, allocations: 395.5 kB / 0.6443 GB, free: 9.887 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.002151/0.5429, allocations: 1.397 MB / 0.6457 GB, free: 8.477 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 4.25e-05/0.5429, allocations: 31.94 kB / 0.6457 GB, free: 8.445 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 2.564e-06/0.5429, allocations: 4 kB / 0.6457 GB, free: 8.441 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.378e-06/0.5429, allocations: 0 / 0.6457 GB, free: 8.441 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 1.713e-05/0.543, allocations: 20 kB / 0.6457 GB, free: 8.422 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 1.657e-05/0.543, allocations: 0 / 0.6457 GB, free: 8.422 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.01042/0.5534, allocations: 7.937 MB / 0.6535 GB, free: 15.92 MB / 494.1 MB Notification: Performance of [SIM] Jacobian: time 0.001267/0.5547, allocations: 0.8614 MB / 0.6543 GB, free: 14.98 MB / 494.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: ............... 2 * Number of algebraic event partitions: ......... 0 * 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: ............................. 8 (5) {medium2.p_bar, medium2.T_degC, state.p, state.T, medium2.X} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (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: ........... 33 (scalar:29, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, 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: ........... 41 (scalar:37, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.785e-05/0.5547, allocations: 22.61 kB / 0.6543 GB, free: 14.96 MB / 494.1 MB Notification: Performance of SimCode: time 0.006872/0.5616, allocations: 3.38 MB / 0.6576 GB, free: 11.54 MB / 494.1 MB Notification: Performance of Templates: time 0.03623/0.5978, allocations: 22.65 MB / 0.6798 GB, free: 4.77 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.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: 6.986983031965792]