Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.001292/0.001292, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001602/0.001602, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.809 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.7809/0.7809, allocations: 100.9 MB / 413.3 MB, free: 2.883 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.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.002472/0.002472, allocations: 83.45 kB / 0.5646 GB, free: 35.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1329, allocations: 74.62 MB / 0.6374 GB, free: 5.996 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5283/0.6612, allocations: 176 MB / 0.8093 GB, free: 1.512 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.6757, allocations: 13.49 MB / 0.8224 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.6769, allocations: 61.12 kB / 0.8225 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.6783, allocations: 479.5 kB / 0.8229 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.6821, allocations: 1.361 MB / 0.8243 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.6861, allocations: 1.404 MB / 0.8256 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002239/0.6883, allocations: 1.384 MB / 0.827 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004672/0.6888, allocations: 167.2 kB / 0.8272 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.6912, allocations: 1.133 MB / 0.8283 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.6918, allocations: 467.2 kB / 0.8287 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.981e-05/0.6919, allocations: 78.25 kB / 0.8288 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004583/0.6965, allocations: 2.44 MB / 0.8312 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.6967, allocations: 204.5 kB / 0.8314 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.6972, allocations: 415.3 kB / 0.8318 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003879/0.7011, allocations: 1.888 MB / 0.8336 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7011, allocations: 0 / 0.8336 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7011, allocations: 0 / 0.8336 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.47e-05/0.7011, allocations: 0 / 0.8336 GB, free: 8.859 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.003094/0.7042, allocations: 1.506 MB / 0.8351 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7043, allocations: 14.64 kB / 0.8351 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.706, allocations: 254.1 kB / 0.8353 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.7077, allocations: 0.7064 MB / 0.836 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/0.708, allocations: 293.4 kB / 0.8363 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7081, allocations: 71.5 kB / 0.8364 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.7097, allocations: 0.7879 MB / 0.8371 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.7097, allocations: 0 / 0.8371 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.7098, allocations: 29.5 kB / 0.8372 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.7098, allocations: 17.56 kB / 0.8372 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.7113, allocations: 0.6845 MB / 0.8378 GB, free: 5.938 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.00376/0.7151, allocations: 1.838 MB / 0.8396 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.7163, allocations: 0.5507 MB / 0.8402 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006074/0.717, allocations: 311.8 kB / 0.8405 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/0.7172, allocations: 75.25 kB / 0.8405 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.7172, allocations: 38.03 kB / 0.8406 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.114e-06/0.7172, allocations: 0 / 0.8406 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004671/0.7219, allocations: 1.478 MB / 0.842 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.722, allocations: 57.09 kB / 0.8421 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/0.7227, allocations: 0.6167 MB / 0.8427 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.039e-05/0.7228, allocations: 36.36 kB / 0.8427 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.7231, allocations: 453.8 kB / 0.8432 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.7233, allocations: 210.4 kB / 0.8434 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.7235, allocations: 110.9 kB / 0.8435 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7237, allocations: 324.9 kB / 0.8438 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.7242, allocations: 235.7 kB / 0.844 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.7248, allocations: 289.6 kB / 0.8443 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.7259, allocations: 0.5117 MB / 0.8448 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.7259, allocations: 0 / 0.8448 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002361/0.7282, allocations: 0.9328 MB / 0.8457 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.7283, allocations: 5.531 kB / 0.8457 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.7283, allocations: 6.391 kB / 0.8457 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007674/0.729, allocations: 209.5 kB / 0.8459 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.7296, allocations: 118.6 kB / 0.846 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005659/0.7353, allocations: 4.659 MB / 0.8506 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.7359, allocations: 67.45 kB / 0.8506 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.736, allocations: 41.36 kB / 0.8507 GB, free: 12.45 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (57): * Single equations (assignments): 54 * 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.0003587/0.7363, allocations: 196.4 kB / 0.8508 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.7365, allocations: 88.52 kB / 0.8509 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.7393, allocations: 1.307 MB / 0.8522 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7394, allocations: 5.188 kB / 0.8522 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7394, allocations: 2.188 kB / 0.8522 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.7394, allocations: 0 / 0.8522 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.7429, allocations: 1.629 MB / 0.8538 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.7429, allocations: 1.312 kB / 0.8538 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.7434, allocations: 110.4 kB / 0.8539 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007071/0.7442, allocations: 225.9 kB / 0.8541 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.7442, allocations: 22.62 kB / 0.8541 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005634/0.7498, allocations: 4.649 MB / 0.8587 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7499, allocations: 0 / 0.8587 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.7529, allocations: 1.331 MB / 0.86 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.7532, allocations: 132.1 kB / 0.8601 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.7533, allocations: 19.95 kB / 0.8601 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.7538, allocations: 35.97 kB / 0.8602 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.7539, allocations: 60.28 kB / 0.8602 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.754, allocations: 31.98 kB / 0.8603 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005712/0.7546, allocations: 447 kB / 0.8607 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7546, allocations: 0 / 0.8607 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001085/0.7557, allocations: 367.1 kB / 0.861 GB, free: 4.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (51): * Single equations (assignments): 48 * 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.0007924/0.7565, allocations: 459 kB / 0.8615 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.7585, allocations: 0.9668 MB / 0.8624 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7585, allocations: 0 / 0.8624 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.7598, allocations: 0.7099 MB / 0.8631 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.7607, allocations: 191 kB / 0.8633 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.7642, allocations: 1.841 MB / 0.8651 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.7647, allocations: 404.5 kB / 0.8655 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009414/0.7656, allocations: 434.4 kB / 0.8659 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.7659, allocations: 107.4 kB / 0.866 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of SimCode: time 9.12e-07/0.7659, allocations: 0 / 0.866 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of Templates: time 0.02963/0.7955, allocations: 16.67 MB / 0.8823 GB, free: 14.48 MB / 0.6388 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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: 6.580988463014364]