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.001651/0.001651, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001548/0.001548, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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 1.013/1.013, allocations: 116 MB / 375.2 MB, free: 7.543 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 0.5537 GB, free: 13.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.519e-05, allocations: 5.516 kB / 0.5537 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5589/0.559, allocations: 179.9 MB / 0.7294 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.571, allocations: 10.14 MB / 0.7393 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.5727, allocations: 70.88 kB / 0.7394 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.5743, allocations: 485.8 kB / 0.7399 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.5786, allocations: 1.476 MB / 0.7413 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.5823, allocations: 1.431 MB / 0.7427 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002275/0.5846, allocations: 1.594 MB / 0.7442 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004795/0.5851, allocations: 169.1 kB / 0.7444 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.588, allocations: 1.427 MB / 0.7458 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.5886, allocations: 402.1 kB / 0.7462 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.5887, allocations: 78.84 kB / 0.7463 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005099/0.5938, allocations: 2.44 MB / 0.7486 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.5941, allocations: 208.5 kB / 0.7488 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.5946, allocations: 356.2 kB / 0.7492 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.5984, allocations: 2.028 MB / 0.7512 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5984, allocations: 0.7812 kB / 0.7512 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5984, allocations: 0 / 0.7512 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.5984, allocations: 3.094 kB / 0.7512 GB, free: 4.551 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002914/0.6013, allocations: 1.541 MB / 0.7527 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6013, allocations: 10.5 kB / 0.7527 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.6032, allocations: 268 kB / 0.7529 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.6047, allocations: 0.744 MB / 0.7537 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.6049, allocations: 292.8 kB / 0.7539 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.605, allocations: 75.91 kB / 0.754 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.6065, allocations: 0.8076 MB / 0.7548 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.6065, allocations: 3.094 kB / 0.7548 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.6066, allocations: 30.84 kB / 0.7548 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.6066, allocations: 19.78 kB / 0.7549 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.608, allocations: 0.6829 MB / 0.7555 GB, free: 3.02 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.003298/0.6113, allocations: 2.034 MB / 0.7575 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.6126, allocations: 0.5499 MB / 0.758 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/0.6132, allocations: 297.6 kB / 0.7583 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/0.6135, allocations: 76.66 kB / 0.7584 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.6135, allocations: 46.64 kB / 0.7584 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.043e-06/0.6135, allocations: 0 / 0.7584 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.005184/0.6187, allocations: 1.481 MB / 0.7599 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.6187, allocations: 59.02 kB / 0.76 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007654/0.6195, allocations: 0.6567 MB / 0.7606 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/0.6196, allocations: 33.7 kB / 0.7606 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.6198, allocations: 476.8 kB / 0.7611 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.62, allocations: 213.2 kB / 0.7613 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.6201, allocations: 115 kB / 0.7614 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.626e-05/0.6202, allocations: 324.9 kB / 0.7617 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.6207, allocations: 231.6 kB / 0.7619 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/0.6213, allocations: 306.1 kB / 0.7622 GB, free: 464 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.6225, allocations: 0.5333 MB / 0.7627 GB, free: 220 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6225, allocations: 0 / 0.7627 GB, free: 220 kB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002654/0.6251, allocations: 0.9526 MB / 0.7637 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6252, allocations: 6.125 kB / 0.7637 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.6252, allocations: 0 / 0.7637 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008459/0.626, allocations: 221 kB / 0.7639 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.6266, allocations: 121 kB / 0.764 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006432/0.633, allocations: 4.698 MB / 0.7686 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.6338, allocations: 66.91 kB / 0.7687 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.6339, allocations: 42.14 kB / 0.7687 GB, free: 11.84 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (59): * Single equations (assignments): 56 * 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.0005335/0.6345, allocations: 215.3 kB / 0.7689 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.6347, allocations: 90.08 kB / 0.769 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/0.638, allocations: 1.303 MB / 0.7703 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.638, allocations: 9.812 kB / 0.7703 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.638, allocations: 2.844 kB / 0.7703 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.638, allocations: 3.047 kB / 0.7703 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/0.6421, allocations: 1.64 MB / 0.7719 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6421, allocations: 2.625 kB / 0.7719 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.6426, allocations: 104.2 kB / 0.772 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007864/0.6434, allocations: 222.6 kB / 0.7722 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.83e-05/0.6435, allocations: 28.38 kB / 0.7722 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006208/0.6497, allocations: 4.653 MB / 0.7768 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6497, allocations: 64 / 0.7768 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.6533, allocations: 1.331 MB / 0.7781 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.6537, allocations: 131 kB / 0.7782 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.6538, allocations: 15.16 kB / 0.7782 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.6544, allocations: 44.67 kB / 0.7782 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.6546, allocations: 58.81 kB / 0.7783 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/0.6547, allocations: 33.11 kB / 0.7783 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006831/0.6554, allocations: 471 kB / 0.7788 GB, free: 5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6554, allocations: 0 / 0.7788 GB, free: 5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001343/0.6567, allocations: 385 kB / 0.7791 GB, free: 4.887 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.001112/0.6578, allocations: 489.6 kB / 0.7796 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002805/0.6606, allocations: 1 MB / 0.7806 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.6606, allocations: 0 / 0.7806 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.662, allocations: 0.713 MB / 0.7813 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.6637, allocations: 275.8 kB / 0.7815 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.6677, allocations: 1.741 MB / 0.7832 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.6681, allocations: 428.5 kB / 0.7837 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001083/0.6692, allocations: 449.8 kB / 0.7841 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.6696, allocations: 109.1 kB / 0.7842 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of SimCode: time 1.363e-06/0.6696, allocations: 0 / 0.7842 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.03541/0.705, allocations: 17.41 MB / 0.8012 GB, free: 1.648 MB / 0.6231 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: 7.090292748063803]