Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006216/0.006216, allocations: 97.89 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 187.1 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7379/0.7379, allocations: 93.69 MB / 384.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 79.88 kB / 0.5204 GB, free: 5.797 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1325, allocations: 68.25 MB / 0.5871 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.52/0.6525, allocations: 225 MB / 0.8069 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03954/0.6921, allocations: 30.94 MB / 0.8371 GB, free: 2.066 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.6954, allocations: 139.1 kB / 0.8372 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005308/0.7007, allocations: 1.739 MB / 0.8389 GB, free: 180 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008801/0.7096, allocations: 2.664 MB / 0.8415 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007893/0.7175, allocations: 2.589 MB / 0.844 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007628/0.7251, allocations: 4.84 MB / 0.8488 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.7271, allocations: 1.049 MB / 0.8498 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.7325, allocations: 2.361 MB / 0.8521 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004152/0.7367, allocations: 2.3 MB / 0.8543 GB, free: 280 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007773/0.7375, allocations: 268 kB / 0.8546 GB, free: 12 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3444/1.082, allocations: 3.71 MB / 0.8582 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008885/1.083, allocations: 0.6283 MB / 0.8588 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002432/1.085, allocations: 1.561 MB / 0.8604 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01053/1.096, allocations: 4.991 MB / 0.8652 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.096, allocations: 0 / 0.8652 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.374e-06/1.096, allocations: 1.578 kB / 0.8652 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001352/1.096, allocations: 0 / 0.8652 GB, free: 11.73 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.01065/1.107, allocations: 3.673 MB / 0.8688 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.107, allocations: 9.5 kB / 0.8688 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.108, allocations: 354.9 kB / 0.8692 GB, free: 9.879 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004347/1.112, allocations: 2.073 MB / 0.8712 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/1.112, allocations: 160 kB / 0.8713 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004352/1.113, allocations: 223.7 kB / 0.8716 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004661/1.117, allocations: 2.47 MB / 0.874 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/1.117, allocations: 1.875 kB / 0.874 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/1.118, allocations: 90.72 kB / 0.8741 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-05/1.118, allocations: 50.31 kB / 0.8741 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004153/1.122, allocations: 2.224 MB / 0.8763 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/1.137, allocations: 11.23 MB / 0.8872 GB, free: 19.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003632/1.141, allocations: 1.756 MB / 0.889 GB, free: 19.03 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/1.143, allocations: 0.9026 MB / 0.8898 GB, free: 19.01 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008921/1.152, allocations: 6.535 MB / 0.8962 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001802/1.153, allocations: 1.035 MB / 0.8972 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=183): time 4.449e-06/1.153, allocations: 2.781 kB / 0.8972 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=184): time 0.01222/1.166, allocations: 6.185 MB / 0.9033 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/1.166, allocations: 107.9 kB / 0.9034 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/1.168, allocations: 1.866 MB / 0.9052 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002393/1.168, allocations: 56.48 kB / 0.9053 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/1.169, allocations: 1.111 MB / 0.9063 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004551/1.17, allocations: 0.6522 MB / 0.907 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004657/1.17, allocations: 295.9 kB / 0.9073 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.17, allocations: 309 kB / 0.9076 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.171, allocations: 0.6691 MB / 0.9082 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/1.173, allocations: 0.8559 MB / 0.909 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/1.175, allocations: 1.661 MB / 0.9107 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.175, allocations: 3.5 kB / 0.9107 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004925/1.18, allocations: 2.565 MB / 0.9132 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/1.18, allocations: 32.55 kB / 0.9132 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.18, allocations: 7.359 kB / 0.9132 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/1.182, allocations: 0.6238 MB / 0.9138 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.183, allocations: 297.1 kB / 0.9141 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/1.201, allocations: 16.24 MB / 0.93 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.203, allocations: 99.86 kB / 0.9301 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/1.203, allocations: 76.66 kB / 0.9301 GB, free: 13.59 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009897/1.204, allocations: 434.1 kB / 0.9305 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/1.205, allocations: 276.8 kB / 0.9308 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006035/1.211, allocations: 3.458 MB / 0.9342 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.211, allocations: 18.75 kB / 0.9342 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/1.211, allocations: 11.78 kB / 0.9342 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/1.211, allocations: 15.28 kB / 0.9342 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00848/1.219, allocations: 5.165 MB / 0.9393 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.219, allocations: 2.719 kB / 0.9393 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.22, allocations: 291.1 kB / 0.9396 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/1.222, allocations: 0.539 MB / 0.9401 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/1.222, allocations: 71.59 kB / 0.9402 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/1.236, allocations: 15.25 MB / 0.955 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.236, allocations: 2.625 kB / 0.955 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006779/1.243, allocations: 3.728 MB / 0.9587 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007753/1.243, allocations: 342.3 kB / 0.959 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/1.244, allocations: 51.89 kB / 0.9591 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.245, allocations: 64.89 kB / 0.9591 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004036/1.245, allocations: 167 kB / 0.9593 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.245, allocations: 75.88 kB / 0.9594 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001618/1.247, allocations: 1.329 MB / 0.9607 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.247, allocations: 3.969 kB / 0.9607 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003224/1.25, allocations: 0.8993 MB / 0.9615 GB, free: 14.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002063/1.252, allocations: 1.013 MB / 0.9625 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005278/1.258, allocations: 3.081 MB / 0.9655 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.258, allocations: 0 / 0.9655 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003188/1.261, allocations: 2.259 MB / 0.9677 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/1.265, allocations: 0.8207 MB / 0.9685 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/1.274, allocations: 5.064 MB / 0.9735 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/1.275, allocations: 1.683 MB / 0.9751 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001893/1.277, allocations: 0.5248 MB / 0.9756 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/1.278, allocations: 218.8 kB / 0.9759 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/1.278, allocations: 0 / 0.9759 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of Templates: time 0.09031/1.368, allocations: 51.86 MB / 1.027 GB, free: 3.18 MB / 0.7794 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches