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.001612/0.001612, allocations: 109.3 kB / 19.97 MB, free: 1.875 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.001702/0.001702, allocations: 187.7 kB / 23.28 MB, free: 5.008 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.461/1.461, allocations: 225.6 MB / 252.1 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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.7725/0.7725, allocations: 94.59 MB / 402 MB, free: 15.04 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.002413/0.002413, allocations: 84.89 kB / 0.5484 GB, free: 42.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1095, allocations: 71.89 MB / 0.6186 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4738/0.5834, allocations: 145.9 MB / 0.7611 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003619/0.587, allocations: 3.355 MB / 0.7644 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.5874, allocations: 16.19 kB / 0.7644 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.588, allocations: 215 kB / 0.7646 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.589, allocations: 0.4987 MB / 0.7651 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.59, allocations: 402.8 kB / 0.7655 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006772/0.5907, allocations: 0.7222 MB / 0.7662 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.5908, allocations: 83.48 kB / 0.7663 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.5914, allocations: 368 kB / 0.7667 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.5918, allocations: 356.2 kB / 0.767 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.5919, allocations: 37.97 kB / 0.767 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.593, allocations: 0.5993 MB / 0.7676 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/0.5931, allocations: 87.52 kB / 0.7677 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.5934, allocations: 236.9 kB / 0.7679 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.5945, allocations: 0.7362 MB / 0.7686 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5945, allocations: 0.5938 kB / 0.7686 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5945, allocations: 0.9062 kB / 0.7686 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.5945, allocations: 0 / 0.7686 GB, free: 2.941 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.001817/0.5963, allocations: 0.85 MB / 0.7695 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5964, allocations: 10.02 kB / 0.7695 GB, free: 18.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.5965, allocations: 60.09 kB / 0.7695 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.5972, allocations: 429.6 kB / 0.7699 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.5972, allocations: 26 kB / 0.77 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.143e-05/0.5973, allocations: 35.17 kB / 0.77 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.5981, allocations: 431.1 kB / 0.7704 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5981, allocations: 1.562 kB / 0.7704 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.5982, allocations: 13.31 kB / 0.7704 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.5982, allocations: 9.891 kB / 0.7704 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.5989, allocations: 383.2 kB / 0.7708 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.601, allocations: 1.853 MB / 0.7726 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.6018, allocations: 323.6 kB / 0.7729 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.6021, allocations: 152.8 kB / 0.7731 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/0.6041, allocations: 1.535 MB / 0.7746 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/0.6045, allocations: 206.7 kB / 0.7748 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/0.6045, allocations: 0 / 0.7748 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001496/0.606, allocations: 0.6036 MB / 0.7754 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.6061, allocations: 56.81 kB / 0.7754 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.6065, allocations: 366.4 kB / 0.7758 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.6065, allocations: 35.61 kB / 0.7758 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.6067, allocations: 220.3 kB / 0.776 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.6068, allocations: 134 kB / 0.7761 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.6069, allocations: 76.25 kB / 0.7762 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6071, allocations: 355.8 kB / 0.7765 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.6074, allocations: 116.6 kB / 0.7767 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.6077, allocations: 180.6 kB / 0.7768 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.6082, allocations: 338.5 kB / 0.7772 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6082, allocations: 0 / 0.7772 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008763/0.6091, allocations: 474.6 kB / 0.7776 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.6091, allocations: 34.22 kB / 0.7776 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6092, allocations: 3.781 kB / 0.7776 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.6094, allocations: 40.12 kB / 0.7777 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.6097, allocations: 78.92 kB / 0.7778 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.611, allocations: 1.532 MB / 0.7792 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.6113, allocations: 42.66 kB / 0.7793 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.6113, allocations: 19.31 kB / 0.7793 GB, free: 12.86 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.0002175/0.6116, allocations: 166.8 kB / 0.7795 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.6116, allocations: 46.66 kB / 0.7795 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.6127, allocations: 0.5202 MB / 0.78 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6127, allocations: 7.781 kB / 0.78 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6127, allocations: 1.094 kB / 0.78 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.6128, allocations: 115.2 kB / 0.7801 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.6129, allocations: 20.11 kB / 0.7802 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.6131, allocations: 16.12 kB / 0.7802 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.6132, allocations: 36.5 kB / 0.7802 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001047/0.6142, allocations: 480.8 kB / 0.7807 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001107/0.6154, allocations: 0.673 MB / 0.7813 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002853/0.6156, allocations: 149.3 kB / 0.7815 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000265/0.6159, allocations: 268.2 kB / 0.7817 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of Backend: time 4.61e-07/0.6159, allocations: 0 / 0.7817 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.6174, allocations: 0.6189 MB / 0.7823 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001568/0.619, allocations: 1.284 MB / 0.7836 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.01468/0.6336, allocations: 9.062 MB / 0.7924 GB, free: 10.17 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: 6.132928370963782]