Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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=2000,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_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001662/0.001662, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6609/0.6609, allocations: 89.49 MB / 380.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 75.88 kB / 459.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1153, allocations: 67.3 MB / 0.5146 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4011/0.5165, allocations: 224.3 MB / 0.7337 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.305/0.8215, allocations: 30.61 MB / 0.7636 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.8243, allocations: 49.88 kB / 0.7636 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004419/0.8287, allocations: 1.695 MB / 0.7653 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007243/0.836, allocations: 2.431 MB / 0.7676 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007324/0.8434, allocations: 2.588 MB / 0.7702 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006715/0.8501, allocations: 4.262 MB / 0.7743 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.8521, allocations: 0.9709 MB / 0.7753 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/0.8569, allocations: 2.085 MB / 0.7773 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004406/0.8613, allocations: 2.198 MB / 0.7795 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.8625, allocations: 271.1 kB / 0.7797 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.8728, allocations: 3.722 MB / 0.7834 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.8742, allocations: 0.5945 MB / 0.7839 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003968/0.8782, allocations: 1.401 MB / 0.7853 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.8897, allocations: 4.443 MB / 0.7896 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.8898, allocations: 1.375 kB / 0.7897 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8898, allocations: 0 / 0.7897 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001421/0.8899, allocations: 1.844 kB / 0.7897 GB, free: 15.7 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: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.009225/0.8992, allocations: 3.036 MB / 0.7926 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8992, allocations: 8.5 kB / 0.7926 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.9003, allocations: 269.9 kB / 0.7929 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.9027, allocations: 1.17 MB / 0.794 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.9029, allocations: 155.8 kB / 0.7942 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005004/0.9034, allocations: 222 kB / 0.7944 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00512/0.9085, allocations: 2.477 MB / 0.7968 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.037e-05/0.9086, allocations: 8.156 kB / 0.7968 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002797/0.9089, allocations: 85.12 kB / 0.7969 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.9089, allocations: 49.97 kB / 0.7969 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004875/0.9138, allocations: 2.227 MB / 0.7991 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.9309, allocations: 11.01 MB / 0.8099 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.9343, allocations: 1.759 MB / 0.8116 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.9359, allocations: 0.9101 MB / 0.8125 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008333/0.9442, allocations: 6.544 MB / 0.8189 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/0.9461, allocations: 1.045 MB / 0.8199 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=183): time 4.138e-06/0.9461, allocations: 0.8125 kB / 0.8199 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=184): time 0.01137/0.9575, allocations: 5.851 MB / 0.8256 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.9576, allocations: 99.62 kB / 0.8257 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.9591, allocations: 1.319 MB / 0.827 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.9593, allocations: 59.11 kB / 0.827 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005576/0.9598, allocations: 0.8092 MB / 0.8278 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005076/0.9604, allocations: 0.6188 MB / 0.8284 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.9608, allocations: 290.9 kB / 0.8287 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.9609, allocations: 306.1 kB / 0.829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.9622, allocations: 0.6698 MB / 0.8297 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.9636, allocations: 0.8554 MB / 0.8305 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.9665, allocations: 1.672 MB / 0.8321 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9665, allocations: 0 / 0.8321 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005123/0.9716, allocations: 2.483 MB / 0.8346 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.9717, allocations: 37.8 kB / 0.8346 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.9717, allocations: 4 kB / 0.8346 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.9737, allocations: 0.6256 MB / 0.8352 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.9748, allocations: 297.2 kB / 0.8355 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.9918, allocations: 16.22 MB / 0.8513 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.9935, allocations: 99.44 kB / 0.8514 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/0.9938, allocations: 75.91 kB / 0.8515 GB, free: 6.297 MB / 0.6231 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.0009231/0.9947, allocations: 401.4 kB / 0.8519 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.9951, allocations: 193.6 kB / 0.8521 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006366/1.002, allocations: 3.401 MB / 0.8554 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/1.002, allocations: 16.09 kB / 0.8554 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/1.002, allocations: 15.98 kB / 0.8554 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/1.002, allocations: 15.89 kB / 0.8554 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008639/1.01, allocations: 4.98 MB / 0.8603 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.01, allocations: 0 / 0.8603 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.011, allocations: 284.3 kB / 0.8606 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/1.013, allocations: 0.5425 MB / 0.8611 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/1.013, allocations: 71.95 kB / 0.8612 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/1.026, allocations: 15.25 MB / 0.8761 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.026, allocations: 4 kB / 0.8761 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006907/1.033, allocations: 3.636 MB / 0.8796 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/1.033, allocations: 270.5 kB / 0.8799 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/1.034, allocations: 51.84 kB / 0.8799 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009849/1.035, allocations: 71.89 kB / 0.88 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/1.035, allocations: 165 kB / 0.8801 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/1.035, allocations: 79.05 kB / 0.8802 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001318/1.037, allocations: 0.9674 MB / 0.8812 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/1.037, allocations: 0 / 0.8812 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002609/1.039, allocations: 0.8865 MB / 0.882 GB, free: 5.898 MB / 0.6544 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.001451/1.041, allocations: 0.999 MB / 0.883 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004983/1.046, allocations: 3.086 MB / 0.886 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.046, allocations: 0 / 0.886 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/1.049, allocations: 2.254 MB / 0.8882 GB, free: 15.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/1.052, allocations: 0.7677 MB / 0.889 GB, free: 14.81 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/1.059, allocations: 4.302 MB / 0.8932 GB, free: 10.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.06, allocations: 1.487 MB / 0.8946 GB, free: 8.977 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001564/1.062, allocations: 464.8 kB / 0.8951 GB, free: 8.594 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/1.062, allocations: 183.4 kB / 0.8952 GB, free: 8.414 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/1.062, allocations: 0 / 0.8952 GB, free: 8.414 MB / 0.67 GB Notification: Performance of Templates: time 0.07428/1.137, allocations: 50.02 MB / 0.9441 GB, free: 6.918 MB / 0.7169 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -s cvode -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches