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.0008627/0.0008627, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008151/0.0008151, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8593/0.8593, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.6213/0.6213, allocations: 116 MB / 376 MB, free: 4.195 MB / 346.7 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.653e-06/1.653e-06, allocations: 0 / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.34e-05, allocations: 2.281 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4062/0.4062, allocations: 179.9 MB / 0.7302 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.008643/0.4149, allocations: 10.15 MB / 0.7401 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000951/0.4158, allocations: 68.84 kB / 0.7401 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.4169, allocations: 482.7 kB / 0.7406 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.4201, allocations: 1.47 MB / 0.742 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.4231, allocations: 1.433 MB / 0.7434 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.425, allocations: 1.588 MB / 0.745 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.4253, allocations: 174 kB / 0.7451 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.4277, allocations: 1.423 MB / 0.7465 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.4282, allocations: 400.1 kB / 0.7469 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4283, allocations: 76.84 kB / 0.747 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.4317, allocations: 2.439 MB / 0.7494 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.4319, allocations: 213 kB / 0.7496 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.4322, allocations: 353.8 kB / 0.7499 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.4348, allocations: 2.027 MB / 0.7519 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4349, allocations: 3.984 kB / 0.7519 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4349, allocations: 3.938 kB / 0.7519 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.436e-05/0.4349, allocations: 0 / 0.7519 GB, free: 1.363 MB / 0.5886 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.001984/0.4369, allocations: 1.539 MB / 0.7534 GB, free: 220 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4369, allocations: 8.094 kB / 0.7534 GB, free: 220 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009426/0.4379, allocations: 265.5 kB / 0.7537 GB, free: 84 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.4389, allocations: 0.7524 MB / 0.7544 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.4391, allocations: 293.3 kB / 0.7547 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/0.4392, allocations: 71.91 kB / 0.7548 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009457/0.4401, allocations: 0.8092 MB / 0.7555 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.4402, allocations: 4 kB / 0.7555 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.4402, allocations: 31.97 kB / 0.7556 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4402, allocations: 15.84 kB / 0.7556 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.4411, allocations: 0.6905 MB / 0.7563 GB, free: 14.34 MB / 0.6042 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.002329/0.4434, allocations: 2.036 MB / 0.7583 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.4443, allocations: 0.5475 MB / 0.7588 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.4447, allocations: 299 kB / 0.7591 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.4448, allocations: 68.45 kB / 0.7591 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.4449, allocations: 43.05 kB / 0.7592 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 3.046e-06/0.4449, allocations: 1.875 kB / 0.7592 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.002782/0.4476, allocations: 1.482 MB / 0.7606 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.4477, allocations: 59.91 kB / 0.7607 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/0.4483, allocations: 0.6535 MB / 0.7613 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.4484, allocations: 33.7 kB / 0.7614 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.4486, allocations: 472.5 kB / 0.7618 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.4488, allocations: 214.3 kB / 0.762 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.4489, allocations: 118.3 kB / 0.7621 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.449, allocations: 330 kB / 0.7624 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.4494, allocations: 225.2 kB / 0.7627 GB, free: 8.184 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.4497, allocations: 312.8 kB / 0.763 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.4505, allocations: 0.531 MB / 0.7635 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4505, allocations: 0 / 0.7635 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001356/0.4518, allocations: 0.9364 MB / 0.7644 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.4518, allocations: 14.47 kB / 0.7644 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4519, allocations: 0 / 0.7644 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.4524, allocations: 222.4 kB / 0.7646 GB, free: 6.109 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.4527, allocations: 119.8 kB / 0.7647 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.4563, allocations: 4.696 MB / 0.7693 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.4567, allocations: 79.53 kB / 0.7694 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.4568, allocations: 39.92 kB / 0.7694 GB, free: 0.8711 MB / 0.6042 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.0003695/0.4572, allocations: 203.4 kB / 0.7696 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.4573, allocations: 91.39 kB / 0.7697 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.4591, allocations: 1.304 MB / 0.771 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4591, allocations: 4 kB / 0.771 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4591, allocations: 8 kB / 0.771 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4591, allocations: 3.984 kB / 0.771 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.4615, allocations: 1.642 MB / 0.7726 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.4615, allocations: 0 / 0.7726 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.4618, allocations: 107.8 kB / 0.7727 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.4622, allocations: 223.4 kB / 0.7729 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.4623, allocations: 19.98 kB / 0.7729 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.4656, allocations: 4.668 MB / 0.7775 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4656, allocations: 0 / 0.7775 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.4675, allocations: 1.33 MB / 0.7788 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.4678, allocations: 131.3 kB / 0.7789 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.4679, allocations: 12 kB / 0.7789 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.4682, allocations: 43.95 kB / 0.779 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.4683, allocations: 64.28 kB / 0.779 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.4684, allocations: 31.98 kB / 0.7791 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004442/0.4688, allocations: 471 kB / 0.7795 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.4688, allocations: 0 / 0.7795 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009947/0.4698, allocations: 383.1 kB / 0.7799 GB, free: 5.734 MB / 0.6198 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.0006864/0.4705, allocations: 479 kB / 0.7803 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.472, allocations: 1.002 MB / 0.7813 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.472, allocations: 0 / 0.7813 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007523/0.4727, allocations: 0.7021 MB / 0.782 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.4737, allocations: 279.4 kB / 0.7823 GB, free: 3.219 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.4766, allocations: 1.803 MB / 0.784 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.477, allocations: 422 kB / 0.7844 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.4773, allocations: 128.4 kB / 0.7845 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of SimCode: time 2.024e-06/0.4773, allocations: 3.938 kB / 0.7846 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of Templates: time 0.02346/0.5007, allocations: 27.65 MB / 0.8115 GB, free: 5.188 MB / 0.6511 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: 8.216755482368171]