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.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.001859/0.001859, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.002249/0.002249, allocations: 206.6 kB / 22.99 MB, free: 4.965 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7612/0.7612, allocations: 100.9 MB / 414.1 MB, free: 2.848 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.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: 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.002632/0.002632, allocations: 95.53 kB / 0.5653 GB, free: 35.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1281, allocations: 74.61 MB / 0.6382 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4641/0.5922, allocations: 125.4 MB / 0.7606 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005085/0.5973, allocations: 3.051 MB / 0.7636 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005101/0.5978, allocations: 22.69 kB / 0.7636 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.5985, allocations: 191.3 kB / 0.7638 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.5996, allocations: 498.2 kB / 0.7642 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.6006, allocations: 405.6 kB / 0.7646 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008399/0.6015, allocations: 0.7238 MB / 0.7653 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.6017, allocations: 77.22 kB / 0.7654 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007977/0.6025, allocations: 380.2 kB / 0.7658 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005576/0.603, allocations: 344.1 kB / 0.7661 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.6031, allocations: 33.31 kB / 0.7661 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.6042, allocations: 0.5004 MB / 0.7666 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.6043, allocations: 87.19 kB / 0.7667 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.6045, allocations: 193.4 kB / 0.7669 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.6056, allocations: 0.7281 MB / 0.7676 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6056, allocations: 0.7031 kB / 0.7676 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6056, allocations: 0 / 0.7676 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.6056, allocations: 1.938 kB / 0.7676 GB, free: 3.289 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.001494/0.6071, allocations: 0.7835 MB / 0.7684 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.6071, allocations: 10.97 kB / 0.7684 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.6072, allocations: 61.2 kB / 0.7684 GB, free: 18.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.6079, allocations: 350.6 kB / 0.7688 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.6079, allocations: 29.66 kB / 0.7688 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.608, allocations: 33.52 kB / 0.7688 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.6087, allocations: 431 kB / 0.7692 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.6087, allocations: 2.562 kB / 0.7692 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.6087, allocations: 13.59 kB / 0.7692 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.6087, allocations: 8.75 kB / 0.7693 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/0.6094, allocations: 381.4 kB / 0.7696 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.6111, allocations: 1.232 MB / 0.7708 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.6118, allocations: 315.2 kB / 0.7711 GB, free: 17.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.6121, allocations: 155.9 kB / 0.7713 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.6136, allocations: 0.6985 MB / 0.772 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/0.6141, allocations: 213.2 kB / 0.7722 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/0.6141, allocations: 0.75 kB / 0.7722 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001513/0.6156, allocations: 0.5254 MB / 0.7727 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.6156, allocations: 59.72 kB / 0.7727 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.616, allocations: 325.2 kB / 0.773 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.6161, allocations: 37.34 kB / 0.7731 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.6162, allocations: 233.4 kB / 0.7733 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.6163, allocations: 128 kB / 0.7734 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.6164, allocations: 70.7 kB / 0.7735 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6166, allocations: 354.1 kB / 0.7738 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.6169, allocations: 144.2 kB / 0.774 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.6172, allocations: 206.5 kB / 0.7742 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.6178, allocations: 336.1 kB / 0.7745 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6178, allocations: 6.312 kB / 0.7745 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000917/0.6187, allocations: 498.9 kB / 0.775 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.6187, allocations: 33.61 kB / 0.775 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6187, allocations: 2.328 kB / 0.775 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.6189, allocations: 44.94 kB / 0.775 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.6192, allocations: 81.45 kB / 0.7751 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.6205, allocations: 1.403 MB / 0.7765 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.6207, allocations: 38.58 kB / 0.7765 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.6207, allocations: 18.22 kB / 0.7765 GB, free: 15.14 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.0001982/0.6209, allocations: 164.5 kB / 0.7767 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.621, allocations: 51.39 kB / 0.7767 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.6222, allocations: 0.5093 MB / 0.7772 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.6222, allocations: 3.781 kB / 0.7772 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6222, allocations: 2.031 kB / 0.7772 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.6222, allocations: 7.75 kB / 0.7773 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.6237, allocations: 0.8525 MB / 0.7781 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6237, allocations: 0.5 kB / 0.7781 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.6239, allocations: 65.92 kB / 0.7781 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/0.6241, allocations: 43.44 kB / 0.7782 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.6241, allocations: 15.67 kB / 0.7782 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.6252, allocations: 1.398 MB / 0.7796 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6252, allocations: 2.094 kB / 0.7796 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.6263, allocations: 0.6458 MB / 0.7802 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.6264, allocations: 49.64 kB / 0.7803 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.6264, allocations: 8.344 kB / 0.7803 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.6266, allocations: 17.91 kB / 0.7803 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.6267, allocations: 34.59 kB / 0.7803 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.6267, allocations: 15.77 kB / 0.7803 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002403/0.627, allocations: 242.4 kB / 0.7806 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.627, allocations: 1.125 kB / 0.7806 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005855/0.6276, allocations: 165.9 kB / 0.7807 GB, free: 13.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.rear.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 (34): * Single equations (assignments): 31 * 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.0003833/0.6279, allocations: 243.4 kB / 0.7809 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009031/0.6288, allocations: 0.4983 MB / 0.7814 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6289, allocations: 3.625 kB / 0.7814 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.6293, allocations: 281.9 kB / 0.7817 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.6299, allocations: 122.4 kB / 0.7818 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.6315, allocations: 0.8769 MB / 0.7827 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.6317, allocations: 214.2 kB / 0.7829 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.6319, allocations: 51.33 kB / 0.7829 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.6319, allocations: 0 / 0.7829 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of Templates: time 0.01025/0.6421, allocations: 9.162 MB / 0.7919 GB, free: 11.27 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: 9.082931999117136]