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.001421/0.001421, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001502/0.001502, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.582/1.582, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6961/0.6961, allocations: 94.61 MB / 397.3 MB, free: 488 kB / 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-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: "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 79.88 kB / 0.5416 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5296/0.532, allocations: 71.84 MB / 0.6118 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.2505/0.7825, allocations: 173.1 MB / 0.7808 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.8024, allocations: 11.4 MB / 0.792 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.8044, allocations: 67.56 kB / 0.792 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.8075, allocations: 0.8972 MB / 0.7929 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006912/0.8144, allocations: 1.725 MB / 0.7946 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005153/0.8195, allocations: 1.316 MB / 0.7959 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004731/0.8243, allocations: 2.55 MB / 0.7984 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.8248, allocations: 246.6 kB / 0.7986 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.8282, allocations: 1.447 MB / 0.8 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.8298, allocations: 1.163 MB / 0.8011 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000291/0.8301, allocations: 108 kB / 0.8012 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0043/0.8344, allocations: 1.875 MB / 0.8031 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.8347, allocations: 338.5 kB / 0.8034 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.8357, allocations: 0.8041 MB / 0.8042 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.8403, allocations: 2.509 MB / 0.8066 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8403, allocations: 0 / 0.8066 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8403, allocations: 0 / 0.8066 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.216e-05/0.8403, allocations: 4 kB / 0.8066 GB, free: 13.38 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.004223/0.8445, allocations: 2.167 MB / 0.8088 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8446, allocations: 8.031 kB / 0.8088 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003215/0.8449, allocations: 152.8 kB / 0.8089 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.8452, allocations: 203.7 kB / 0.8091 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.8476, allocations: 1.244 MB / 0.8103 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.8477, allocations: 82.22 kB / 0.8104 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.8478, allocations: 115.9 kB / 0.8105 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.8498, allocations: 1.179 MB / 0.8117 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.8498, allocations: 3.938 kB / 0.8117 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.8499, allocations: 40 kB / 0.8117 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.85, allocations: 32 kB / 0.8117 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.8518, allocations: 1.074 MB / 0.8128 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007512/0.8593, allocations: 5.265 MB / 0.8179 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.8609, allocations: 0.6894 MB / 0.8186 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007451/0.8616, allocations: 392.1 kB / 0.819 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005393/0.867, allocations: 3.897 MB / 0.8228 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.867, allocations: 55.11 kB / 0.8228 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=108): time 2.324e-06/0.867, allocations: 0 / 0.8228 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108): time 0.004352/0.8714, allocations: 1.844 MB / 0.8246 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.8715, allocations: 123.3 kB / 0.8247 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.8733, allocations: 1.282 MB / 0.826 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.8734, allocations: 41.7 kB / 0.826 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006716/0.8741, allocations: 0.6252 MB / 0.8266 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/0.8744, allocations: 396.6 kB / 0.827 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.8747, allocations: 198.9 kB / 0.8272 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.8749, allocations: 345.9 kB / 0.8275 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.8754, allocations: 298.5 kB / 0.8278 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.8762, allocations: 445.3 kB / 0.8283 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.8777, allocations: 0.7688 MB / 0.829 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8777, allocations: 0 / 0.829 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002404/0.8801, allocations: 1.165 MB / 0.8301 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.8801, allocations: 8 kB / 0.8301 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8801, allocations: 0 / 0.8301 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.8806, allocations: 164.3 kB / 0.8303 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.8815, allocations: 207.7 kB / 0.8305 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006633/0.8881, allocations: 7.252 MB / 0.8376 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.8891, allocations: 107.1 kB / 0.8377 GB, free: 11.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.8893, allocations: 47.98 kB / 0.8377 GB, free: 11.37 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.0005685/0.8898, allocations: 317.8 kB / 0.838 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.8903, allocations: 178.8 kB / 0.8382 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.8934, allocations: 1.715 MB / 0.8399 GB, free: 9.098 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.8935, allocations: 8 kB / 0.8399 GB, free: 9.09 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8935, allocations: 4 kB / 0.8399 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.8935, allocations: 3.984 kB / 0.8399 GB, free: 9.082 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/0.8976, allocations: 2.392 MB / 0.8422 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.8976, allocations: 4 kB / 0.8422 GB, free: 6.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.8982, allocations: 127.8 kB / 0.8424 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.8987, allocations: 160.5 kB / 0.8425 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.8987, allocations: 35.97 kB / 0.8425 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006803/0.9055, allocations: 7.264 MB / 0.8496 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.9055, allocations: 7.984 kB / 0.8496 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.9084, allocations: 1.577 MB / 0.8512 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/0.909, allocations: 347.6 kB / 0.8515 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/0.9093, allocations: 35.88 kB / 0.8516 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.9099, allocations: 23.98 kB / 0.8516 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.91, allocations: 75.78 kB / 0.8516 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/0.9101, allocations: 31.98 kB / 0.8517 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001507/0.9116, allocations: 0.9928 MB / 0.8526 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9116, allocations: 0 / 0.8526 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001461/0.913, allocations: 467.2 kB / 0.8531 GB, free: 10.65 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.004791/0.9178, allocations: 2.787 MB / 0.8558 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.9204, allocations: 1.293 MB / 0.8571 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9204, allocations: 0 / 0.8571 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.9218, allocations: 0.9263 MB / 0.858 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.9243, allocations: 480.6 kB / 0.8584 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3639/1.288, allocations: 10.95 MB / 0.8691 GB, free: 227.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/1.289, allocations: 1.215 MB / 0.8703 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001083/1.29, allocations: 292.7 kB / 0.8706 GB, free: 226.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/1.291, allocations: 0.6089 MB / 0.8712 GB, free: 225.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.462e-06/1.291, allocations: 0 / 0.8712 GB, free: 225.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.391, allocations: 39.75 MB / 0.91 GB, free: 206.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.63/17.02, allocations: 10.3 kB / 0.91 GB, free: 206.9 MB / 0.6856 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 20.91227734973654]