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.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.001968/0.001968, allocations: 108.6 kB / 18.67 MB, free: 3.191 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.01039/0.01039, allocations: 194.7 kB / 21.93 MB, free: 5.594 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.472/1.472, allocations: 225.6 MB / 250.6 MB, free: 13.37 MB / 206.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.7926/0.7926, allocations: 94.58 MB / 400.4 MB, free: 15.79 MB / 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: 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 0.002442/0.002442, allocations: 89.2 kB / 0.5464 GB, free: 42.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1454, allocations: 71.85 MB / 0.6166 GB, free: 8.586 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5631/0.7085, allocations: 162.8 MB / 0.7755 GB, free: 3.258 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.7212, allocations: 12.79 MB / 0.788 GB, free: 3.062 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.7223, allocations: 38.5 kB / 0.7881 GB, free: 3.059 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.7241, allocations: 0.6743 MB / 0.7887 GB, free: 3.035 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003399/0.7274, allocations: 1.173 MB / 0.7899 GB, free: 3 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.7302, allocations: 0.8969 MB / 0.7907 GB, free: 2.973 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.002417/0.7327, allocations: 1.911 MB / 0.7926 GB, free: 2.973 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.7331, allocations: 211.7 kB / 0.7928 GB, free: 2.93 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.7346, allocations: 0.8777 MB / 0.7937 GB, free: 2.926 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.736, allocations: 1.105 MB / 0.7947 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.7363, allocations: 127.2 kB / 0.7949 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.7399, allocations: 1.554 MB / 0.7964 GB, free: 2.859 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.7403, allocations: 390.3 kB / 0.7968 GB, free: 2.801 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0009248/0.7412, allocations: 0.7158 MB / 0.7975 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.7451, allocations: 2.19 MB / 0.7996 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7451, allocations: 5.328 kB / 0.7996 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7451, allocations: 4.906 kB / 0.7996 GB, free: 2.25 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.7451, allocations: 0 / 0.7996 GB, free: 2.25 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004408/0.7495, allocations: 2.07 MB / 0.8016 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.7496, allocations: 9.469 kB / 0.8016 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.7499, allocations: 161.1 kB / 0.8018 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.7517, allocations: 0.9772 MB / 0.8027 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.544e-05/0.7518, allocations: 101.4 kB / 0.8028 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.752, allocations: 97.42 kB / 0.8029 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.754, allocations: 1.466 MB / 0.8044 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.754, allocations: 3.094 kB / 0.8044 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.7542, allocations: 41.72 kB / 0.8044 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.7542, allocations: 49.48 kB / 0.8045 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.757, allocations: 2.053 MB / 0.8065 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008293/0.7653, allocations: 5.218 MB / 0.8116 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.7672, allocations: 1.232 MB / 0.8128 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.7684, allocations: 0.8145 MB / 0.8136 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006541/0.7749, allocations: 4.707 MB / 0.8182 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.775, allocations: 47.16 kB / 0.8182 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=119): time 3.727e-06/0.775, allocations: 0.625 kB / 0.8182 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.01009/0.7851, allocations: 5.273 MB / 0.8233 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.7851, allocations: 66.25 kB / 0.8234 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.7866, allocations: 0.9196 MB / 0.8243 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.7868, allocations: 45.3 kB / 0.8244 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.7872, allocations: 470.6 kB / 0.8248 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/0.7876, allocations: 445.8 kB / 0.8252 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/0.7881, allocations: 244.8 kB / 0.8255 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.7882, allocations: 348 kB / 0.8258 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.7894, allocations: 0.6323 MB / 0.8264 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.7906, allocations: 0.7591 MB / 0.8272 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.793, allocations: 1.471 MB / 0.8286 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.793, allocations: 0.875 kB / 0.8286 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004644/0.7976, allocations: 1.966 MB / 0.8305 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.7977, allocations: 4.594 kB / 0.8305 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/0.7977, allocations: 4.688 kB / 0.8305 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.7989, allocations: 351.4 kB / 0.8309 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.8001, allocations: 229.2 kB / 0.8311 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006094/0.8061, allocations: 3.89 MB / 0.8349 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.8073, allocations: 31.98 kB / 0.8349 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.8074, allocations: 62.59 kB / 0.835 GB, free: 13.29 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (112): * Single equations (assignments): 110 * 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.0007594/0.8082, allocations: 324.2 kB / 0.8353 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.8085, allocations: 136.1 kB / 0.8354 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/0.8135, allocations: 2.75 MB / 0.8381 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.8135, allocations: 6.188 kB / 0.8381 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.8135, allocations: 3.984 kB / 0.8381 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007548/0.8142, allocations: 348.1 kB / 0.8384 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.8144, allocations: 20.88 kB / 0.8384 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/0.8151, allocations: 32.89 kB / 0.8385 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.8153, allocations: 112 kB / 0.8386 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00457/0.8199, allocations: 1.855 MB / 0.8404 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004333/0.8242, allocations: 2.502 MB / 0.8428 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001104/0.8253, allocations: 0.6098 MB / 0.8434 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001157/0.8265, allocations: 0.6926 MB / 0.8441 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of Backend: time 6.01e-07/0.8265, allocations: 0 / 0.8441 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00612/0.8326, allocations: 2.109 MB / 0.8462 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of SimCode: time 0.006389/0.839, allocations: 3.369 MB / 0.8495 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.05426/0.8932, allocations: 31.33 MB / 0.8801 GB, free: 15.58 MB / 0.6544 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1200] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.691236722981557]