Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001807/0.001807, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002025/0.002025, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.065/1.065, allocations: 118.6 MB / 378.2 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.19e-05, allocations: 3.438 kB / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.2925/0.2926, allocations: 157.3 MB / 0.6252 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03755/0.3301, allocations: 12.47 MB / 0.6374 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.3318, allocations: 59.44 kB / 0.6374 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003641/0.3354, allocations: 0.6407 MB / 0.6381 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008339/0.3438, allocations: 1.328 MB / 0.6393 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006203/0.35, allocations: 0.9688 MB / 0.6403 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005793/0.3558, allocations: 2.21 MB / 0.6425 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/0.3566, allocations: 215.8 kB / 0.6427 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.288/0.6446, allocations: 1.256 MB / 0.6439 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.647, allocations: 1.012 MB / 0.6449 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0007327/0.6477, allocations: 128.8 kB / 0.645 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/0.6519, allocations: 1.34 MB / 0.6463 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000836/0.6527, allocations: 420.9 kB / 0.6467 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.6545, allocations: 0.5379 MB / 0.6472 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004884/0.6594, allocations: 2.4 MB / 0.6496 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6594, allocations: 0 / 0.6496 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6594, allocations: 0 / 0.6496 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.6594, allocations: 4 kB / 0.6496 GB, free: 15.43 MB / 0.5573 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.004635/0.664, allocations: 2.285 MB / 0.6518 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6641, allocations: 9.062 kB / 0.6518 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.6647, allocations: 264.9 kB / 0.6521 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.6664, allocations: 0.9998 MB / 0.653 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/0.6669, allocations: 123.2 kB / 0.6532 GB, free: 29.94 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.6671, allocations: 104.6 kB / 0.6533 GB, free: 29.93 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.6693, allocations: 1.323 MB / 0.6546 GB, free: 29.74 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.6694, allocations: 0 / 0.6546 GB, free: 29.74 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6695, allocations: 35.34 kB / 0.6546 GB, free: 29.74 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.6695, allocations: 49.66 kB / 0.6546 GB, free: 29.74 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.6721, allocations: 1.539 MB / 0.6561 GB, free: 29.73 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008607/0.6807, allocations: 4.17 MB / 0.6602 GB, free: 28.94 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.6824, allocations: 0.9578 MB / 0.6611 GB, free: 28.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.6836, allocations: 0.5927 MB / 0.6617 GB, free: 28.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004306/0.6879, allocations: 1.583 MB / 0.6633 GB, free: 28.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.6879, allocations: 49.47 kB / 0.6633 GB, free: 28.46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=120): time 3.306e-06/0.6879, allocations: 0.875 kB / 0.6633 GB, free: 28.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=122): time 0.009158/0.6971, allocations: 3.858 MB / 0.6671 GB, free: 27.93 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.6971, allocations: 64.12 kB / 0.6671 GB, free: 27.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.6987, allocations: 1.039 MB / 0.6682 GB, free: 27.65 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.6988, allocations: 49.7 kB / 0.6682 GB, free: 27.62 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.6992, allocations: 0.5884 MB / 0.6688 GB, free: 27.38 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.6996, allocations: 468.9 kB / 0.6692 GB, free: 27.09 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004437/0.7, allocations: 283.3 kB / 0.6695 GB, free: 27.06 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003422/0.7004, allocations: 0.5461 MB / 0.67 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008952/0.7013, allocations: 456.7 kB / 0.6705 GB, free: 26.58 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.7024, allocations: 0.8392 MB / 0.6713 GB, free: 26.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.7045, allocations: 1.235 MB / 0.6725 GB, free: 26.06 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7045, allocations: 5.188 kB / 0.6725 GB, free: 26.06 MB / 0.573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003208/0.7077, allocations: 1.686 MB / 0.6741 GB, free: 25.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.7077, allocations: 5.438 kB / 0.6742 GB, free: 25.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.7077, allocations: 8.094 kB / 0.6742 GB, free: 25.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009777/0.7087, allocations: 353.4 kB / 0.6745 GB, free: 25.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.7098, allocations: 235.2 kB / 0.6747 GB, free: 25.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.7149, allocations: 4.209 MB / 0.6788 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.7162, allocations: 38.91 kB / 0.6789 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.7164, allocations: 61.36 kB / 0.6789 GB, free: 23.86 MB / 0.573 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.0006399/0.717, allocations: 311.2 kB / 0.6792 GB, free: 23.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/0.7175, allocations: 181.8 kB / 0.6794 GB, free: 23.62 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.7216, allocations: 2.844 MB / 0.6822 GB, free: 23.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.7216, allocations: 11.59 kB / 0.6822 GB, free: 23.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.7216, allocations: 3.469 kB / 0.6822 GB, free: 23.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.7216, allocations: 8.125 kB / 0.6822 GB, free: 23.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/0.7266, allocations: 2.7 MB / 0.6848 GB, free: 22.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.7266, allocations: 3.594 kB / 0.6848 GB, free: 22.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/0.7275, allocations: 179.5 kB / 0.685 GB, free: 22.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009897/0.7285, allocations: 403.5 kB / 0.6854 GB, free: 22.83 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.7286, allocations: 48.09 kB / 0.6854 GB, free: 22.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005083/0.7337, allocations: 4.213 MB / 0.6896 GB, free: 20.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.7337, allocations: 2.719 kB / 0.6896 GB, free: 20.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/0.7377, allocations: 2.266 MB / 0.6918 GB, free: 20.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/0.7384, allocations: 261.9 kB / 0.692 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.7386, allocations: 24.62 kB / 0.692 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/0.7393, allocations: 27.42 kB / 0.6921 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.7396, allocations: 102.4 kB / 0.6922 GB, free: 20.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.985e-05/0.7397, allocations: 49.77 kB / 0.6922 GB, free: 20.33 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008634/0.7405, allocations: 0.6922 MB / 0.6929 GB, free: 20.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.7405, allocations: 0 / 0.6929 GB, free: 20.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00155/0.7421, allocations: 0.4928 MB / 0.6934 GB, free: 20.14 MB / 0.573 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.003025/0.7451, allocations: 0.7478 MB / 0.6941 GB, free: 19.94 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003011/0.7481, allocations: 1.636 MB / 0.6957 GB, free: 19.65 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7481, allocations: 0 / 0.6957 GB, free: 19.65 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.7499, allocations: 1.066 MB / 0.6967 GB, free: 19.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.7524, allocations: 0.5204 MB / 0.6972 GB, free: 19.31 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.7565, allocations: 2.657 MB / 0.6998 GB, free: 18.26 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.757, allocations: 0.5901 MB / 0.7004 GB, free: 18.11 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001122/0.7581, allocations: 316.7 kB / 0.7007 GB, free: 18.04 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.7585, allocations: 143.8 kB / 0.7009 GB, free: 18.03 MB / 0.573 GB Notification: Performance of SimCode: time 1.253e-06/0.7585, allocations: 0 / 0.7009 GB, free: 18.03 MB / 0.573 GB Notification: Performance of Templates: time 0.04099/0.7995, allocations: 28.43 MB / 0.7286 GB, free: 7.223 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 7.628510448965244]