Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.001552/0.001552, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001748/0.001748, allocations: 221.6 kB / 23 MB, free: 4.914 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 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 0.7617/0.7617, allocations: 100.9 MB / 414.1 MB, free: 2.891 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 88.41 kB / 0.5653 GB, free: 35.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1331, allocations: 74.62 MB / 0.6382 GB, free: 6.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5383/0.6714, allocations: 176 MB / 0.81 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01515/0.6865, allocations: 13.67 MB / 0.8233 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.6877, allocations: 63.5 kB / 0.8234 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.6892, allocations: 466.2 kB / 0.8238 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.6933, allocations: 1.375 MB / 0.8252 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00394/0.6973, allocations: 1.483 MB / 0.8266 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.6992, allocations: 1.387 MB / 0.828 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.6996, allocations: 165.2 kB / 0.8281 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002234/0.7018, allocations: 1.142 MB / 0.8293 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.7026, allocations: 463.2 kB / 0.8297 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.7028, allocations: 76.72 kB / 0.8298 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004695/0.7075, allocations: 2.538 MB / 0.8323 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.7077, allocations: 204.7 kB / 0.8324 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000605/0.7083, allocations: 415 kB / 0.8328 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.712, allocations: 1.963 MB / 0.8348 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.712, allocations: 0 / 0.8348 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.712, allocations: 0 / 0.8348 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.712, allocations: 0 / 0.8348 GB, free: 7.719 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00258/0.7146, allocations: 1.526 MB / 0.8363 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.7146, allocations: 14.44 kB / 0.8363 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.7162, allocations: 251.8 kB / 0.8365 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.7176, allocations: 0.7073 MB / 0.8372 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.7179, allocations: 284.8 kB / 0.8375 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.718, allocations: 80.12 kB / 0.8375 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.7194, allocations: 0.8084 MB / 0.8383 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.7194, allocations: 0 / 0.8383 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.7195, allocations: 24.91 kB / 0.8384 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.7195, allocations: 22.92 kB / 0.8384 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.721, allocations: 0.6978 MB / 0.8391 GB, free: 4.762 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003401/0.7244, allocations: 1.863 MB / 0.8409 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.7256, allocations: 0.5744 MB / 0.8414 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.7262, allocations: 301.1 kB / 0.8417 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.7265, allocations: 68.52 kB / 0.8418 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.7265, allocations: 44.27 kB / 0.8418 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 1.984e-06/0.7265, allocations: 4 kB / 0.8418 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004615/0.7311, allocations: 1.466 MB / 0.8433 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.7312, allocations: 59.81 kB / 0.8433 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/0.7319, allocations: 0.6312 MB / 0.8439 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.7319, allocations: 36.33 kB / 0.844 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.7322, allocations: 458 kB / 0.8444 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.7324, allocations: 203.7 kB / 0.8446 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.7326, allocations: 112.8 kB / 0.8447 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.7327, allocations: 331 kB / 0.845 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.7333, allocations: 238.1 kB / 0.8453 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.7338, allocations: 290.9 kB / 0.8455 GB, free: 476 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.735, allocations: 0.5148 MB / 0.846 GB, free: 204 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.735, allocations: 2.625 kB / 0.846 GB, free: 204 kB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00231/0.7373, allocations: 0.9469 MB / 0.847 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7373, allocations: 7.812 kB / 0.847 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.7373, allocations: 0 / 0.847 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007004/0.738, allocations: 215.3 kB / 0.8472 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.7385, allocations: 122.2 kB / 0.8473 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/0.7439, allocations: 4.661 MB / 0.8518 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.7445, allocations: 67.61 kB / 0.8519 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/0.7446, allocations: 34.83 kB / 0.8519 GB, free: 11.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003408/0.7449, allocations: 203 kB / 0.8521 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.7451, allocations: 88.89 kB / 0.8522 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/0.748, allocations: 1.308 MB / 0.8535 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.748, allocations: 7.75 kB / 0.8535 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7481, allocations: 0 / 0.8535 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.7481, allocations: 3.984 kB / 0.8535 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.7516, allocations: 1.648 MB / 0.8551 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7516, allocations: 6.844 kB / 0.8551 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.7521, allocations: 104.1 kB / 0.8552 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006597/0.7528, allocations: 229.2 kB / 0.8554 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.7528, allocations: 25.42 kB / 0.8555 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005496/0.7583, allocations: 4.655 MB / 0.86 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7583, allocations: 0 / 0.86 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.7614, allocations: 1.339 MB / 0.8613 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.7618, allocations: 135.6 kB / 0.8615 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.7619, allocations: 20.8 kB / 0.8615 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.7624, allocations: 35.31 kB / 0.8615 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.7626, allocations: 57.72 kB / 0.8616 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/0.7626, allocations: 32.52 kB / 0.8616 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006068/0.7632, allocations: 451.4 kB / 0.862 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5e-08/0.7632, allocations: 0 / 0.862 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001235/0.7645, allocations: 410.9 kB / 0.8624 GB, free: 3.035 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.7655, allocations: 0.504 MB / 0.8629 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.7677, allocations: 0.9711 MB / 0.8639 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.7677, allocations: 0 / 0.8639 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.769, allocations: 0.7096 MB / 0.8645 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.7699, allocations: 201.1 kB / 0.8647 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.7735, allocations: 1.883 MB / 0.8666 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.774, allocations: 408.5 kB / 0.867 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.7744, allocations: 135.3 kB / 0.8671 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of SimCode: time 1.052e-06/0.7744, allocations: 0 / 0.8671 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of Templates: time 0.0345/0.8089, allocations: 26.87 MB / 0.8933 GB, free: 3.25 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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: 11.010957187972963]