Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001566/0.001566, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001744/0.001744, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.349/1.349, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.693/0.693, allocations: 94.56 MB / 407.7 MB, free: 9.215 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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.FlowControl.Tests.CheckValve") [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.002401/0.002401, allocations: 87.28 kB / 0.5562 GB, free: 38.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1114, allocations: 73.05 MB / 0.6275 GB, free: 24 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.4536/0.565, allocations: 144.5 MB / 0.7686 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00323/0.5683, allocations: 3.646 MB / 0.7721 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000349/0.5686, allocations: 20.34 kB / 0.7722 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.5691, allocations: 178.2 kB / 0.7723 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007277/0.5699, allocations: 394.6 kB / 0.7727 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.5705, allocations: 303.6 kB / 0.773 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.571, allocations: 0.5259 MB / 0.7735 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.5711, allocations: 56.91 kB / 0.7736 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.5715, allocations: 270.9 kB / 0.7738 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.5718, allocations: 238.2 kB / 0.7741 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.5718, allocations: 23.88 kB / 0.7741 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.5728, allocations: 0.5007 MB / 0.7746 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.5729, allocations: 64.17 kB / 0.7746 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.5731, allocations: 180.8 kB / 0.7748 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009068/0.574, allocations: 0.5517 MB / 0.7753 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.574, allocations: 4 kB / 0.7753 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.574, allocations: 0.5625 kB / 0.7753 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.574, allocations: 0 / 0.7753 GB, free: 2.168 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001401/0.5754, allocations: 0.6771 MB / 0.776 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5755, allocations: 9.469 kB / 0.776 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5756, allocations: 47.78 kB / 0.7761 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.5762, allocations: 328.5 kB / 0.7764 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.5762, allocations: 20.69 kB / 0.7764 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.5763, allocations: 25.75 kB / 0.7764 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.5768, allocations: 260.4 kB / 0.7767 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.5768, allocations: 3.219 kB / 0.7767 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.5768, allocations: 9 kB / 0.7767 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.5768, allocations: 5.406 kB / 0.7767 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.5774, allocations: 224.7 kB / 0.7769 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.5787, allocations: 1.057 MB / 0.7779 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.5791, allocations: 220.1 kB / 0.7781 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.5793, allocations: 98.98 kB / 0.7782 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/0.5801, allocations: 0.5054 MB / 0.7787 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.5804, allocations: 155.5 kB / 0.7789 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.5804, allocations: 0 / 0.7789 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001047/0.5815, allocations: 384.4 kB / 0.7792 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.5815, allocations: 62.44 kB / 0.7793 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.5819, allocations: 342.4 kB / 0.7796 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.5819, allocations: 31.45 kB / 0.7797 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.582, allocations: 199.4 kB / 0.7798 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.5821, allocations: 83.64 kB / 0.7799 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.5822, allocations: 47.61 kB / 0.78 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.5823, allocations: 347.8 kB / 0.7803 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.5826, allocations: 82.44 kB / 0.7804 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.5828, allocations: 113.2 kB / 0.7805 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.5833, allocations: 215.9 kB / 0.7807 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5833, allocations: 4 kB / 0.7807 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006229/0.5839, allocations: 351.1 kB / 0.781 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.5839, allocations: 31.45 kB / 0.7811 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5839, allocations: 0 / 0.7811 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.5842, allocations: 44.16 kB / 0.7811 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.5844, allocations: 45.39 kB / 0.7812 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.5856, allocations: 1.428 MB / 0.7825 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.5858, allocations: 34.66 kB / 0.7826 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.5858, allocations: 5.406 kB / 0.7826 GB, free: 14.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * 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.0001516/0.5859, allocations: 150.2 kB / 0.7827 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.586, allocations: 36.08 kB / 0.7828 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.5867, allocations: 337.9 kB / 0.7831 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5867, allocations: 3.625 kB / 0.7831 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5867, allocations: 1.375 kB / 0.7831 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5867, allocations: 2.344 kB / 0.7831 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.5877, allocations: 0.7241 MB / 0.7838 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5877, allocations: 4.094 kB / 0.7838 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.5878, allocations: 41.8 kB / 0.7838 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.5879, allocations: 42.98 kB / 0.7839 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.588, allocations: 8.797 kB / 0.7839 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.589, allocations: 1.431 MB / 0.7853 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.589, allocations: 64 / 0.7853 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007781/0.5898, allocations: 0.5021 MB / 0.7858 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.5899, allocations: 36.17 kB / 0.7858 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.5899, allocations: 10.03 kB / 0.7858 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.5901, allocations: 17.59 kB / 0.7858 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.5902, allocations: 27.22 kB / 0.7859 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.5902, allocations: 9.797 kB / 0.7859 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00024/0.5904, allocations: 244.3 kB / 0.7861 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5904, allocations: 0 / 0.7861 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004744/0.5909, allocations: 127.5 kB / 0.7862 GB, free: 12.12 MB / 0.5919 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.0003264/0.5912, allocations: 222.7 kB / 0.7864 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007054/0.5919, allocations: 382 kB / 0.7868 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5919, allocations: 0 / 0.7868 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.5923, allocations: 234.9 kB / 0.787 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.5929, allocations: 115.6 kB / 0.7871 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.5941, allocations: 0.7244 MB / 0.7878 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.5944, allocations: 0.7869 MB / 0.7886 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.367e-05/0.5945, allocations: 39.38 kB / 0.7887 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5945, allocations: 0 / 0.7887 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.008614/0.6031, allocations: 7.173 MB / 0.7957 GB, free: 9.75 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 8.573276184033602]