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.002068/0.002068, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002561/0.002561, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8 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.8188/0.8188, allocations: 100.3 MB / 412.7 MB, free: 3.73 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.00272/0.00272, allocations: 86.89 kB / 0.5638 GB, free: 35.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1184, allocations: 74.46 MB / 0.6365 GB, free: 7.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.538/0.6564, allocations: 203.1 MB / 0.8348 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.674, allocations: 15.01 MB / 0.8495 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.6751, allocations: 63.62 kB / 0.8495 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.6767, allocations: 0.5165 MB / 0.85 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.6806, allocations: 1.374 MB / 0.8514 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.6845, allocations: 1.414 MB / 0.8528 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.6865, allocations: 1.399 MB / 0.8541 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.6868, allocations: 179 kB / 0.8543 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.6892, allocations: 1.138 MB / 0.8554 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.6898, allocations: 0.5167 MB / 0.8559 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.663e-05/0.6899, allocations: 76.28 kB / 0.856 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/0.6951, allocations: 2.608 MB / 0.8585 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.6953, allocations: 208.8 kB / 0.8587 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005502/0.6959, allocations: 0.502 MB / 0.8592 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.6994, allocations: 1.906 MB / 0.8611 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6994, allocations: 0 / 0.8611 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6994, allocations: 2.906 kB / 0.8611 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.6995, allocations: 0 / 0.8611 GB, free: 10.69 MB / 0.6075 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.002892/0.7024, allocations: 1.507 MB / 0.8626 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7024, allocations: 14.2 kB / 0.8626 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.7041, allocations: 246 kB / 0.8628 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.7056, allocations: 0.7058 MB / 0.8635 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/0.7059, allocations: 266.8 kB / 0.8637 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.706, allocations: 76.2 kB / 0.8638 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.7076, allocations: 0.8218 MB / 0.8646 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.7076, allocations: 0 / 0.8646 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.7076, allocations: 31.5 kB / 0.8647 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.7077, allocations: 21.33 kB / 0.8647 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.7092, allocations: 0.6567 MB / 0.8653 GB, free: 7.559 MB / 0.6075 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.004577/0.7137, allocations: 2.942 MB / 0.8682 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.7151, allocations: 0.5606 MB / 0.8687 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.7159, allocations: 330.2 kB / 0.8691 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.7162, allocations: 84.42 kB / 0.8691 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.7162, allocations: 35.06 kB / 0.8692 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 1.964e-06/0.7162, allocations: 0 / 0.8692 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004979/0.7212, allocations: 1.451 MB / 0.8706 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.7212, allocations: 63.91 kB / 0.8706 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.7221, allocations: 0.6613 MB / 0.8713 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.906e-05/0.7221, allocations: 33.7 kB / 0.8713 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.7226, allocations: 444.8 kB / 0.8717 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.7228, allocations: 214.1 kB / 0.8719 GB, free: 476 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.723, allocations: 110.3 kB / 0.8721 GB, free: 360 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7231, allocations: 330 kB / 0.8724 GB, free: 24 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006661/0.7238, allocations: 257.1 kB / 0.8726 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.7245, allocations: 257.8 kB / 0.8729 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.7257, allocations: 0.5284 MB / 0.8734 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7257, allocations: 0 / 0.8734 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002891/0.7286, allocations: 1.026 MB / 0.8744 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.7287, allocations: 4 kB / 0.8744 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7287, allocations: 4 kB / 0.8744 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008518/0.7295, allocations: 230.3 kB / 0.8746 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.7303, allocations: 143.8 kB / 0.8747 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/0.7367, allocations: 4.8 MB / 0.8794 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/0.7373, allocations: 63.64 kB / 0.8795 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.7374, allocations: 39.98 kB / 0.8795 GB, free: 8.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 {(3,1,88.9%), (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.0003742/0.7378, allocations: 201.7 kB / 0.8797 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.7379, allocations: 87.39 kB / 0.8798 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/0.7416, allocations: 1.408 MB / 0.8812 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.7416, allocations: 8 kB / 0.8812 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.7416, allocations: 7.938 kB / 0.8812 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.7417, allocations: 3.984 kB / 0.8812 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.7462, allocations: 1.984 MB / 0.8831 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.7462, allocations: 4 kB / 0.8831 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007837/0.747, allocations: 139.8 kB / 0.8833 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007911/0.7478, allocations: 238.4 kB / 0.8835 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-05/0.7478, allocations: 27.48 kB / 0.8835 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/0.7541, allocations: 4.79 MB / 0.8882 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.7542, allocations: 7.938 kB / 0.8882 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.7579, allocations: 1.409 MB / 0.8896 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.7583, allocations: 139.3 kB / 0.8897 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7584, allocations: 23.94 kB / 0.8897 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/0.7589, allocations: 35.95 kB / 0.8898 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.759, allocations: 56.41 kB / 0.8898 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.7591, allocations: 32.48 kB / 0.8899 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000643/0.7597, allocations: 479 kB / 0.8903 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7597, allocations: 7.875 kB / 0.8903 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001141/0.7609, allocations: 383 kB / 0.8907 GB, free: 12.39 MB / 0.6387 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 (53): * Single equations (assignments): 50 * 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 {(3,1,88.9%), (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.0009086/0.7618, allocations: 495 kB / 0.8912 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.7643, allocations: 1.038 MB / 0.8922 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7643, allocations: 3.938 kB / 0.8922 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.766, allocations: 0.7761 MB / 0.8929 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.7671, allocations: 217.3 kB / 0.8931 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.7707, allocations: 1.857 MB / 0.895 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/0.7714, allocations: 0.9971 MB / 0.8959 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001102/0.7725, allocations: 444.1 kB / 0.8964 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.7729, allocations: 115.4 kB / 0.8965 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.7729, allocations: 0 / 0.8965 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of Templates: time 0.03283/0.8057, allocations: 16.5 MB / 0.9126 GB, free: 5.965 MB / 0.6544 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.934628393035382]