Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001548/0.001548, allocations: 80.69 kB / 19.18 MB, free: 2.516 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.001792/0.001792, allocations: 159.8 kB / 22.46 MB, free: 5.375 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.377/1.377, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7426/0.7426, allocations: 80.2 MB / 339.4 MB, free: 10.9 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|basicControlValve.m_flow|fan.m_flow|fan.omega|fan.phi|flowResistance.m_flow|nozzle.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.4928 GB, free: 25.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.835e-05, allocations: 5.125 kB / 0.4928 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1733/0.1733, allocations: 141.8 MB / 0.6314 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01586/0.1892, allocations: 10.97 MB / 0.6421 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.1902, allocations: 51.56 kB / 0.6421 GB, free: 6.262 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.1919, allocations: 0.633 MB / 0.6428 GB, free: 5.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.1953, allocations: 1.316 MB / 0.644 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.1979, allocations: 0.9272 MB / 0.6449 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.2006, allocations: 2.117 MB / 0.647 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.201, allocations: 211.7 kB / 0.6472 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.2033, allocations: 1.227 MB / 0.6484 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.205, allocations: 0.9977 MB / 0.6494 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002964/0.2053, allocations: 132 kB / 0.6495 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.2083, allocations: 1.341 MB / 0.6508 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004708/0.2088, allocations: 406.6 kB / 0.6512 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.2096, allocations: 0.5222 MB / 0.6517 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003657/0.2133, allocations: 2.306 MB / 0.654 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2133, allocations: 0 / 0.654 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2133, allocations: 0 / 0.654 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.791e-05/0.2133, allocations: 4 kB / 0.654 GB, free: 10.08 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.005038/0.2184, allocations: 2.01 MB / 0.6559 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2184, allocations: 9.469 kB / 0.6559 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/0.2189, allocations: 179.1 kB / 0.6561 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.2207, allocations: 0.924 MB / 0.657 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.2208, allocations: 121.4 kB / 0.6571 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.221, allocations: 99.95 kB / 0.6572 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.2236, allocations: 1.564 MB / 0.6588 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.2237, allocations: 7.984 kB / 0.6588 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.2238, allocations: 40 kB / 0.6588 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.2238, allocations: 49.92 kB / 0.6588 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.2273, allocations: 2.068 MB / 0.6609 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008387/0.2357, allocations: 4.094 MB / 0.6649 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.2378, allocations: 1.242 MB / 0.6661 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.2392, allocations: 0.8187 MB / 0.6669 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003727/0.2429, allocations: 1.569 MB / 0.6684 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.2429, allocations: 47.56 kB / 0.6685 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=120): time 3.186e-06/0.2429, allocations: 3.938 kB / 0.6685 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=122): time 0.01003/0.253, allocations: 4.726 MB / 0.6731 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.253, allocations: 64.41 kB / 0.6731 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.2541, allocations: 0.8153 MB / 0.6739 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.674e-05/0.2542, allocations: 45.7 kB / 0.674 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.2546, allocations: 489.7 kB / 0.6744 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/0.255, allocations: 448.1 kB / 0.6749 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.2554, allocations: 238.8 kB / 0.6751 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2556, allocations: 357.9 kB / 0.6754 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.2567, allocations: 0.6272 MB / 0.6761 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.258, allocations: 0.8318 MB / 0.6769 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/0.2605, allocations: 1.497 MB / 0.6783 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2605, allocations: 3.938 kB / 0.6783 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00387/0.2644, allocations: 1.988 MB / 0.6803 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2644, allocations: 8 kB / 0.6803 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.2644, allocations: 4 kB / 0.6803 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2655, allocations: 349.6 kB / 0.6806 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.2666, allocations: 235.6 kB / 0.6808 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.2723, allocations: 3.69 MB / 0.6844 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/0.2732, allocations: 35.98 kB / 0.6845 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.2734, allocations: 55.94 kB / 0.6845 GB, free: 10.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006442/0.274, allocations: 337.4 kB / 0.6849 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.2744, allocations: 131.2 kB / 0.685 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.279, allocations: 2.75 MB / 0.6877 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.279, allocations: 19.92 kB / 0.6877 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.279, allocations: 4 kB / 0.6877 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.279, allocations: 7.969 kB / 0.6877 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/0.284, allocations: 2.864 MB / 0.6905 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.284, allocations: 4 kB / 0.6905 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008867/0.2849, allocations: 175.8 kB / 0.6907 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009993/0.2859, allocations: 400.7 kB / 0.691 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.286, allocations: 43.94 kB / 0.6911 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.216/0.502, allocations: 3.695 MB / 0.6947 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.502, allocations: 2.734 kB / 0.6947 GB, free: 178.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/0.5067, allocations: 2.813 MB / 0.6974 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.5073, allocations: 269.1 kB / 0.6977 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.5075, allocations: 23.78 kB / 0.6977 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/0.5082, allocations: 37.47 kB / 0.6978 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.5084, allocations: 95.28 kB / 0.6979 GB, free: 177.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5085, allocations: 51.92 kB / 0.6979 GB, free: 177.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000788/0.5093, allocations: 0.6225 MB / 0.6985 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5093, allocations: 0 / 0.6985 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001454/0.5107, allocations: 495.9 kB / 0.699 GB, free: 177.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/0.5126, allocations: 0.7549 MB / 0.6997 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002787/0.5154, allocations: 1.831 MB / 0.7015 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5154, allocations: 0 / 0.7015 GB, free: 176.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.517, allocations: 1.144 MB / 0.7026 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.5191, allocations: 485 kB / 0.7031 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.5231, allocations: 2.78 MB / 0.7058 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.5236, allocations: 0.5877 MB / 0.7064 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00085/0.5244, allocations: 339.9 kB / 0.7067 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/0.5248, allocations: 126.4 kB / 0.7068 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of SimCode: time 8.71e-07/0.5248, allocations: 0 / 0.7068 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.04052/0.5653, allocations: 27.69 MB / 0.7339 GB, free: 166.4 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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: 6.406453527510166]