Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001507/0.001507, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001683/0.001683, allocations: 217.1 kB / 23.01 MB, free: 4.602 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.326/1.326, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7113/0.7113, allocations: 100.3 MB / 413.5 MB, free: 3.719 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_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.00238/0.00238, allocations: 88.73 kB / 0.5645 GB, free: 35.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1089, allocations: 74.46 MB / 0.6372 GB, free: 7.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.0392/0.1481, allocations: 37.81 MB / 0.6741 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.1652, allocations: 15.21 MB / 0.689 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1663, allocations: 67.38 kB / 0.689 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.1682, allocations: 0.9562 MB / 0.69 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.1713, allocations: 1.387 MB / 0.6913 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.1738, allocations: 1.052 MB / 0.6924 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002349/0.1762, allocations: 1.957 MB / 0.6943 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.1766, allocations: 215.5 kB / 0.6945 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.1781, allocations: 1.082 MB / 0.6955 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000855/0.1789, allocations: 0.719 MB / 0.6962 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1791, allocations: 92 kB / 0.6963 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.1812, allocations: 0.8974 MB / 0.6972 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.1815, allocations: 322.5 kB / 0.6975 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006325/0.1821, allocations: 0.726 MB / 0.6982 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.1849, allocations: 2.128 MB / 0.7003 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.185, allocations: 0 / 0.7003 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.185, allocations: 4 kB / 0.7003 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.185, allocations: 0 / 0.7003 GB, free: 6.316 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.00327/0.1882, allocations: 2.026 MB / 0.7023 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1883, allocations: 12.03 kB / 0.7023 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.1886, allocations: 203 kB / 0.7025 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.1905, allocations: 1.131 MB / 0.7036 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.1906, allocations: 62 kB / 0.7036 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.1907, allocations: 80 kB / 0.7037 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.1921, allocations: 0.8727 MB / 0.7046 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1921, allocations: 0 / 0.7046 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.1921, allocations: 32 kB / 0.7046 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.1922, allocations: 23.94 kB / 0.7046 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.1935, allocations: 0.8159 MB / 0.7054 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.1979, allocations: 3.557 MB / 0.7089 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/0.1989, allocations: 0.572 MB / 0.7095 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.1994, allocations: 294.7 kB / 0.7097 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/0.2017, allocations: 1.299 MB / 0.711 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.2018, allocations: 47.22 kB / 0.711 GB, free: 10.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.114e-06/0.2018, allocations: 4 kB / 0.7111 GB, free: 10.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002389/0.2042, allocations: 1.08 MB / 0.7121 GB, free: 9.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.2042, allocations: 68 kB / 0.7122 GB, free: 9.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.2058, allocations: 1.344 MB / 0.7135 GB, free: 8.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.2059, allocations: 37.7 kB / 0.7135 GB, free: 8.277 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.2064, allocations: 0.6362 MB / 0.7141 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.2066, allocations: 257.8 kB / 0.7144 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.2068, allocations: 150.5 kB / 0.7145 GB, free: 7.227 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.2069, allocations: 330 kB / 0.7148 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.2073, allocations: 209.9 kB / 0.715 GB, free: 6.691 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/0.2078, allocations: 310.3 kB / 0.7153 GB, free: 6.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/0.2088, allocations: 0.5419 MB / 0.7159 GB, free: 5.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2088, allocations: 0 / 0.7159 GB, free: 5.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001584/0.2104, allocations: 0.8414 MB / 0.7167 GB, free: 4.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2104, allocations: 11.92 kB / 0.7167 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2104, allocations: 0 / 0.7167 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.2108, allocations: 105.8 kB / 0.7168 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.2113, allocations: 139.8 kB / 0.7169 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.2141, allocations: 3.011 MB / 0.7199 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.2146, allocations: 67.55 kB / 0.7199 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/0.2147, allocations: 31.97 kB / 0.72 GB, free: 1.352 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.0004931/0.2152, allocations: 326.8 kB / 0.7203 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.2154, allocations: 166.8 kB / 0.7204 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.2175, allocations: 1.129 MB / 0.7215 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.2175, allocations: 8.188 kB / 0.7216 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2175, allocations: 12 kB / 0.7216 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2175, allocations: 3.984 kB / 0.7216 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.2206, allocations: 1.987 MB / 0.7235 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2206, allocations: 3.938 kB / 0.7235 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/0.221, allocations: 127.8 kB / 0.7236 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003455/0.2214, allocations: 113.7 kB / 0.7237 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.2214, allocations: 27.98 kB / 0.7238 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.2241, allocations: 3.009 MB / 0.7267 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2241, allocations: 0 / 0.7267 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.2261, allocations: 1.229 MB / 0.7279 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.2266, allocations: 276.6 kB / 0.7282 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.2267, allocations: 23.95 kB / 0.7282 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.2272, allocations: 24.05 kB / 0.7282 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2273, allocations: 68.47 kB / 0.7283 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.2273, allocations: 31.92 kB / 0.7283 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001212/0.2285, allocations: 0.9506 MB / 0.7292 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2285, allocations: 0 / 0.7292 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001003/0.2296, allocations: 423 kB / 0.7296 GB, free: 7.07 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.001806/0.2314, allocations: 0.7813 MB / 0.7304 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.2328, allocations: 0.7955 MB / 0.7312 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2328, allocations: 0 / 0.7312 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/0.2336, allocations: 0.5444 MB / 0.7317 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.2352, allocations: 410.4 kB / 0.7321 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.2393, allocations: 2.545 MB / 0.7346 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/0.2401, allocations: 1.219 MB / 0.7358 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.2405, allocations: 127.4 kB / 0.7359 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.2405, allocations: 4 kB / 0.7359 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of Templates: time 0.2613/0.5018, allocations: 32.15 MB / 0.7673 GB, free: 103.7 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 10.507148426026106]