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.001643/0.001643, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001826/0.001826, allocations: 158.8 kB / 23.01 MB, free: 4.941 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.7685/0.7685, allocations: 74.91 MB / 334.7 MB, free: 15.53 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.002672/0.002672, allocations: 85.19 kB / 496.4 MB, free: 29.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1545, allocations: 73.03 MB / 0.556 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.1782/0.3327, allocations: 124 MB / 0.6772 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005896/0.3386, allocations: 3.3 MB / 0.6804 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005825/0.3392, allocations: 23.81 kB / 0.6804 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009175/0.3401, allocations: 158.9 kB / 0.6805 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.3415, allocations: 389.8 kB / 0.6809 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3428, allocations: 295 kB / 0.6812 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3439, allocations: 0.525 MB / 0.6817 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.3441, allocations: 53.98 kB / 0.6818 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008481/0.345, allocations: 274.8 kB / 0.682 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.3454, allocations: 215 kB / 0.6822 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.3455, allocations: 24 kB / 0.6823 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.3468, allocations: 427.3 kB / 0.6827 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.347, allocations: 71.64 kB / 0.6827 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.3472, allocations: 147.2 kB / 0.6829 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.3486, allocations: 0.537 MB / 0.6834 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3486, allocations: 0 / 0.6834 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.521e-06/0.3486, allocations: 7.984 kB / 0.6834 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.3487, allocations: 0 / 0.6834 GB, free: 12.68 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001757/0.3504, allocations: 0.6819 MB / 0.6841 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/0.3505, allocations: 8.031 kB / 0.6841 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.3507, allocations: 48.66 kB / 0.6841 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.3515, allocations: 319.2 kB / 0.6844 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.3515, allocations: 24.62 kB / 0.6845 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.3516, allocations: 23.98 kB / 0.6845 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.3522, allocations: 262.8 kB / 0.6847 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3522, allocations: 3.938 kB / 0.6847 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3522, allocations: 8 kB / 0.6847 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3522, allocations: 8 kB / 0.6847 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.3528, allocations: 221.9 kB / 0.685 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.3544, allocations: 0.7094 MB / 0.6856 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.3551, allocations: 222.4 kB / 0.6859 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.3553, allocations: 96.81 kB / 0.686 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/0.3563, allocations: 476 kB / 0.6864 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004174/0.3567, allocations: 168.5 kB / 0.6866 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 3.707e-06/0.3567, allocations: 0 / 0.6866 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001333/0.3581, allocations: 392 kB / 0.6869 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.3581, allocations: 59.34 kB / 0.687 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/0.3586, allocations: 321.7 kB / 0.6873 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.3586, allocations: 41.58 kB / 0.6873 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3588, allocations: 204.4 kB / 0.6875 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.3589, allocations: 83.27 kB / 0.6876 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.359, allocations: 53.94 kB / 0.6877 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3592, allocations: 346.8 kB / 0.688 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.3595, allocations: 101.9 kB / 0.6881 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.3598, allocations: 144.7 kB / 0.6882 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/0.3603, allocations: 214.7 kB / 0.6884 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3603, allocations: 0 / 0.6884 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008816/0.3612, allocations: 379.3 kB / 0.6888 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.3612, allocations: 33.69 kB / 0.6888 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3612, allocations: 0 / 0.6888 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.3615, allocations: 44.77 kB / 0.6889 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3618, allocations: 43.97 kB / 0.6889 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.3634, allocations: 1.39 MB / 0.6903 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3636, allocations: 31.84 kB / 0.6903 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.3637, allocations: 8 kB / 0.6903 GB, free: 5.227 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.0002222/0.3639, allocations: 149.8 kB / 0.6905 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.364, allocations: 35.77 kB / 0.6905 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009206/0.365, allocations: 341.5 kB / 0.6908 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.365, allocations: 4 kB / 0.6908 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.365, allocations: 0 / 0.6908 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.365, allocations: 4 kB / 0.6908 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.3664, allocations: 0.6492 MB / 0.6915 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.3665, allocations: 3.984 kB / 0.6915 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3666, allocations: 43.91 kB / 0.6915 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.3668, allocations: 40.81 kB / 0.6915 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.3669, allocations: 8 kB / 0.6915 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.3684, allocations: 1.398 MB / 0.6929 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3684, allocations: 0 / 0.6929 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3695, allocations: 0.4935 MB / 0.6934 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/0.3696, allocations: 35.73 kB / 0.6934 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.3696, allocations: 7.984 kB / 0.6934 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3698, allocations: 15.98 kB / 0.6935 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.37, allocations: 39.95 kB / 0.6935 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.37, allocations: 4 kB / 0.6935 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003086/0.3703, allocations: 235.2 kB / 0.6937 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3703, allocations: 0 / 0.6937 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005669/0.3709, allocations: 127.7 kB / 0.6938 GB, free: 1.422 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.0004142/0.3713, allocations: 227 kB / 0.6941 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009945/0.3723, allocations: 417.2 kB / 0.6945 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3723, allocations: 0 / 0.6945 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.3728, allocations: 234.4 kB / 0.6947 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007021/0.3735, allocations: 99.05 kB / 0.6948 GB, free: 432 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3085/0.682, allocations: 0.6827 MB / 0.6954 GB, free: 141.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.6822, allocations: 184.4 kB / 0.6956 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002968/0.6825, allocations: 54.78 kB / 0.6957 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.6826, allocations: 35.02 kB / 0.6957 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.273e-06/0.6826, allocations: 0 / 0.6957 GB, free: 141.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.01511/0.6977, allocations: 6.51 MB / 0.7021 GB, free: 140.9 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 -s ida -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: 6.111576714902185]