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.001417/0.001417, allocations: 106.4 kB / 18.94 MB, free: 2.938 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.001651/0.001651, allocations: 216.5 kB / 22.25 MB, free: 5.148 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8 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.8285/0.8285, allocations: 94.57 MB / 407 MB, free: 9.188 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.002654/0.002654, allocations: 93.39 kB / 0.5554 GB, free: 38.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1265, allocations: 73.06 MB / 0.6268 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4965/0.623, allocations: 146 MB / 0.7693 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003811/0.6268, allocations: 3.36 MB / 0.7726 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004649/0.6273, allocations: 28.03 kB / 0.7727 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.6279, allocations: 206.2 kB / 0.7728 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.6289, allocations: 0.503 MB / 0.7733 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.6299, allocations: 411.2 kB / 0.7737 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000909/0.6308, allocations: 0.7319 MB / 0.7744 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.631, allocations: 77.06 kB / 0.7745 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009035/0.6319, allocations: 373.5 kB / 0.7749 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/0.6325, allocations: 357.4 kB / 0.7752 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.6326, allocations: 33.62 kB / 0.7752 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.6341, allocations: 0.5999 MB / 0.7758 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.6342, allocations: 90.81 kB / 0.7759 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003493/0.6346, allocations: 238.6 kB / 0.7761 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.6357, allocations: 0.7355 MB / 0.7769 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6357, allocations: 0 / 0.7769 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6357, allocations: 1.203 kB / 0.7769 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.6357, allocations: 5.688 kB / 0.7769 GB, free: 2.121 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.001514/0.6373, allocations: 0.7767 MB / 0.7776 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.6373, allocations: 9.25 kB / 0.7776 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.6374, allocations: 55.11 kB / 0.7777 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.638, allocations: 355.9 kB / 0.778 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.6381, allocations: 27.14 kB / 0.7781 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.6381, allocations: 37 kB / 0.7781 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.6388, allocations: 433.1 kB / 0.7785 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6388, allocations: 1.438 kB / 0.7785 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.6388, allocations: 15.16 kB / 0.7785 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.6388, allocations: 9.062 kB / 0.7785 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007047/0.6395, allocations: 384.8 kB / 0.7789 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.6417, allocations: 1.821 MB / 0.7807 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007185/0.6424, allocations: 316 kB / 0.781 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.6427, allocations: 155.8 kB / 0.7811 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/0.6443, allocations: 0.757 MB / 0.7819 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.6447, allocations: 212.9 kB / 0.7821 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.6447, allocations: 0 / 0.7821 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001306/0.646, allocations: 0.5239 MB / 0.7826 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.6461, allocations: 65.75 kB / 0.7826 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.6464, allocations: 357 kB / 0.783 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.6465, allocations: 31.89 kB / 0.783 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.6467, allocations: 226.3 kB / 0.7832 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.134e-05/0.6467, allocations: 129.8 kB / 0.7834 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.6468, allocations: 79.3 kB / 0.7834 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.647, allocations: 358.6 kB / 0.7838 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.6473, allocations: 115.8 kB / 0.7839 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.6476, allocations: 180.9 kB / 0.7841 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.6482, allocations: 326.2 kB / 0.7844 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6482, allocations: 1.438 kB / 0.7844 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009285/0.6491, allocations: 477.9 kB / 0.7848 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.6491, allocations: 34.45 kB / 0.7849 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6491, allocations: 2.531 kB / 0.7849 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.6494, allocations: 40.81 kB / 0.7849 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.6497, allocations: 80.19 kB / 0.785 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.651, allocations: 1.432 MB / 0.7864 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.6513, allocations: 42.77 kB / 0.7864 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.6513, allocations: 15 kB / 0.7864 GB, free: 13.36 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.0001948/0.6515, allocations: 166.1 kB / 0.7866 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.6516, allocations: 42.34 kB / 0.7866 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/0.6525, allocations: 0.5106 MB / 0.7871 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6525, allocations: 9.203 kB / 0.7871 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6525, allocations: 0 / 0.7871 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6525, allocations: 2.469 kB / 0.7871 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.654, allocations: 0.9471 MB / 0.7881 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.654, allocations: 3.938 kB / 0.7881 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.6542, allocations: 60.97 kB / 0.7881 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.6544, allocations: 53.38 kB / 0.7882 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.6544, allocations: 12.34 kB / 0.7882 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.6556, allocations: 1.423 MB / 0.7896 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6556, allocations: 2.375 kB / 0.7896 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.6566, allocations: 0.65 MB / 0.7902 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.6566, allocations: 47.7 kB / 0.7903 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.6567, allocations: 12.16 kB / 0.7903 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.6569, allocations: 14.92 kB / 0.7903 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.657, allocations: 40.52 kB / 0.7903 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.657, allocations: 17.33 kB / 0.7903 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002552/0.6573, allocations: 267.6 kB / 0.7906 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6573, allocations: 4 kB / 0.7906 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005883/0.6579, allocations: 166.9 kB / 0.7908 GB, free: 11.22 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.0003533/0.6582, allocations: 240.1 kB / 0.791 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009108/0.6592, allocations: 486.6 kB / 0.7914 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6592, allocations: 0 / 0.7914 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.6596, allocations: 287.8 kB / 0.7917 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.6603, allocations: 134.9 kB / 0.7919 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.662, allocations: 0.8621 MB / 0.7927 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.6625, allocations: 0.8154 MB / 0.7935 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.6627, allocations: 91.33 kB / 0.7936 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.6628, allocations: 45.73 kB / 0.7936 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6628, allocations: 2.219 kB / 0.7936 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of Templates: time 0.01438/0.6772, allocations: 8.462 MB / 0.8019 GB, free: 8.379 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/jenkins/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: 6.440542703028768]