Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6261/0.6261, allocations: 94.59 MB / 399.1 MB, free: 15.74 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 79.88 kB / 0.5448 GB, free: 12.05 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3975, allocations: 71.84 MB / 0.615 GB, free: 4.086 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.2369/0.6344, allocations: 173.5 MB / 0.7845 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.6504, allocations: 11.44 MB / 0.7956 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.6519, allocations: 71.56 kB / 0.7957 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.6541, allocations: 0.8932 MB / 0.7966 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00482/0.659, allocations: 1.725 MB / 0.7982 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.6628, allocations: 1.312 MB / 0.7995 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003901/0.6667, allocations: 2.562 MB / 0.802 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005484/0.6672, allocations: 243.5 kB / 0.8023 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.6703, allocations: 1.455 MB / 0.8037 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.6721, allocations: 1.163 MB / 0.8048 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.6724, allocations: 108 kB / 0.8049 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004101/0.6765, allocations: 1.872 MB / 0.8067 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.6768, allocations: 334.5 kB / 0.8071 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009777/0.6778, allocations: 0.8079 MB / 0.8079 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.6821, allocations: 2.517 MB / 0.8103 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6821, allocations: 4 kB / 0.8103 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6821, allocations: 0 / 0.8103 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.025e-05/0.6821, allocations: 0 / 0.8103 GB, free: 12.24 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.004003/0.6861, allocations: 2.159 MB / 0.8124 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6862, allocations: 16.02 kB / 0.8124 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.6865, allocations: 199.7 kB / 0.8126 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.6887, allocations: 1.244 MB / 0.8138 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.6887, allocations: 78.47 kB / 0.8139 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.6889, allocations: 115.9 kB / 0.814 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.6909, allocations: 1.175 MB / 0.8152 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.691, allocations: 3.938 kB / 0.8152 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/0.6911, allocations: 44 kB / 0.8152 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.6911, allocations: 24 kB / 0.8152 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/0.6929, allocations: 1.074 MB / 0.8163 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007229/0.7001, allocations: 5.265 MB / 0.8214 GB, free: 296 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.7017, allocations: 0.6982 MB / 0.8221 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006824/0.7024, allocations: 400.1 kB / 0.8225 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005163/0.7076, allocations: 3.905 MB / 0.8263 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.7076, allocations: 47.12 kB / 0.8264 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=108): time 2.454e-06/0.7076, allocations: 0 / 0.8264 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108): time 0.003929/0.7115, allocations: 1.842 MB / 0.8282 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.7116, allocations: 115.4 kB / 0.8283 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.7133, allocations: 1.29 MB / 0.8295 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.7134, allocations: 41.7 kB / 0.8296 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/0.714, allocations: 0.6214 MB / 0.8302 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.7143, allocations: 396.5 kB / 0.8306 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.7146, allocations: 194.9 kB / 0.8307 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.7148, allocations: 349.9 kB / 0.8311 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.7154, allocations: 298.5 kB / 0.8314 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.7161, allocations: 441.3 kB / 0.8318 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.7175, allocations: 0.7729 MB / 0.8325 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.7175, allocations: 3.938 kB / 0.8325 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002323/0.7199, allocations: 1.162 MB / 0.8337 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.7199, allocations: 8 kB / 0.8337 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7199, allocations: 4 kB / 0.8337 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/0.7204, allocations: 152.2 kB / 0.8338 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.7212, allocations: 211.7 kB / 0.834 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006432/0.7276, allocations: 7.256 MB / 0.8411 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.7289, allocations: 107.1 kB / 0.8412 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.7291, allocations: 51.97 kB / 0.8413 GB, free: 10.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007904/0.7299, allocations: 313.7 kB / 0.8416 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.7303, allocations: 178.9 kB / 0.8417 GB, free: 9.906 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.7335, allocations: 1.708 MB / 0.8434 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.7335, allocations: 8 kB / 0.8434 GB, free: 8.133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7335, allocations: 8 kB / 0.8434 GB, free: 8.125 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.7335, allocations: 3.984 kB / 0.8434 GB, free: 8.121 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.7374, allocations: 2.385 MB / 0.8458 GB, free: 5.621 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.7374, allocations: 11.92 kB / 0.8458 GB, free: 5.609 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/0.738, allocations: 127.8 kB / 0.8459 GB, free: 5.484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/0.7385, allocations: 168.5 kB / 0.846 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.118e-05/0.7385, allocations: 27.98 kB / 0.8461 GB, free: 5.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006051/0.7446, allocations: 7.26 MB / 0.8532 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.7446, allocations: 8.125 kB / 0.8532 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.7474, allocations: 1.583 MB / 0.8547 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.748, allocations: 339.7 kB / 0.855 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.7482, allocations: 39.81 kB / 0.8551 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.7488, allocations: 20 kB / 0.8551 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.749, allocations: 79.72 kB / 0.8552 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/0.7491, allocations: 40.05 kB / 0.8552 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001466/0.7505, allocations: 0.9889 MB / 0.8562 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7505, allocations: 0 / 0.8562 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001462/0.752, allocations: 463.2 kB / 0.8566 GB, free: 9.695 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00198/0.754, allocations: 0.7511 MB / 0.8574 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002328/0.7563, allocations: 1.307 MB / 0.8586 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7563, allocations: 0 / 0.8586 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.7576, allocations: 0.916 MB / 0.8595 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.7599, allocations: 485.2 kB / 0.86 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/0.7655, allocations: 2.88 MB / 0.8628 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.7664, allocations: 1.217 MB / 0.864 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000927/0.7673, allocations: 302.4 kB / 0.8643 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.7676, allocations: 143.4 kB / 0.8644 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/0.7676, allocations: 0 / 0.8644 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of Templates: time 0.3115/1.079, allocations: 25.51 MB / 0.8893 GB, free: 220.8 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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: 7.027402686886489]