Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.001874/0.001874, allocations: 75.64 kB / 19.16 MB, free: 2.57 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.00237/0.00237, allocations: 171.4 kB / 22.44 MB, free: 5.32 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.512/1.512, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.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.7612/0.7612, allocations: 74.91 MB / 334.1 MB, free: 0 / 302.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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.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.002674/0.002674, allocations: 91 kB / 496 MB, free: 29.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1271, allocations: 73.03 MB / 0.5557 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1722/0.2993, allocations: 125.3 MB / 0.6781 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005074/0.3044, allocations: 3.05 MB / 0.681 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.3049, allocations: 23.81 kB / 0.6811 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.3057, allocations: 190.6 kB / 0.6812 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.3072, allocations: 0.4892 MB / 0.6817 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.3085, allocations: 406.4 kB / 0.6821 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3095, allocations: 0.7311 MB / 0.6828 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3097, allocations: 77.36 kB / 0.6829 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000976/0.3107, allocations: 494.2 kB / 0.6834 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.3112, allocations: 346.5 kB / 0.6837 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.3112, allocations: 32 kB / 0.6837 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.3124, allocations: 0.4989 MB / 0.6842 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3126, allocations: 87.62 kB / 0.6843 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.3128, allocations: 191 kB / 0.6845 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.3141, allocations: 0.7315 MB / 0.6852 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3141, allocations: 3.938 kB / 0.6852 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3141, allocations: 7.938 kB / 0.6852 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3141, allocations: 0 / 0.6852 GB, free: 10.43 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001681/0.3158, allocations: 0.7761 MB / 0.686 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3158, allocations: 15.95 kB / 0.686 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.316, allocations: 60.61 kB / 0.686 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.3168, allocations: 355.1 kB / 0.6864 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.3168, allocations: 25.38 kB / 0.6864 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.3169, allocations: 40.36 kB / 0.6864 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008234/0.3177, allocations: 432.1 kB / 0.6869 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.3177, allocations: 0 / 0.6869 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.3178, allocations: 16 kB / 0.6869 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3178, allocations: 8 kB / 0.6869 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.3186, allocations: 378.4 kB / 0.6872 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.3208, allocations: 1.219 MB / 0.6884 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008554/0.3217, allocations: 314.6 kB / 0.6887 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.322, allocations: 152.7 kB / 0.6889 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.3239, allocations: 0.7029 MB / 0.6896 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005356/0.3244, allocations: 210.9 kB / 0.6898 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.926e-06/0.3244, allocations: 0 / 0.6898 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001611/0.326, allocations: 0.5298 MB / 0.6903 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.3261, allocations: 59.16 kB / 0.6903 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.3265, allocations: 329.7 kB / 0.6906 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.3266, allocations: 33.7 kB / 0.6907 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.3268, allocations: 232.4 kB / 0.6909 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3269, allocations: 126.9 kB / 0.691 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.327, allocations: 78 kB / 0.6911 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3272, allocations: 358.8 kB / 0.6914 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.3275, allocations: 146.3 kB / 0.6916 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.3279, allocations: 204.4 kB / 0.6918 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.3286, allocations: 339.1 kB / 0.6921 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3286, allocations: 0 / 0.6921 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001096/0.3297, allocations: 0.4908 MB / 0.6926 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.3297, allocations: 33.7 kB / 0.6926 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3297, allocations: 4 kB / 0.6926 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.33, allocations: 44.98 kB / 0.6927 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/0.3303, allocations: 79.83 kB / 0.6927 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.3319, allocations: 1.394 MB / 0.6941 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.3322, allocations: 39.8 kB / 0.6941 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.3322, allocations: 16.06 kB / 0.6941 GB, free: 0.8477 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * 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.0002556/0.3325, allocations: 165.7 kB / 0.6943 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3326, allocations: 51.7 kB / 0.6944 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3338, allocations: 0.5063 MB / 0.6948 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3338, allocations: 8 kB / 0.6949 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3338, allocations: 3.938 kB / 0.6949 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3338, allocations: 7.984 kB / 0.6949 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2842/0.618, allocations: 0.8363 MB / 0.6957 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.618, allocations: 2.828 kB / 0.6957 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.6183, allocations: 65.48 kB / 0.6957 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.6186, allocations: 43.39 kB / 0.6958 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.6186, allocations: 10.16 kB / 0.6958 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.6199, allocations: 1.407 MB / 0.6972 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6199, allocations: 2.516 kB / 0.6972 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.6211, allocations: 0.6446 MB / 0.6978 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.6212, allocations: 42.25 kB / 0.6978 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.6213, allocations: 10.06 kB / 0.6979 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.6215, allocations: 20.39 kB / 0.6979 GB, free: 141.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6216, allocations: 40.59 kB / 0.6979 GB, free: 141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.6216, allocations: 15.7 kB / 0.6979 GB, free: 141 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002679/0.6219, allocations: 243 kB / 0.6982 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6219, allocations: 4.906 kB / 0.6982 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006546/0.6225, allocations: 164.7 kB / 0.6983 GB, free: 140.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.rear.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 (34): * Single equations (assignments): 31 * 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.000396/0.6229, allocations: 240.4 kB / 0.6986 GB, free: 140.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009869/0.6239, allocations: 0.5149 MB / 0.6991 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6239, allocations: 0 / 0.6991 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.6244, allocations: 281.9 kB / 0.6993 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.625, allocations: 113.5 kB / 0.6994 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.6265, allocations: 0.8445 MB / 0.7003 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.6267, allocations: 213.4 kB / 0.7005 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002411/0.627, allocations: 79.56 kB / 0.7005 GB, free: 139.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.775e-05/0.627, allocations: 46.58 kB / 0.7006 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.627, allocations: 2.938 kB / 0.7006 GB, free: 139.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.01537/0.6424, allocations: 7.81 MB / 0.7082 GB, free: 137.6 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.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.506162663921714]