Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001394/0.001394, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001494/0.001494, allocations: 161 kB / 23.01 MB, free: 4.602 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.891 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7532/0.7532, allocations: 74.9 MB / 334.7 MB, free: 15.51 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/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_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_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.002563/0.002563, allocations: 85.47 kB / 496.4 MB, free: 29.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1408, allocations: 73.04 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5939/0.7347, allocations: 176 MB / 0.7279 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.7479, allocations: 13.51 MB / 0.7411 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000848/0.7487, allocations: 63.38 kB / 0.7411 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.75, allocations: 469.2 kB / 0.7416 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.7532, allocations: 1.367 MB / 0.7429 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.7565, allocations: 1.401 MB / 0.7443 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001229/0.7577, allocations: 1.398 MB / 0.7457 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.758, allocations: 161.6 kB / 0.7458 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.7599, allocations: 1.139 MB / 0.7469 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/0.7604, allocations: 470.5 kB / 0.7474 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.7605, allocations: 81.75 kB / 0.7475 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.7644, allocations: 2.442 MB / 0.7498 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.7646, allocations: 209.3 kB / 0.75 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.7649, allocations: 408.6 kB / 0.7504 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.7673, allocations: 1.901 MB / 0.7523 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7673, allocations: 2.219 kB / 0.7523 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7673, allocations: 0 / 0.7523 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.7673, allocations: 1 kB / 0.7523 GB, free: 2.613 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.002631/0.77, allocations: 1.51 MB / 0.7538 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.77, allocations: 8.656 kB / 0.7538 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.7717, allocations: 257.7 kB / 0.754 GB, free: 17.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.773, allocations: 0.7015 MB / 0.7547 GB, free: 17.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.7733, allocations: 264 kB / 0.755 GB, free: 17.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7734, allocations: 78.2 kB / 0.755 GB, free: 17.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.7747, allocations: 0.8165 MB / 0.7558 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.7748, allocations: 3.938 kB / 0.7558 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.7748, allocations: 32.72 kB / 0.7559 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.7748, allocations: 17.28 kB / 0.7559 GB, free: 17.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.7762, allocations: 0.6354 MB / 0.7565 GB, free: 17.17 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.003417/0.7796, allocations: 1.942 MB / 0.7584 GB, free: 16.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.7808, allocations: 0.5457 MB / 0.7589 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.7814, allocations: 318.3 kB / 0.7592 GB, free: 16.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.7816, allocations: 78.62 kB / 0.7593 GB, free: 16.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.7817, allocations: 35.91 kB / 0.7593 GB, free: 16.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 1.753e-06/0.7817, allocations: 0 / 0.7593 GB, free: 16.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004358/0.786, allocations: 1.438 MB / 0.7607 GB, free: 16.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.7861, allocations: 60.47 kB / 0.7608 GB, free: 16.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.7867, allocations: 0.6208 MB / 0.7614 GB, free: 16.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.7868, allocations: 35.23 kB / 0.7614 GB, free: 16.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.787, allocations: 450.6 kB / 0.7619 GB, free: 16.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.7872, allocations: 209.3 kB / 0.7621 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.7873, allocations: 112.8 kB / 0.7622 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7875, allocations: 325.4 kB / 0.7625 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.788, allocations: 249.1 kB / 0.7627 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.7886, allocations: 311.2 kB / 0.763 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.7898, allocations: 0.5411 MB / 0.7636 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7898, allocations: 0.875 kB / 0.7636 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00251/0.7923, allocations: 1.015 MB / 0.7645 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7923, allocations: 4.906 kB / 0.7645 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7923, allocations: 4.25 kB / 0.7646 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007449/0.7931, allocations: 229.8 kB / 0.7648 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.7938, allocations: 147.9 kB / 0.7649 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/0.7997, allocations: 4.717 MB / 0.7695 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.8002, allocations: 62.91 kB / 0.7696 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.433e-05/0.8003, allocations: 40.06 kB / 0.7696 GB, free: 11.02 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 {(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.000347/0.8006, allocations: 201.6 kB / 0.7698 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.8008, allocations: 84.31 kB / 0.7699 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/0.8041, allocations: 1.39 MB / 0.7712 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8042, allocations: 5.188 kB / 0.7713 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8042, allocations: 2.25 kB / 0.7713 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.8042, allocations: 2.625 kB / 0.7713 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.808, allocations: 1.762 MB / 0.773 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.808, allocations: 7.281 kB / 0.773 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.8087, allocations: 137 kB / 0.7731 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006903/0.8094, allocations: 233.1 kB / 0.7733 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.8095, allocations: 24.31 kB / 0.7734 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005869/0.8153, allocations: 4.696 MB / 0.7779 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8153, allocations: 6 kB / 0.778 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.8185, allocations: 1.385 MB / 0.7793 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.8188, allocations: 130.6 kB / 0.7794 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/0.8189, allocations: 24.31 kB / 0.7795 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.8194, allocations: 39.05 kB / 0.7795 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.8195, allocations: 51.34 kB / 0.7795 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.8195, allocations: 32.7 kB / 0.7796 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005357/0.8201, allocations: 450.2 kB / 0.78 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.8201, allocations: 0 / 0.78 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001117/0.8212, allocations: 359.4 kB / 0.7803 GB, free: 4.418 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 {(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.0007439/0.8219, allocations: 465.6 kB / 0.7808 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002319/0.8242, allocations: 1.033 MB / 0.7818 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8242, allocations: 0 / 0.7818 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.8258, allocations: 0.7659 MB / 0.7825 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.8267, allocations: 193.2 kB / 0.7827 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.8299, allocations: 1.837 MB / 0.7845 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.8303, allocations: 404.2 kB / 0.7849 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008209/0.8311, allocations: 435.8 kB / 0.7853 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.8314, allocations: 98.75 kB / 0.7854 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.8314, allocations: 3.938 kB / 0.7854 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.0284/0.8598, allocations: 15.44 MB / 0.8005 GB, free: 5.316 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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.905032437061891]