Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001567/0.001567, 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.001722/0.001722, allocations: 212.9 kB / 22.99 MB, free: 4.941 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.73/0.73, allocations: 94.63 MB / 407.8 MB, free: 8.91 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/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_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_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.002838/0.002838, allocations: 90.62 kB / 0.5562 GB, free: 38.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1261, allocations: 73.05 MB / 0.6275 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.1648/0.2909, allocations: 125.4 MB / 0.7499 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.329/0.6199, allocations: 3.035 MB / 0.7529 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.6203, allocations: 23.16 kB / 0.7529 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.621, allocations: 203.5 kB / 0.7531 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.6222, allocations: 493.8 kB / 0.7536 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.6234, allocations: 402.8 kB / 0.754 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009819/0.6244, allocations: 0.7256 MB / 0.7547 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.6246, allocations: 87.03 kB / 0.7548 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.6255, allocations: 372.7 kB / 0.7551 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004464/0.6259, allocations: 338.9 kB / 0.7554 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.626, allocations: 32.28 kB / 0.7555 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.627, allocations: 0.5 MB / 0.756 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.6271, allocations: 91 kB / 0.756 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.6274, allocations: 194 kB / 0.7562 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.6285, allocations: 0.7241 MB / 0.7569 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6285, allocations: 1.203 kB / 0.7569 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6285, allocations: 0.7188 kB / 0.7569 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.6285, allocations: 0.8438 kB / 0.7569 GB, free: 3.445 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.001624/0.6301, allocations: 0.7833 MB / 0.7577 GB, free: 18.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.6301, allocations: 10.64 kB / 0.7577 GB, free: 18.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.6303, allocations: 58.22 kB / 0.7578 GB, free: 18.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00073/0.631, allocations: 353.2 kB / 0.7581 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.6311, allocations: 30.59 kB / 0.7581 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.671e-05/0.6311, allocations: 33.12 kB / 0.7582 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.6318, allocations: 430.7 kB / 0.7586 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.6319, allocations: 1.656 kB / 0.7586 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.6319, allocations: 13.84 kB / 0.7586 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.6319, allocations: 9.031 kB / 0.7586 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.6326, allocations: 380.4 kB / 0.759 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.6344, allocations: 1.227 MB / 0.7602 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006862/0.635, allocations: 323.3 kB / 0.7605 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.6353, allocations: 155.1 kB / 0.7606 GB, free: 18.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.6368, allocations: 0.6974 MB / 0.7613 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003951/0.6372, allocations: 213.3 kB / 0.7615 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.254e-06/0.6372, allocations: 0.7812 kB / 0.7615 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001298/0.6385, allocations: 0.5205 MB / 0.762 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.6386, allocations: 67.52 kB / 0.7621 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.6389, allocations: 329 kB / 0.7624 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.6389, allocations: 33.2 kB / 0.7624 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.639, allocations: 232.7 kB / 0.7626 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.6391, allocations: 133.3 kB / 0.7628 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.6392, allocations: 75.94 kB / 0.7628 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6394, allocations: 346.8 kB / 0.7632 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.6396, allocations: 148.2 kB / 0.7633 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.6399, allocations: 205.6 kB / 0.7635 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.6405, allocations: 331.5 kB / 0.7638 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6405, allocations: 6.562 kB / 0.7638 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008585/0.6413, allocations: 499.8 kB / 0.7643 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.6414, allocations: 32.95 kB / 0.7643 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6414, allocations: 5.938 kB / 0.7643 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.6416, allocations: 39.97 kB / 0.7644 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.6419, allocations: 79.25 kB / 0.7645 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.6431, allocations: 1.407 MB / 0.7658 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.6433, allocations: 36.03 kB / 0.7659 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.6434, allocations: 17 kB / 0.7659 GB, free: 15.31 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.0002059/0.6436, allocations: 164.9 kB / 0.766 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.6437, allocations: 49.61 kB / 0.7661 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.6449, allocations: 0.5074 MB / 0.7666 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.6449, allocations: 5 kB / 0.7666 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6449, allocations: 0.75 kB / 0.7666 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.6449, allocations: 7.266 kB / 0.7666 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.6466, allocations: 0.8531 MB / 0.7674 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.6466, allocations: 1.656 kB / 0.7674 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.6469, allocations: 61.16 kB / 0.7675 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.6471, allocations: 43.56 kB / 0.7675 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.6471, allocations: 14.5 kB / 0.7675 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.6484, allocations: 1.4 MB / 0.7689 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6484, allocations: 1.5 kB / 0.7689 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.6497, allocations: 0.6472 MB / 0.7695 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.6497, allocations: 48.03 kB / 0.7696 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.6498, allocations: 8.516 kB / 0.7696 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.65, allocations: 19.45 kB / 0.7696 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.6501, allocations: 34.94 kB / 0.7696 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.6502, allocations: 18.67 kB / 0.7697 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002382/0.6504, allocations: 241.6 kB / 0.7699 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6504, allocations: 1 kB / 0.7699 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006306/0.651, allocations: 170.2 kB / 0.7701 GB, free: 13.26 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.0003806/0.6514, allocations: 248.9 kB / 0.7703 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009313/0.6523, allocations: 0.5068 MB / 0.7708 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6523, allocations: 1.156 kB / 0.7708 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.6528, allocations: 282.3 kB / 0.7711 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.6534, allocations: 111.7 kB / 0.7712 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.6552, allocations: 0.8857 MB / 0.772 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.6555, allocations: 214.2 kB / 0.7722 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.6556, allocations: 49.67 kB / 0.7723 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6556, allocations: 0 / 0.7723 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.01085/0.6664, allocations: 9.145 MB / 0.7812 GB, free: 11.51 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.038874065037817]