Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.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.0009093/0.0009093, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008556/0.0008556, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 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 0.8821/0.8821, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 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.633/0.633, allocations: 116 MB / 376 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.5545 GB, free: 12.87 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.102e-05, allocations: 10.22 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.4471/0.4472, allocations: 125 MB / 0.6766 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.4495, allocations: 2.537 MB / 0.6791 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.4497, allocations: 21.72 kB / 0.6791 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.4502, allocations: 165.8 kB / 0.6792 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006514/0.4508, allocations: 435.3 kB / 0.6797 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.4513, allocations: 305.5 kB / 0.6799 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.4519, allocations: 0.6023 MB / 0.6805 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.4521, allocations: 63.47 kB / 0.6806 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.4526, allocations: 373.6 kB / 0.6809 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.4528, allocations: 205.9 kB / 0.6811 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.4529, allocations: 24.81 kB / 0.6812 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.4534, allocations: 435 kB / 0.6816 GB, free: 7.074 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.4535, allocations: 62.5 kB / 0.6816 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.4536, allocations: 130.8 kB / 0.6818 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.4542, allocations: 0.5907 MB / 0.6823 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4542, allocations: 0 / 0.6823 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4542, allocations: 0 / 0.6823 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4543, allocations: 0 / 0.6823 GB, free: 6.961 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008932/0.4551, allocations: 0.7024 MB / 0.683 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4552, allocations: 9.625 kB / 0.683 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.4553, allocations: 55.38 kB / 0.6831 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.4557, allocations: 347.5 kB / 0.6834 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.4557, allocations: 15.53 kB / 0.6834 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.4558, allocations: 27.14 kB / 0.6835 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.4561, allocations: 278.5 kB / 0.6837 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4561, allocations: 3.938 kB / 0.6837 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.4562, allocations: 10.25 kB / 0.6837 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4562, allocations: 10.5 kB / 0.6838 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.4565, allocations: 223.2 kB / 0.684 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.4573, allocations: 0.8023 MB / 0.6848 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.4576, allocations: 209.9 kB / 0.685 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.4578, allocations: 95.89 kB / 0.685 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.4582, allocations: 462.9 kB / 0.6855 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.4585, allocations: 152 kB / 0.6856 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.4585, allocations: 0 / 0.6856 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.0006961/0.4592, allocations: 381.8 kB / 0.686 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.4592, allocations: 60.58 kB / 0.6861 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.4595, allocations: 356.3 kB / 0.6864 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4595, allocations: 34.48 kB / 0.6864 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.4596, allocations: 207.1 kB / 0.6866 GB, free: 5.027 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.4596, allocations: 78.38 kB / 0.6867 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.4597, allocations: 57.66 kB / 0.6868 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.4597, allocations: 351.3 kB / 0.6871 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.4598, allocations: 113.2 kB / 0.6872 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.46, allocations: 140.7 kB / 0.6873 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.4602, allocations: 230.5 kB / 0.6875 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4602, allocations: 4 kB / 0.6876 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004248/0.4607, allocations: 385.5 kB / 0.6879 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.4607, allocations: 34.02 kB / 0.688 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4607, allocations: 5.016 kB / 0.688 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.4609, allocations: 44.5 kB / 0.688 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.461, allocations: 46.97 kB / 0.688 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006564/0.4616, allocations: 1.387 MB / 0.6894 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.4617, allocations: 23.84 kB / 0.6894 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.4618, allocations: 12.91 kB / 0.6894 GB, free: 3.055 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.4619, allocations: 162.4 kB / 0.6896 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.4619, allocations: 45.11 kB / 0.6896 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.4624, allocations: 329.7 kB / 0.6899 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4624, allocations: 2.094 kB / 0.6899 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4624, allocations: 1.156 kB / 0.6899 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4624, allocations: 2.859 kB / 0.69 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.463, allocations: 0.6561 MB / 0.6906 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.463, allocations: 0 / 0.6906 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.4631, allocations: 40.56 kB / 0.6906 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.4632, allocations: 44.02 kB / 0.6907 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4632, allocations: 9.125 kB / 0.6907 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005469/0.4638, allocations: 1.395 MB / 0.692 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4638, allocations: 1.344 kB / 0.692 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.4643, allocations: 0.4907 MB / 0.6925 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.4644, allocations: 65.72 kB / 0.6926 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.4644, allocations: 8.719 kB / 0.6926 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.4645, allocations: 15.95 kB / 0.6926 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.4646, allocations: 29.7 kB / 0.6926 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.4646, allocations: 10.59 kB / 0.6926 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001722/0.4648, allocations: 252.3 kB / 0.6929 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.4648, allocations: 0 / 0.6929 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003086/0.4651, allocations: 139.5 kB / 0.693 GB, free: 1.023 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.inlet.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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002732/0.4654, allocations: 224.2 kB / 0.6932 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004863/0.4658, allocations: 408.7 kB / 0.6936 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4658, allocations: 1.125 kB / 0.6936 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.466, allocations: 233.3 kB / 0.6938 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.4665, allocations: 142.7 kB / 0.694 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4676, allocations: 0.7543 MB / 0.6947 GB, free: 16.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.4677, allocations: 191 kB / 0.6949 GB, free: 16.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.4678, allocations: 38.22 kB / 0.6949 GB, free: 16.06 MB / 0.573 GB Notification: Performance of SimCode: time 5.01e-07/0.4678, allocations: 0 / 0.6949 GB, free: 16.06 MB / 0.573 GB Notification: Performance of Templates: time 0.00684/0.4746, allocations: 7.758 MB / 0.7025 GB, free: 13.53 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.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.046192097477615]