Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.0009511/0.0009511, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009879/0.0009879, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9165/0.9165, allocations: 177.2 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6389/0.6389, allocations: 118.6 MB / 378.9 MB, free: 1.375 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.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_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_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 484.1 MB, free: 8.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.788e-05, allocations: 2.312 kB / 484.1 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.1197/0.1197, allocations: 134 MB / 0.6035 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00543/0.1252, allocations: 3.675 MB / 0.6071 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006454/0.1258, allocations: 99.06 kB / 0.6072 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.1267, allocations: 0.5548 MB / 0.6078 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.1287, allocations: 1.331 MB / 0.6091 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1298, allocations: 0.6584 MB / 0.6097 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.1319, allocations: 2.909 MB / 0.6125 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.1322, allocations: 237.4 kB / 0.6128 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.1342, allocations: 1.676 MB / 0.6144 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.1353, allocations: 1.064 MB / 0.6154 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.1354, allocations: 112 kB / 0.6155 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005563/0.136, allocations: 339.5 kB / 0.6159 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003702/0.1363, allocations: 354.3 kB / 0.6162 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004601/0.1368, allocations: 0.5649 MB / 0.6168 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.1382, allocations: 1.564 MB / 0.6183 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1382, allocations: 3.938 kB / 0.6183 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1382, allocations: 0 / 0.6183 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.1382, allocations: 0 / 0.6183 GB, free: 10.87 MB / 0.5417 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.002418/0.1406, allocations: 2.198 MB / 0.6204 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1407, allocations: 8.031 kB / 0.6204 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.1411, allocations: 347.4 kB / 0.6208 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.1426, allocations: 1.209 MB / 0.622 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.1426, allocations: 90.41 kB / 0.622 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.1428, allocations: 108.4 kB / 0.6221 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.1437, allocations: 0.8791 MB / 0.623 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1437, allocations: 0 / 0.623 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.1438, allocations: 44 kB / 0.623 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.1438, allocations: 27.98 kB / 0.6231 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.1444, allocations: 439.5 kB / 0.6235 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.1483, allocations: 4.021 MB / 0.6274 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.1489, allocations: 0.5584 MB / 0.628 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.1492, allocations: 233.7 kB / 0.6282 GB, free: 388 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/0.1508, allocations: 1.658 MB / 0.6298 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1509, allocations: 53.98 kB / 0.6299 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=108): time 2.004e-06/0.1509, allocations: 0 / 0.6299 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=108): time 0.001343/0.1522, allocations: 1.071 MB / 0.6309 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1522, allocations: 115.4 kB / 0.631 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/0.1529, allocations: 1.073 MB / 0.6321 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.153, allocations: 45.7 kB / 0.6321 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.1533, allocations: 0.7175 MB / 0.6328 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.1535, allocations: 392.5 kB / 0.6332 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1537, allocations: 220.4 kB / 0.6334 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1538, allocations: 0.512 MB / 0.6339 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.154, allocations: 134.5 kB / 0.634 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.1543, allocations: 0.5395 MB / 0.6345 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.1548, allocations: 0.536 MB / 0.6351 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1548, allocations: 0 / 0.6351 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0008855/0.1557, allocations: 0.8667 MB / 0.6359 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1557, allocations: 4 kB / 0.6359 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1557, allocations: 11.92 kB / 0.6359 GB, free: 8.133 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.156, allocations: 150.5 kB / 0.6361 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.1564, allocations: 207.7 kB / 0.6363 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2468/0.4032, allocations: 8.766 MB / 0.6448 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007894/0.404, allocations: 93.03 kB / 0.6449 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.4041, allocations: 37.25 kB / 0.645 GB, free: 49.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0003415/0.4044, allocations: 220.1 kB / 0.6452 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.4047, allocations: 197.5 kB / 0.6454 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.4065, allocations: 1.573 MB / 0.6469 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4065, allocations: 10.3 kB / 0.6469 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.4065, allocations: 3.656 kB / 0.6469 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4065, allocations: 4.734 kB / 0.6469 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.4084, allocations: 1.724 MB / 0.6486 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4084, allocations: 3.438 kB / 0.6486 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4087, allocations: 119.7 kB / 0.6487 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.4089, allocations: 168 kB / 0.6489 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.409, allocations: 33.28 kB / 0.6489 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.4114, allocations: 8.774 MB / 0.6575 GB, free: 39.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.4114, allocations: 7.062 kB / 0.6575 GB, free: 39.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.4126, allocations: 1.313 MB / 0.6588 GB, free: 38.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.4129, allocations: 228.5 kB / 0.659 GB, free: 38.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.413, allocations: 39.05 kB / 0.659 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.4133, allocations: 18.03 kB / 0.659 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.496e-05/0.4134, allocations: 80.34 kB / 0.6591 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.4134, allocations: 29.73 kB / 0.6591 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004982/0.4139, allocations: 0.6746 MB / 0.6598 GB, free: 38.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4139, allocations: 2.875 kB / 0.6598 GB, free: 38.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009199/0.4149, allocations: 416.3 kB / 0.6602 GB, free: 38.41 MB / 0.5573 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 (70): * Single equations (assignments): 65 * 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.0008269/0.4157, allocations: 395.2 kB / 0.6606 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.4167, allocations: 1.355 MB / 0.6619 GB, free: 37.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4167, allocations: 3.625 kB / 0.6619 GB, free: 37.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.4172, allocations: 1.103 MB / 0.663 GB, free: 36.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.4186, allocations: 0.5707 MB / 0.6635 GB, free: 36.46 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.4218, allocations: 2.589 MB / 0.6661 GB, free: 35.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.422, allocations: 259.8 kB / 0.6663 GB, free: 35.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007982/0.4228, allocations: 269.4 kB / 0.6666 GB, free: 35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.4239, allocations: 488.5 kB / 0.667 GB, free: 34.94 MB / 0.5573 GB Notification: Performance of SimCode: time 1.973e-06/0.4239, allocations: 2.531 kB / 0.667 GB, free: 34.94 MB / 0.5573 GB Notification: Performance of Templates: time 0.03468/0.4585, allocations: 23.75 MB / 0.6902 GB, free: 31.07 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.307994281873107]