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.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.00132/0.00132, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001548/0.001548, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8106/0.8106, allocations: 100.9 MB / 414.1 MB, free: 2.883 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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: 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.002644/0.002644, allocations: 84.92 kB / 0.5653 GB, free: 35.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1483, allocations: 74.61 MB / 0.6381 GB, free: 6.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.5247/0.673, allocations: 124 MB / 0.7592 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.6772, allocations: 3.305 MB / 0.7625 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000426/0.6777, allocations: 17.56 kB / 0.7625 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006108/0.6783, allocations: 159.4 kB / 0.7626 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009607/0.6792, allocations: 389.2 kB / 0.763 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.68, allocations: 296.1 kB / 0.7633 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.6806, allocations: 0.5234 MB / 0.7638 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.6808, allocations: 56.41 kB / 0.7639 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.6812, allocations: 271.3 kB / 0.7641 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.6816, allocations: 220 kB / 0.7643 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-05/0.6816, allocations: 26.28 kB / 0.7644 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000934/0.6826, allocations: 429.8 kB / 0.7648 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.6827, allocations: 64.62 kB / 0.7648 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.6828, allocations: 143.4 kB / 0.765 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009608/0.6838, allocations: 0.5506 MB / 0.7655 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6838, allocations: 0 / 0.7655 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6838, allocations: 0 / 0.7655 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.6838, allocations: 0.9062 kB / 0.7655 GB, free: 3.34 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001434/0.6853, allocations: 0.6768 MB / 0.7662 GB, free: 18.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6853, allocations: 11.94 kB / 0.7662 GB, free: 18.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.6854, allocations: 47.31 kB / 0.7662 GB, free: 18.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006288/0.686, allocations: 327.3 kB / 0.7665 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.6861, allocations: 17.44 kB / 0.7665 GB, free: 18.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.6861, allocations: 30.81 kB / 0.7666 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.6866, allocations: 265.1 kB / 0.7668 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6866, allocations: 0.7812 kB / 0.7668 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.6866, allocations: 8.312 kB / 0.7668 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.6867, allocations: 6.375 kB / 0.7668 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.6871, allocations: 226.2 kB / 0.7671 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.6884, allocations: 0.7078 MB / 0.7677 GB, free: 18.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.6889, allocations: 211.7 kB / 0.768 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.6891, allocations: 99.56 kB / 0.768 GB, free: 18.26 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000811/0.69, allocations: 486.4 kB / 0.7685 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.6903, allocations: 152.9 kB / 0.7687 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.505e-06/0.6903, allocations: 1 kB / 0.7687 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001198/0.6915, allocations: 382.9 kB / 0.769 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.6916, allocations: 58.17 kB / 0.7691 GB, free: 17.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.692, allocations: 334.7 kB / 0.7694 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.692, allocations: 31.36 kB / 0.7694 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.6922, allocations: 206.3 kB / 0.7696 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.6922, allocations: 81.91 kB / 0.7697 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.6923, allocations: 50.47 kB / 0.7697 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6925, allocations: 344.4 kB / 0.7701 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.6927, allocations: 109.1 kB / 0.7702 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.693, allocations: 134.6 kB / 0.7703 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.6934, allocations: 223.1 kB / 0.7705 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6934, allocations: 2 kB / 0.7705 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007137/0.6941, allocations: 379 kB / 0.7709 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.6942, allocations: 32.17 kB / 0.7709 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6942, allocations: 2.188 kB / 0.7709 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.6944, allocations: 45.09 kB / 0.771 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.6946, allocations: 40.53 kB / 0.771 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.6959, allocations: 1.391 MB / 0.7724 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.6961, allocations: 32.3 kB / 0.7724 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.6961, allocations: 13.98 kB / 0.7724 GB, free: 15.67 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.0001762/0.6963, allocations: 143 kB / 0.7725 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.6964, allocations: 38.58 kB / 0.7726 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007952/0.6972, allocations: 336.4 kB / 0.7729 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.6972, allocations: 2.719 kB / 0.7729 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6972, allocations: 1.844 kB / 0.7729 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6972, allocations: 4.594 kB / 0.7729 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6985, allocations: 0.656 MB / 0.7735 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6985, allocations: 2.375 kB / 0.7735 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.6987, allocations: 42.11 kB / 0.7736 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.6988, allocations: 42.58 kB / 0.7736 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.6989, allocations: 10.45 kB / 0.7736 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.7001, allocations: 1.397 MB / 0.775 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.7001, allocations: 1.031 kB / 0.775 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.7011, allocations: 0.4976 MB / 0.7755 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.7012, allocations: 40.44 kB / 0.7755 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.7012, allocations: 6.469 kB / 0.7755 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.7014, allocations: 13.72 kB / 0.7755 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.7015, allocations: 31 kB / 0.7756 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.7015, allocations: 10.59 kB / 0.7756 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002571/0.7018, allocations: 238.3 kB / 0.7758 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7018, allocations: 1.766 kB / 0.7758 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005303/0.7023, allocations: 126.1 kB / 0.7759 GB, free: 13.71 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.0003832/0.7027, allocations: 223.3 kB / 0.7761 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008092/0.7035, allocations: 418.4 kB / 0.7765 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7035, allocations: 2.094 kB / 0.7766 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.7039, allocations: 230.1 kB / 0.7768 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.7045, allocations: 95.05 kB / 0.7769 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.7059, allocations: 0.7261 MB / 0.7776 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.7062, allocations: 181.9 kB / 0.7777 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.7063, allocations: 35.59 kB / 0.7778 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.7063, allocations: 1.438 kB / 0.7778 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of Templates: time 0.01045/0.7167, allocations: 7.205 MB / 0.7848 GB, free: 12.25 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/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: 9.20013112295419]