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.001607/0.001607, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001928/0.001928, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.785 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.743/0.743, allocations: 100.9 MB / 413.3 MB, free: 2.895 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.002295/0.002295, allocations: 90.14 kB / 0.5645 GB, free: 35.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1182, allocations: 74.61 MB / 0.6374 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.431/0.5492, allocations: 124 MB / 0.7585 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004157/0.5534, allocations: 3.308 MB / 0.7617 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.5537, allocations: 17.56 kB / 0.7618 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.5543, allocations: 163.8 kB / 0.7619 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009151/0.5552, allocations: 383.1 kB / 0.7623 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.556, allocations: 293 kB / 0.7626 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.5566, allocations: 0.5248 MB / 0.7631 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.5568, allocations: 55.48 kB / 0.7631 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/0.5573, allocations: 277.3 kB / 0.7634 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.5576, allocations: 217.4 kB / 0.7636 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.5577, allocations: 23.94 kB / 0.7636 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.5585, allocations: 424.3 kB / 0.764 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.5586, allocations: 70.75 kB / 0.7641 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.5588, allocations: 142 kB / 0.7642 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009513/0.5598, allocations: 0.5482 MB / 0.7648 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5598, allocations: 1.469 kB / 0.7648 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5598, allocations: 0 / 0.7648 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.5598, allocations: 1.406 kB / 0.7648 GB, free: 3.379 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.001409/0.5612, allocations: 0.674 MB / 0.7654 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.5612, allocations: 14.53 kB / 0.7654 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.5613, allocations: 49.62 kB / 0.7655 GB, free: 18.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.5619, allocations: 324 kB / 0.7658 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.5619, allocations: 17.83 kB / 0.7658 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.562, allocations: 25.66 kB / 0.7658 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.5625, allocations: 266.9 kB / 0.7661 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5625, allocations: 0 / 0.7661 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.5625, allocations: 9.656 kB / 0.7661 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.5625, allocations: 6.469 kB / 0.7661 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.5629, allocations: 224.6 kB / 0.7663 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.5641, allocations: 0.7118 MB / 0.767 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.5646, allocations: 210.8 kB / 0.7672 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.5648, allocations: 103.6 kB / 0.7673 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007822/0.5656, allocations: 482.1 kB / 0.7678 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.5659, allocations: 149 kB / 0.7679 GB, free: 18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.5659, allocations: 0 / 0.7679 GB, free: 18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001107/0.5671, allocations: 388.8 kB / 0.7683 GB, free: 17.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.5671, allocations: 59.02 kB / 0.7683 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.5675, allocations: 330.1 kB / 0.7687 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.5675, allocations: 33.23 kB / 0.7687 GB, free: 17.73 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.5676, allocations: 212.7 kB / 0.7689 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.5677, allocations: 81.59 kB / 0.769 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.5678, allocations: 51.64 kB / 0.769 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5679, allocations: 345.5 kB / 0.7693 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.5681, allocations: 108.1 kB / 0.7694 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.5684, allocations: 138.7 kB / 0.7696 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.5688, allocations: 220.2 kB / 0.7698 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5688, allocations: 1.125 kB / 0.7698 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007328/0.5695, allocations: 374.3 kB / 0.7701 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.666e-05/0.5696, allocations: 35.78 kB / 0.7702 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5696, allocations: 1.094 kB / 0.7702 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.5698, allocations: 42.91 kB / 0.7702 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.57, allocations: 42.53 kB / 0.7703 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.5712, allocations: 1.391 MB / 0.7716 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.5714, allocations: 36.56 kB / 0.7717 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.5714, allocations: 13.08 kB / 0.7717 GB, free: 15.71 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.0001624/0.5716, allocations: 146.4 kB / 0.7718 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.675e-05/0.5717, allocations: 38.42 kB / 0.7718 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007567/0.5724, allocations: 334 kB / 0.7722 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5724, allocations: 3.141 kB / 0.7722 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.5724, allocations: 2 kB / 0.7722 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5724, allocations: 3.422 kB / 0.7722 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.5736, allocations: 0.6504 MB / 0.7728 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5736, allocations: 1.703 kB / 0.7728 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.5738, allocations: 43.3 kB / 0.7729 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.5739, allocations: 42.14 kB / 0.7729 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.574, allocations: 9.719 kB / 0.7729 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.5751, allocations: 1.396 MB / 0.7743 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5752, allocations: 0.5312 kB / 0.7743 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009188/0.5761, allocations: 0.5054 MB / 0.7748 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.5761, allocations: 36.62 kB / 0.7748 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.5762, allocations: 6.438 kB / 0.7748 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.5764, allocations: 14.38 kB / 0.7748 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.5764, allocations: 34.66 kB / 0.7748 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.5765, allocations: 9.953 kB / 0.7749 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002479/0.5767, allocations: 234.5 kB / 0.7751 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5767, allocations: 0 / 0.7751 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005193/0.5772, allocations: 128.5 kB / 0.7752 GB, free: 13.75 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.0003423/0.5776, allocations: 216.9 kB / 0.7754 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007974/0.5784, allocations: 414.6 kB / 0.7758 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5784, allocations: 1.719 kB / 0.7758 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.5788, allocations: 229.5 kB / 0.776 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.5793, allocations: 102.2 kB / 0.7761 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.5806, allocations: 0.7002 MB / 0.7768 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.5808, allocations: 178.4 kB / 0.777 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000188/0.581, allocations: 51.23 kB / 0.777 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/0.5811, allocations: 35.53 kB / 0.7771 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.5811, allocations: 0 / 0.7771 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of Templates: time 0.01171/0.5928, allocations: 6.961 MB / 0.7839 GB, free: 12.26 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/jenkins/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: 5.922935156151652]