Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001463/0.001463, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001779/0.001779, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.988 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.7671/0.7671, allocations: 94.56 MB / 407 MB, free: 9.199 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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.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.002568/0.002568, allocations: 86.8 kB / 0.5554 GB, free: 38.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1156, allocations: 73.06 MB / 0.6268 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04449/0.1601, allocations: 37.82 MB / 0.6637 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.1795, allocations: 15.2 MB / 0.6786 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.1806, allocations: 71.31 kB / 0.6786 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.1827, allocations: 0.96 MB / 0.6796 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003519/0.1862, allocations: 1.387 MB / 0.6809 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.189, allocations: 1.048 MB / 0.6819 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002764/0.1918, allocations: 1.961 MB / 0.6839 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.1922, allocations: 219.5 kB / 0.6841 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.194, allocations: 1.078 MB / 0.6851 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.195, allocations: 0.7191 MB / 0.6858 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.1952, allocations: 91.98 kB / 0.6859 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.1977, allocations: 0.8936 MB / 0.6868 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.1981, allocations: 326.5 kB / 0.6871 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007562/0.1989, allocations: 0.726 MB / 0.6878 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.2026, allocations: 2.124 MB / 0.6899 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2026, allocations: 0 / 0.6899 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2026, allocations: 0 / 0.6899 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.911e-05/0.2026, allocations: 11.98 kB / 0.6899 GB, free: 15.09 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00373/0.2063, allocations: 2.022 MB / 0.6919 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2064, allocations: 12.03 kB / 0.6919 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.2067, allocations: 207 kB / 0.6921 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.2089, allocations: 1.135 MB / 0.6932 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.209, allocations: 62 kB / 0.6932 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.2091, allocations: 87.95 kB / 0.6933 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.2106, allocations: 0.8649 MB / 0.6942 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2106, allocations: 4 kB / 0.6942 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.2107, allocations: 28 kB / 0.6942 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.2107, allocations: 23.94 kB / 0.6942 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.2122, allocations: 0.8198 MB / 0.695 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005171/0.2174, allocations: 3.549 MB / 0.6985 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2185, allocations: 0.5706 MB / 0.699 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.2191, allocations: 306.7 kB / 0.6993 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002699/0.2218, allocations: 1.291 MB / 0.7006 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.2218, allocations: 47.2 kB / 0.7006 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 3.968e-06/0.2218, allocations: 7.984 kB / 0.7006 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002718/0.2245, allocations: 1.084 MB / 0.7017 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.2246, allocations: 68 kB / 0.7018 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.2264, allocations: 1.341 MB / 0.7031 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.054e-05/0.2265, allocations: 37.7 kB / 0.7031 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005956/0.2271, allocations: 0.6323 MB / 0.7037 GB, free: 420 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.2273, allocations: 261.7 kB / 0.704 GB, free: 156 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.2276, allocations: 146.5 kB / 0.7041 GB, free: 4 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2277, allocations: 330 kB / 0.7044 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.2282, allocations: 217.9 kB / 0.7046 GB, free: 15.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.2288, allocations: 306.2 kB / 0.7049 GB, free: 15.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.2298, allocations: 0.5459 MB / 0.7055 GB, free: 14.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2298, allocations: 0 / 0.7055 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001723/0.2315, allocations: 0.8297 MB / 0.7063 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2316, allocations: 11.94 kB / 0.7063 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2316, allocations: 0 / 0.7063 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.232, allocations: 109.8 kB / 0.7064 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.2326, allocations: 139.8 kB / 0.7065 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.2356, allocations: 3.005 MB / 0.7095 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.2362, allocations: 71.53 kB / 0.7095 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.2363, allocations: 31.98 kB / 0.7096 GB, free: 10.12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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.0005506/0.2368, allocations: 325.7 kB / 0.7099 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.2371, allocations: 162.9 kB / 0.71 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.2394, allocations: 1.144 MB / 0.7111 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2394, allocations: 8 kB / 0.7112 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2394, allocations: 4 kB / 0.7112 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2394, allocations: 3.984 kB / 0.7112 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.2429, allocations: 1.975 MB / 0.7131 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.2429, allocations: 7.922 kB / 0.7131 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.2434, allocations: 123.8 kB / 0.7132 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.2438, allocations: 113.7 kB / 0.7133 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.2438, allocations: 23.98 kB / 0.7133 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/0.2468, allocations: 3.017 MB / 0.7163 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2468, allocations: 0 / 0.7163 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.2492, allocations: 1.233 MB / 0.7175 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/0.2498, allocations: 276.6 kB / 0.7178 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.2499, allocations: 20 kB / 0.7178 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.2504, allocations: 19.98 kB / 0.7178 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.2505, allocations: 68.48 kB / 0.7179 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.2506, allocations: 27.92 kB / 0.7179 GB, free: 1.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001382/0.252, allocations: 0.9545 MB / 0.7188 GB, free: 272 kB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.252, allocations: 3.938 kB / 0.7188 GB, free: 268 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001158/0.2531, allocations: 431 kB / 0.7192 GB, free: 15.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002006/0.2551, allocations: 0.7584 MB / 0.72 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.2568, allocations: 0.7916 MB / 0.7208 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2568, allocations: 384 / 0.7208 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009297/0.2577, allocations: 0.5594 MB / 0.7213 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.2595, allocations: 404.4 kB / 0.7217 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/0.2641, allocations: 2.491 MB / 0.7241 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.2651, allocations: 1.208 MB / 0.7253 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009996/0.2661, allocations: 254.8 kB / 0.7255 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.2665, allocations: 119.4 kB / 0.7257 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.2665, allocations: 0 / 0.7257 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of Templates: time 0.04252/0.309, allocations: 22.03 MB / 0.7472 GB, free: 3.449 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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.608756104018539]