Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.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.001361/0.001361, allocations: 108.6 kB / 18.68 MB, free: 3.168 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.008814/0.008814, allocations: 198.2 kB / 21.93 MB, free: 5.633 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.505/1.505, allocations: 225.6 MB / 250.6 MB, free: 13.39 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.7614/0.7614, allocations: 94.59 MB / 400.4 MB, free: 15.84 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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 84.58 kB / 0.5464 GB, free: 42.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1124, allocations: 71.85 MB / 0.6166 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.4853/0.5978, allocations: 144.4 MB / 0.7576 GB, free: 3.473 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.6014, allocations: 3.645 MB / 0.7611 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.6017, allocations: 15.16 kB / 0.7612 GB, free: 3.438 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.6023, allocations: 181.6 kB / 0.7613 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0008376/0.6032, allocations: 392.5 kB / 0.7617 GB, free: 3.422 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007712/0.6039, allocations: 288.3 kB / 0.762 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.6045, allocations: 0.5187 MB / 0.7625 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.6046, allocations: 60.94 kB / 0.7625 GB, free: 3.391 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.6052, allocations: 263.2 kB / 0.7628 GB, free: 3.391 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.6055, allocations: 234.5 kB / 0.763 GB, free: 3.391 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.6055, allocations: 24.72 kB / 0.763 GB, free: 3.391 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.6066, allocations: 0.4957 MB / 0.7635 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.6067, allocations: 68.19 kB / 0.7636 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.6069, allocations: 177.8 kB / 0.7638 GB, free: 3.383 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0008555/0.6078, allocations: 0.5519 MB / 0.7643 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6078, allocations: 4.969 kB / 0.7643 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6078, allocations: 0 / 0.7643 GB, free: 3.336 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6078, allocations: 3.938 kB / 0.7643 GB, free: 3.332 MB / 0.5763 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.001446/0.6092, allocations: 0.7447 MB / 0.765 GB, free: 18.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6093, allocations: 9.312 kB / 0.765 GB, free: 18.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.6093, allocations: 45.56 kB / 0.7651 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.61, allocations: 401.8 kB / 0.7655 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.61, allocations: 17.97 kB / 0.7655 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.6101, allocations: 26.7 kB / 0.7655 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.6105, allocations: 261.1 kB / 0.7658 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6106, allocations: 0.625 kB / 0.7658 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.6106, allocations: 6.047 kB / 0.7658 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.6106, allocations: 8.719 kB / 0.7658 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.6111, allocations: 224 kB / 0.766 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.6126, allocations: 1.094 MB / 0.7671 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.6131, allocations: 211 kB / 0.7673 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.6134, allocations: 100.2 kB / 0.7674 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.6145, allocations: 0.9764 MB / 0.7683 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/0.6149, allocations: 150.5 kB / 0.7685 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.044e-06/0.6149, allocations: 1 kB / 0.7685 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001299/0.6162, allocations: 471.9 kB / 0.7689 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.6162, allocations: 59.81 kB / 0.769 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.6167, allocations: 345.9 kB / 0.7693 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.6167, allocations: 31.3 kB / 0.7693 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.6169, allocations: 197.8 kB / 0.7695 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.617, allocations: 82.88 kB / 0.7696 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.617, allocations: 54.05 kB / 0.7696 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6172, allocations: 347.1 kB / 0.77 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.6174, allocations: 78.34 kB / 0.77 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.6176, allocations: 107.4 kB / 0.7701 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.6181, allocations: 221.9 kB / 0.7704 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6181, allocations: 0 / 0.7704 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006733/0.6187, allocations: 348.5 kB / 0.7707 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.6188, allocations: 34.53 kB / 0.7707 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6188, allocations: 1.031 kB / 0.7707 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.619, allocations: 47.53 kB / 0.7708 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.6192, allocations: 40.95 kB / 0.7708 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.6206, allocations: 1.528 MB / 0.7723 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.6208, allocations: 24.77 kB / 0.7723 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.6208, allocations: 12.7 kB / 0.7723 GB, free: 14.38 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.000178/0.621, allocations: 154 kB / 0.7725 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.6211, allocations: 36.42 kB / 0.7725 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007661/0.6218, allocations: 344.9 kB / 0.7728 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.6218, allocations: 2.906 kB / 0.7729 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6218, allocations: 1.094 kB / 0.7729 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.6219, allocations: 115.6 kB / 0.773 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.622, allocations: 8.5 kB / 0.773 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.6222, allocations: 13.22 kB / 0.773 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.6222, allocations: 32.03 kB / 0.773 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008776/0.6231, allocations: 374.8 kB / 0.7734 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009217/0.624, allocations: 0.5392 MB / 0.7739 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002456/0.6243, allocations: 103.4 kB / 0.774 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002619/0.6245, allocations: 251 kB / 0.7742 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of Backend: time 4.81e-07/0.6245, allocations: 3.938 kB / 0.7742 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.6259, allocations: 0.5186 MB / 0.7747 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001509/0.6275, allocations: 1.173 MB / 0.7759 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Templates: time 0.01154/0.639, allocations: 6.904 MB / 0.7826 GB, free: 12.1 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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.116756607021671]