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.001302/0.001302, allocations: 73.88 kB / 20.66 MB, free: 3.84 MB / 18.57 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.001648/0.001648, allocations: 169 kB / 24.05 MB, free: 456 kB / 18.57 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.003/1.003, allocations: 177.2 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6663/0.6663, allocations: 118.7 MB / 379.7 MB, free: 1.398 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 1.406 kB / 484.8 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.787e-05, allocations: 2.312 kB / 484.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.007426/0.007444, allocations: 10.3 MB / 495.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.0123, allocations: 3.549 MB / 498.7 MB, free: 14.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.01305, allocations: 78.19 kB / 498.8 MB, free: 14.59 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009462/0.014, allocations: 0.607 MB / 499.4 MB, free: 14.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.01583, allocations: 1.09 MB / 0.4887 GB, free: 13.71 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.01728, allocations: 0.7028 MB / 0.4894 GB, free: 13.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.01955, allocations: 2.256 MB / 0.4916 GB, free: 12.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.0199, allocations: 216.1 kB / 0.4918 GB, free: 12.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.02206, allocations: 1.556 MB / 0.4934 GB, free: 11.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.0227, allocations: 0.5857 MB / 0.4939 GB, free: 10.87 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.02283, allocations: 92 kB / 0.494 GB, free: 10.78 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.02331, allocations: 261.8 kB / 0.4943 GB, free: 10.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.02354, allocations: 352 kB / 0.4946 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.02394, allocations: 491.6 kB / 0.4951 GB, free: 9.801 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.02523, allocations: 1.449 MB / 0.4965 GB, free: 8.551 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.02524, allocations: 0 / 0.4965 GB, free: 8.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.02524, allocations: 0 / 0.4965 GB, free: 8.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.02526, allocations: 0 / 0.4965 GB, free: 8.551 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002189/0.02745, allocations: 2.217 MB / 0.4987 GB, free: 6.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.02747, allocations: 8.031 kB / 0.4987 GB, free: 6.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.02783, allocations: 317.3 kB / 0.499 GB, free: 6.172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.02905, allocations: 1.244 MB / 0.5002 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.02909, allocations: 62.38 kB / 0.5002 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.02917, allocations: 88.33 kB / 0.5003 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.0298, allocations: 0.6605 MB / 0.501 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.02982, allocations: 0 / 0.501 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.02986, allocations: 36 kB / 0.501 GB, free: 4.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.02988, allocations: 20 kB / 0.501 GB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003426/0.03022, allocations: 317.5 kB / 0.5013 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.0325, allocations: 2.638 MB / 0.5039 GB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.03301, allocations: 0.5104 MB / 0.5044 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.03317, allocations: 177.3 kB / 0.5046 GB, free: 400 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.03428, allocations: 1.011 MB / 0.5056 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.03431, allocations: 42.05 kB / 0.5056 GB, free: 15.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 1.833e-06/0.03431, allocations: 0 / 0.5056 GB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=69): time 0.00103/0.03534, allocations: 0.7536 MB / 0.5063 GB, free: 14.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.03537, allocations: 60.06 kB / 0.5064 GB, free: 14.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/0.0363, allocations: 1.3 MB / 0.5077 GB, free: 13.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.03634, allocations: 41.7 kB / 0.5077 GB, free: 13.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.03676, allocations: 0.7772 MB / 0.5085 GB, free: 12.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.03688, allocations: 245.8 kB / 0.5087 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.03701, allocations: 152.1 kB / 0.5088 GB, free: 11.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.03712, allocations: 0.5042 MB / 0.5093 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.03723, allocations: 81.92 kB / 0.5094 GB, free: 11.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.03747, allocations: 462.6 kB / 0.5098 GB, free: 10.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.0378, allocations: 376.7 kB / 0.5102 GB, free: 10.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.0378, allocations: 4 kB / 0.5102 GB, free: 10.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006555/0.03846, allocations: 0.6244 MB / 0.5108 GB, free: 9.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.03847, allocations: 4 kB / 0.5108 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.03848, allocations: 8.062 kB / 0.5108 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.03882, allocations: 131.3 kB / 0.511 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.0391, allocations: 131.8 kB / 0.5111 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.04077, allocations: 3.677 MB / 0.5147 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.04105, allocations: 67.36 kB / 0.5147 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.04109, allocations: 27.98 kB / 0.5148 GB, free: 5.414 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0002029/0.04129, allocations: 196.5 kB / 0.515 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.04144, allocations: 194.8 kB / 0.5151 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008697/0.04231, allocations: 0.872 MB / 0.516 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.04231, allocations: 12 kB / 0.516 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.04232, allocations: 0 / 0.516 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.04232, allocations: 3.984 kB / 0.516 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.04362, allocations: 1.322 MB / 0.5173 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.04362, allocations: 4 kB / 0.5173 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.04382, allocations: 103.8 kB / 0.5174 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.0441, allocations: 135.3 kB / 0.5175 GB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.04413, allocations: 27.97 kB / 0.5176 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.04574, allocations: 3.67 MB / 0.5211 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.04574, allocations: 4 kB / 0.5211 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.04651, allocations: 0.8716 MB / 0.522 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.04676, allocations: 260.5 kB / 0.5222 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.04684, allocations: 16 kB / 0.5223 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.04707, allocations: 20.06 kB / 0.5223 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.04715, allocations: 60.42 kB / 0.5223 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.04718, allocations: 27.92 kB / 0.5224 GB, free: 13.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005299/0.04771, allocations: 0.7497 MB / 0.5231 GB, free: 12.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04771, allocations: 4 kB / 0.5231 GB, free: 12.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000554/0.04826, allocations: 327.4 kB / 0.5234 GB, free: 12.17 MB / 458.7 MB 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 (59): * Single equations (assignments): 57 * 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.0007652/0.04903, allocations: 385.9 kB / 0.5238 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006026/0.04963, allocations: 0.7009 MB / 0.5245 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.04963, allocations: 0 / 0.5245 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.04998, allocations: 0.5625 MB / 0.525 GB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.05117, allocations: 0.525 MB / 0.5255 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.05385, allocations: 2.413 MB / 0.5279 GB, free: 7.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.05403, allocations: 268.3 kB / 0.5281 GB, free: 7.297 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004431/0.05447, allocations: 229.6 kB / 0.5284 GB, free: 7.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006313/0.0551, allocations: 473.9 kB / 0.5288 GB, free: 6.605 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0551, allocations: 0 / 0.5288 GB, free: 6.605 MB / 458.7 MB Notification: Performance of Templates: time 0.02289/0.07799, allocations: 21.09 MB / 0.5494 GB, free: 1.988 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.918857252690941]