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.006896/0.006896, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001534/0.001535, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6813/0.6813, allocations: 91.19 MB / 381.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 75.88 kB / 0.5169 GB, free: 8.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1463, allocations: 67.69 MB / 0.583 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5268/0.6732, allocations: 225 MB / 0.8027 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03745/0.7107, allocations: 30.88 MB / 0.8329 GB, free: 7.867 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.714, allocations: 135.1 kB / 0.833 GB, free: 7.734 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005219/0.7193, allocations: 1.736 MB / 0.8347 GB, free: 5.988 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007947/0.7273, allocations: 2.699 MB / 0.8373 GB, free: 3.273 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007451/0.7348, allocations: 2.6 MB / 0.8399 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.3707/1.106, allocations: 4.734 MB / 0.8445 GB, free: 7.43 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/1.108, allocations: 1.048 MB / 0.8455 GB, free: 23.15 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/1.113, allocations: 2.396 MB / 0.8478 GB, free: 23.15 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/1.117, allocations: 2.283 MB / 0.8501 GB, free: 23.15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007432/1.118, allocations: 266.4 kB / 0.8503 GB, free: 23.15 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008882/1.127, allocations: 3.73 MB / 0.854 GB, free: 23.15 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/1.128, allocations: 0.6247 MB / 0.8546 GB, free: 23.15 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003562/1.132, allocations: 1.549 MB / 0.8561 GB, free: 23.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01297/1.144, allocations: 4.941 MB / 0.8609 GB, free: 22.43 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/1.145, allocations: 0.7812 kB / 0.8609 GB, free: 22.43 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.004e-06/1.145, allocations: 0 / 0.8609 GB, free: 22.43 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001494/1.145, allocations: 1.438 kB / 0.8609 GB, free: 22.43 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.009293/1.154, allocations: 3.537 MB / 0.8644 GB, free: 20.85 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.154, allocations: 9.688 kB / 0.8644 GB, free: 20.85 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008911/1.155, allocations: 334.7 kB / 0.8647 GB, free: 20.68 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/1.159, allocations: 2.008 MB / 0.8667 GB, free: 20.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/1.159, allocations: 158.7 kB / 0.8668 GB, free: 20.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/1.16, allocations: 218.9 kB / 0.867 GB, free: 20.11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/1.164, allocations: 2.477 MB / 0.8694 GB, free: 19.82 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/1.164, allocations: 4.25 kB / 0.8694 GB, free: 19.82 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/1.164, allocations: 86.06 kB / 0.8695 GB, free: 19.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/1.164, allocations: 51.31 kB / 0.8696 GB, free: 19.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/1.168, allocations: 2.224 MB / 0.8717 GB, free: 19.79 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/1.184, allocations: 11.18 MB / 0.8827 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/1.187, allocations: 1.77 MB / 0.8844 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/1.189, allocations: 0.9042 MB / 0.8853 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009581/1.199, allocations: 6.525 MB / 0.8916 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001879/1.2, allocations: 1.048 MB / 0.8927 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=183): time 5.591e-06/1.2, allocations: 0 / 0.8927 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of matching and sorting (n=184): time 0.0129/1.213, allocations: 6.093 MB / 0.8986 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/1.213, allocations: 102.6 kB / 0.8987 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/1.216, allocations: 1.835 MB / 0.9005 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000319/1.217, allocations: 53.3 kB / 0.9006 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008358/1.218, allocations: 1.075 MB / 0.9016 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007216/1.218, allocations: 0.6191 MB / 0.9022 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006776/1.219, allocations: 291.6 kB / 0.9025 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/1.219, allocations: 309.2 kB / 0.9028 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.22, allocations: 0.6682 MB / 0.9034 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/1.222, allocations: 0.8537 MB / 0.9043 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/1.225, allocations: 1.661 MB / 0.9059 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/1.225, allocations: 3.438 kB / 0.9059 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005194/1.23, allocations: 2.553 MB / 0.9084 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/1.23, allocations: 35.08 kB / 0.9084 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/1.23, allocations: 7.656 kB / 0.9084 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/1.232, allocations: 0.6152 MB / 0.909 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.233, allocations: 296.5 kB / 0.9093 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/1.25, allocations: 16.21 MB / 0.9252 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/1.252, allocations: 106 kB / 0.9253 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005186/1.253, allocations: 75.06 kB / 0.9253 GB, free: 8.535 MB / 0.7012 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.001415/1.254, allocations: 431.9 kB / 0.9257 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009383/1.255, allocations: 261.8 kB / 0.926 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007361/1.263, allocations: 3.453 MB / 0.9294 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.263, allocations: 18.75 kB / 0.9294 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/1.263, allocations: 12.17 kB / 0.9294 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/1.263, allocations: 14.45 kB / 0.9294 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009948/1.273, allocations: 5.153 MB / 0.9344 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/1.273, allocations: 3.594 kB / 0.9344 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.274, allocations: 291.3 kB / 0.9347 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/1.276, allocations: 0.5336 MB / 0.9352 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/1.276, allocations: 68.34 kB / 0.9353 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.289, allocations: 15.25 MB / 0.9502 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.289, allocations: 4.031 kB / 0.9502 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008013/1.297, allocations: 3.709 MB / 0.9538 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009169/1.298, allocations: 321.5 kB / 0.9541 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/1.298, allocations: 51.84 kB / 0.9542 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.3, allocations: 63.95 kB / 0.9542 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/1.3, allocations: 169 kB / 0.9544 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.3, allocations: 75.95 kB / 0.9545 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002061/1.302, allocations: 1.305 MB / 0.9557 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.302, allocations: 0 / 0.9557 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003491/1.306, allocations: 0.8942 MB / 0.9566 GB, free: 3.773 MB / 0.7169 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.001808/1.308, allocations: 1.002 MB / 0.9576 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005574/1.313, allocations: 3.076 MB / 0.9606 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.313, allocations: 0 / 0.9606 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/1.317, allocations: 2.255 MB / 0.9628 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/1.322, allocations: 0.8289 MB / 0.9636 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/1.332, allocations: 4.927 MB / 0.9684 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/1.333, allocations: 1.664 MB / 0.97 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002091/1.335, allocations: 0.5222 MB / 0.9706 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/1.336, allocations: 215.4 kB / 0.9708 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/1.336, allocations: 0 / 0.9708 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.09087/1.427, allocations: 51.77 MB / 1.021 GB, free: 2.098 MB / 0.7794 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches