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.001627/0.001627, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001902/0.001902, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.789 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.7788/0.7788, allocations: 100.9 MB / 413.3 MB, free: 2.836 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.002523/0.002523, allocations: 88.64 kB / 0.5646 GB, free: 35.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1248, allocations: 74.6 MB / 0.6374 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4794/0.6041, allocations: 125.4 MB / 0.7598 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004116/0.6083, allocations: 3.058 MB / 0.7628 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.6088, allocations: 23.89 kB / 0.7628 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.6096, allocations: 196.2 kB / 0.763 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.611, allocations: 496.4 kB / 0.7635 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.6122, allocations: 407.6 kB / 0.7639 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.6131, allocations: 0.7248 MB / 0.7646 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.6133, allocations: 78.77 kB / 0.7647 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007508/0.614, allocations: 381.2 kB / 0.765 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.6145, allocations: 340 kB / 0.7654 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.964e-05/0.6146, allocations: 35.66 kB / 0.7654 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.6156, allocations: 0.4986 MB / 0.7659 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.6157, allocations: 91.58 kB / 0.766 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.6159, allocations: 194.5 kB / 0.7661 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009689/0.6169, allocations: 0.7219 MB / 0.7669 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6169, allocations: 4.031 kB / 0.7669 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6169, allocations: 1 kB / 0.7669 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.6169, allocations: 1.203 kB / 0.7669 GB, free: 3.328 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.001467/0.6184, allocations: 0.7815 MB / 0.7676 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6184, allocations: 10.06 kB / 0.7676 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.6186, allocations: 59.06 kB / 0.7677 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.6192, allocations: 360.4 kB / 0.768 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.6193, allocations: 26.88 kB / 0.7681 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.6193, allocations: 34.11 kB / 0.7681 GB, free: 18.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.62, allocations: 431.3 kB / 0.7685 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.62, allocations: 2.344 kB / 0.7685 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.62, allocations: 13.97 kB / 0.7685 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.62, allocations: 8.125 kB / 0.7685 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.6207, allocations: 378.6 kB / 0.7689 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.6225, allocations: 1.228 MB / 0.7701 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.6232, allocations: 318 kB / 0.7704 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.6235, allocations: 152.1 kB / 0.7705 GB, free: 17.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.625, allocations: 0.6975 MB / 0.7712 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.6255, allocations: 214.9 kB / 0.7714 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.854e-06/0.6255, allocations: 2.156 kB / 0.7714 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001489/0.627, allocations: 0.5251 MB / 0.7719 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.627, allocations: 56.72 kB / 0.772 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.6274, allocations: 328.8 kB / 0.7723 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.6275, allocations: 29.92 kB / 0.7723 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.6276, allocations: 239.6 kB / 0.7726 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.6277, allocations: 126 kB / 0.7727 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.6278, allocations: 74.91 kB / 0.7728 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.628, allocations: 349.4 kB / 0.7731 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.6283, allocations: 147 kB / 0.7732 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.6286, allocations: 207.5 kB / 0.7734 GB, free: 16.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.6292, allocations: 334.3 kB / 0.7737 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.6292, allocations: 4.812 kB / 0.7737 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009125/0.6301, allocations: 0.4887 MB / 0.7742 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/0.6301, allocations: 33.7 kB / 0.7743 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.6301, allocations: 2.062 kB / 0.7743 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.6303, allocations: 47.33 kB / 0.7743 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.6306, allocations: 74.52 kB / 0.7744 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.6319, allocations: 1.406 MB / 0.7757 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.6322, allocations: 37.05 kB / 0.7758 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.6322, allocations: 19.36 kB / 0.7758 GB, free: 15.18 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.0002439/0.6325, allocations: 165.6 kB / 0.776 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.6326, allocations: 51.66 kB / 0.776 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.6339, allocations: 0.51 MB / 0.7765 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6339, allocations: 3.938 kB / 0.7765 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6339, allocations: 1.156 kB / 0.7765 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6339, allocations: 9.828 kB / 0.7765 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.6354, allocations: 0.8556 MB / 0.7774 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6354, allocations: 1.031 kB / 0.7774 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.6357, allocations: 61.38 kB / 0.7774 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.6359, allocations: 43.72 kB / 0.7775 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.6359, allocations: 14.91 kB / 0.7775 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.6371, allocations: 1.403 MB / 0.7788 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6371, allocations: 2.406 kB / 0.7788 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.6382, allocations: 0.64 MB / 0.7795 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.6383, allocations: 48.28 kB / 0.7795 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.6383, allocations: 9.5 kB / 0.7795 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.6385, allocations: 16.14 kB / 0.7795 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.6386, allocations: 36.19 kB / 0.7796 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.6387, allocations: 17.89 kB / 0.7796 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002486/0.6389, allocations: 245.3 kB / 0.7798 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6389, allocations: 1 kB / 0.7798 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005944/0.6395, allocations: 165.6 kB / 0.78 GB, free: 13.13 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.0003652/0.6399, allocations: 240.9 kB / 0.7802 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009284/0.6408, allocations: 0.4991 MB / 0.7807 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6408, allocations: 0 / 0.7807 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.6412, allocations: 291.8 kB / 0.781 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.6419, allocations: 114.9 kB / 0.7811 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.6435, allocations: 0.8493 MB / 0.7819 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.6436, allocations: 215.8 kB / 0.7821 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.6439, allocations: 82.48 kB / 0.7822 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.644, allocations: 51.09 kB / 0.7823 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of SimCode: time 5.52e-07/0.644, allocations: 1.375 kB / 0.7823 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.01317/0.6572, allocations: 8.407 MB / 0.7905 GB, free: 11.34 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/jenkins/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.193941658362746]