Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.001334/0.001334, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001512/0.001512, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7824/0.7824, allocations: 94.62 MB / 407 MB, free: 8.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 92.66 kB / 0.5554 GB, free: 38.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1339, allocations: 73.05 MB / 0.6268 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.05133/0.1852, allocations: 41.36 MB / 0.6672 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.2026, allocations: 11.35 MB / 0.6783 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.2044, allocations: 79.31 kB / 0.6783 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.2075, allocations: 1.076 MB / 0.6794 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006394/0.2139, allocations: 2.129 MB / 0.6815 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003668/0.2176, allocations: 1.206 MB / 0.6826 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004268/0.2218, allocations: 2.856 MB / 0.6854 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006535/0.2225, allocations: 278.1 kB / 0.6857 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.2252, allocations: 1.471 MB / 0.6871 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.2267, allocations: 1.022 MB / 0.6881 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.2269, allocations: 136 kB / 0.6883 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.2298, allocations: 1.042 MB / 0.6893 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.2303, allocations: 434.1 kB / 0.6897 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009324/0.2312, allocations: 0.7771 MB / 0.6904 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004753/0.236, allocations: 2.883 MB / 0.6933 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.236, allocations: 4 kB / 0.6933 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.236, allocations: 0 / 0.6933 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.329e-05/0.236, allocations: 0 / 0.6933 GB, free: 11.28 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004901/0.2409, allocations: 2.498 MB / 0.6957 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2409, allocations: 12.03 kB / 0.6957 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008211/0.2418, allocations: 275.3 kB / 0.696 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.2443, allocations: 1.253 MB / 0.6972 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.2444, allocations: 103 kB / 0.6973 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.2446, allocations: 135.9 kB / 0.6974 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0028/0.2474, allocations: 1.547 MB / 0.6989 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/0.2474, allocations: 4 kB / 0.6989 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.2476, allocations: 48 kB / 0.699 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.2476, allocations: 32 kB / 0.699 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.2505, allocations: 1.587 MB / 0.7006 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006886/0.2573, allocations: 3.565 MB / 0.7041 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.2598, allocations: 1.215 MB / 0.7052 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.261, allocations: 0.6086 MB / 0.7058 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004762/0.2657, allocations: 1.978 MB / 0.7078 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.2672, allocations: 0.7871 MB / 0.7085 GB, free: 11.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=139): time 3.537e-06/0.2672, allocations: 4 kB / 0.7085 GB, free: 11.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=139): time 0.004527/0.2718, allocations: 1.943 MB / 0.7104 GB, free: 9.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.2718, allocations: 120.1 kB / 0.7106 GB, free: 9.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.2736, allocations: 1.251 MB / 0.7118 GB, free: 7.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.2737, allocations: 53.64 kB / 0.7118 GB, free: 7.934 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000739/0.2744, allocations: 0.7184 MB / 0.7125 GB, free: 7.207 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004557/0.2749, allocations: 495.7 kB / 0.713 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.2753, allocations: 246.8 kB / 0.7132 GB, free: 6.473 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2755, allocations: 349.9 kB / 0.7136 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000965/0.2765, allocations: 484.1 kB / 0.714 GB, free: 5.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.2777, allocations: 0.705 MB / 0.7147 GB, free: 4.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.2799, allocations: 1.161 MB / 0.7159 GB, free: 3.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2799, allocations: 0 / 0.7159 GB, free: 3.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003253/0.2831, allocations: 1.555 MB / 0.7174 GB, free: 2.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.2832, allocations: 39.89 kB / 0.7174 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2832, allocations: 0 / 0.7174 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/0.2836, allocations: 109.6 kB / 0.7175 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.2847, allocations: 275.6 kB / 0.7178 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/0.2879, allocations: 2.952 MB / 0.7207 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009597/0.2889, allocations: 123.3 kB / 0.7208 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.289, allocations: 55.98 kB / 0.7208 GB, free: 14.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007933/0.2898, allocations: 381.5 kB / 0.7212 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.2901, allocations: 174.9 kB / 0.7214 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/0.2944, allocations: 2.11 MB / 0.7234 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.2944, allocations: 16 kB / 0.7234 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2944, allocations: 0 / 0.7234 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.2945, allocations: 7.969 kB / 0.7234 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005819/0.3003, allocations: 2.943 MB / 0.7263 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.3003, allocations: 7.922 kB / 0.7263 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009922/0.3013, allocations: 267.6 kB / 0.7266 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000359/0.3016, allocations: 113.7 kB / 0.7267 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.785e-05/0.3017, allocations: 51.97 kB / 0.7267 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/0.3048, allocations: 2.959 MB / 0.7296 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3048, allocations: 4.031 kB / 0.7296 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/0.3091, allocations: 2.302 MB / 0.7319 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/0.31, allocations: 392.1 kB / 0.7323 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.3102, allocations: 32 kB / 0.7323 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.3108, allocations: 43.97 kB / 0.7323 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.3111, allocations: 121 kB / 0.7324 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.3112, allocations: 55.97 kB / 0.7325 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001301/0.3125, allocations: 0.8784 MB / 0.7334 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3125, allocations: 0 / 0.7334 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001561/0.314, allocations: 0.573 MB / 0.7339 GB, free: 0.6445 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/0.3162, allocations: 0.8138 MB / 0.7347 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002979/0.3192, allocations: 1.509 MB / 0.7362 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3192, allocations: 0.875 kB / 0.7362 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.3208, allocations: 0.9144 MB / 0.7371 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.3228, allocations: 463.3 kB / 0.7375 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.3286, allocations: 3.194 MB / 0.7406 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009081/0.3295, allocations: 0.7628 MB / 0.7414 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001145/0.3307, allocations: 364.7 kB / 0.7417 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/0.3311, allocations: 179.4 kB / 0.7419 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.3311, allocations: 0 / 0.7419 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of Templates: time 0.3148/0.6459, allocations: 29.89 MB / 0.7711 GB, free: 109.7 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.948615068569779]