Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 101.7 kB / 19.7 MB, free: 2.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 192.5 kB / 22.98 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6862/0.6862, allocations: 94.59 MB / 401.6 MB, free: 15.63 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_dev_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_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 90 kB / 0.5479 GB, free: 42.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1025, allocations: 71.87 MB / 0.6181 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4214/0.5239, allocations: 145.9 MB / 0.7606 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003321/0.5272, allocations: 3.357 MB / 0.7639 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.5277, allocations: 27.47 kB / 0.7639 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.5283, allocations: 207.9 kB / 0.7641 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009918/0.5292, allocations: 0.5015 MB / 0.7646 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000919/0.5302, allocations: 409.8 kB / 0.765 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005962/0.5308, allocations: 0.7272 MB / 0.7657 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.5309, allocations: 78.39 kB / 0.7658 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005442/0.5315, allocations: 367.2 kB / 0.7661 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003935/0.5319, allocations: 362.3 kB / 0.7665 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.5319, allocations: 34.69 kB / 0.7665 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.5331, allocations: 0.5964 MB / 0.7671 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.5331, allocations: 93.23 kB / 0.7672 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.5334, allocations: 237.8 kB / 0.7674 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.5344, allocations: 0.726 MB / 0.7681 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5344, allocations: 3.984 kB / 0.7681 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5344, allocations: 1.438 kB / 0.7681 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.5344, allocations: 0 / 0.7681 GB, free: 3.031 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001361/0.5358, allocations: 0.8521 MB / 0.769 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5358, allocations: 8.625 kB / 0.769 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5359, allocations: 59.41 kB / 0.769 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.5367, allocations: 428.8 kB / 0.7694 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.5367, allocations: 26.66 kB / 0.7695 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/0.5368, allocations: 35.97 kB / 0.7695 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/0.5376, allocations: 431.5 kB / 0.7699 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5376, allocations: 0.5938 kB / 0.7699 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.5376, allocations: 14.88 kB / 0.7699 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.5376, allocations: 8.281 kB / 0.7699 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006524/0.5383, allocations: 379.7 kB / 0.7703 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.5402, allocations: 1.856 MB / 0.7721 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.5409, allocations: 315.9 kB / 0.7724 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.5412, allocations: 150.6 kB / 0.7726 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.5431, allocations: 1.535 MB / 0.7741 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004356/0.5435, allocations: 209.2 kB / 0.7743 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.455e-06/0.5435, allocations: 1 kB / 0.7743 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001309/0.5448, allocations: 0.6075 MB / 0.7749 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5449, allocations: 56.53 kB / 0.7749 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.5453, allocations: 365.6 kB / 0.7753 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.5453, allocations: 32.33 kB / 0.7753 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.5454, allocations: 221.8 kB / 0.7755 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.5455, allocations: 135.8 kB / 0.7756 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.5456, allocations: 72.09 kB / 0.7757 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5458, allocations: 357.7 kB / 0.776 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.546, allocations: 114.6 kB / 0.7761 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.5462, allocations: 185.1 kB / 0.7763 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.5467, allocations: 339.4 kB / 0.7766 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5467, allocations: 0 / 0.7766 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007537/0.5475, allocations: 465.6 kB / 0.7771 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.5475, allocations: 37.27 kB / 0.7771 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5475, allocations: 1.125 kB / 0.7771 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.5477, allocations: 44.2 kB / 0.7772 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.548, allocations: 80 kB / 0.7772 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.5492, allocations: 1.527 MB / 0.7787 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.5494, allocations: 45.19 kB / 0.7788 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.5494, allocations: 19.27 kB / 0.7788 GB, free: 12.96 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.0001673/0.5496, allocations: 157 kB / 0.7789 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.5497, allocations: 44.94 kB / 0.779 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009268/0.5506, allocations: 0.5199 MB / 0.7795 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5506, allocations: 6.938 kB / 0.7795 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5506, allocations: 0.9375 kB / 0.7795 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.5507, allocations: 120.3 kB / 0.7796 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.5507, allocations: 18.98 kB / 0.7796 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.5509, allocations: 15.81 kB / 0.7797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.551, allocations: 39.02 kB / 0.7797 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008955/0.5519, allocations: 467.4 kB / 0.7801 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009085/0.5528, allocations: 0.6878 MB / 0.7808 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002515/0.5531, allocations: 144.6 kB / 0.7809 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002331/0.5533, allocations: 265.7 kB / 0.7812 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Backend: time 7.61e-07/0.5533, allocations: 1.062 kB / 0.7812 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.5546, allocations: 0.6132 MB / 0.7818 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001376/0.5559, allocations: 1.28 MB / 0.783 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of Templates: time 0.01259/0.5685, allocations: 9.073 MB / 0.7919 GB, free: 10.28 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 5.523824559058994]