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.001334/0.001334, allocations: 107.9 kB / 16.41 MB, free: 6.492 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.001267/0.001267, allocations: 183 kB / 17.34 MB, free: 5.766 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.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6714/0.6714, allocations: 91.19 MB / 382.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 83.86 kB / 0.5175 GB, free: 4.082 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3429, allocations: 67.68 MB / 0.5836 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5556/0.8985, allocations: 225 MB / 0.8033 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03203/0.9306, allocations: 30.89 MB / 0.8335 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.9342, allocations: 138.1 kB / 0.8336 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005086/0.9393, allocations: 1.735 MB / 0.8353 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008294/0.9477, allocations: 2.625 MB / 0.8379 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007561/0.9553, allocations: 2.588 MB / 0.8404 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006941/0.9622, allocations: 4.74 MB / 0.845 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.9645, allocations: 1.051 MB / 0.8461 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/0.9698, allocations: 2.388 MB / 0.8484 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004048/0.9739, allocations: 2.29 MB / 0.8506 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000995/0.9749, allocations: 271.2 kB / 0.8509 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008906/0.9838, allocations: 3.719 MB / 0.8545 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.9849, allocations: 0.6272 MB / 0.8551 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003171/0.9881, allocations: 1.55 MB / 0.8567 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.9992, allocations: 4.934 MB / 0.8615 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.9992, allocations: 0 / 0.8615 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9993, allocations: 4 kB / 0.8615 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001323/0.9994, allocations: 0 / 0.8615 GB, free: 7.723 MB / 0.6075 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.009256/1.009, allocations: 3.539 MB / 0.8649 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.009, allocations: 8.031 kB / 0.8649 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/1.01, allocations: 336.9 kB / 0.8653 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004088/1.014, allocations: 2.007 MB / 0.8672 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/1.014, allocations: 156.2 kB / 0.8674 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005035/1.015, allocations: 223.8 kB / 0.8676 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004983/1.02, allocations: 2.47 MB / 0.87 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.014e-05/1.02, allocations: 7.281 kB / 0.87 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/1.02, allocations: 87.98 kB / 0.8701 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/1.02, allocations: 52 kB / 0.8701 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004214/1.024, allocations: 2.22 MB / 0.8723 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/1.041, allocations: 11.19 MB / 0.8832 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/1.045, allocations: 1.772 MB / 0.885 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/1.046, allocations: 0.8983 MB / 0.8858 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008079/1.055, allocations: 6.52 MB / 0.8922 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/1.057, allocations: 1.043 MB / 0.8932 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=183): time 4.088e-06/1.057, allocations: 0 / 0.8932 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of matching and sorting (n=184): time 0.01293/1.069, allocations: 6.083 MB / 0.8992 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.07, allocations: 107.1 kB / 0.8993 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/1.072, allocations: 1.841 MB / 0.9011 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/1.072, allocations: 57.7 kB / 0.9011 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008393/1.073, allocations: 1.068 MB / 0.9022 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006528/1.074, allocations: 0.6182 MB / 0.9028 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005437/1.074, allocations: 295.5 kB / 0.9031 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/1.075, allocations: 305.1 kB / 0.9033 GB, free: 11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/1.076, allocations: 0.6716 MB / 0.904 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/1.077, allocations: 0.857 MB / 0.9048 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/1.08, allocations: 1.661 MB / 0.9065 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.08, allocations: 0 / 0.9065 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005163/1.085, allocations: 2.553 MB / 0.909 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/1.085, allocations: 41.64 kB / 0.909 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.085, allocations: 4 kB / 0.909 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/1.087, allocations: 0.6126 MB / 0.9096 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.088, allocations: 291.6 kB / 0.9099 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/1.105, allocations: 16.23 MB / 0.9257 GB, free: 2.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.107, allocations: 99.44 kB / 0.9258 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/1.108, allocations: 71.97 kB / 0.9259 GB, free: 2.5 MB / 0.67 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.001284/1.109, allocations: 441.4 kB / 0.9263 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/1.11, allocations: 256.7 kB / 0.9266 GB, free: 1.805 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00683/1.116, allocations: 3.451 MB / 0.9299 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.117, allocations: 20 kB / 0.9299 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/1.117, allocations: 8 kB / 0.9299 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/1.117, allocations: 7.969 kB / 0.93 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/1.127, allocations: 5.165 MB / 0.935 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.127, allocations: 4 kB / 0.935 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.128, allocations: 283.6 kB / 0.9353 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/1.13, allocations: 0.5384 MB / 0.9358 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/1.13, allocations: 71.95 kB / 0.9359 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/1.142, allocations: 15.24 MB / 0.9507 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.142, allocations: 3.938 kB / 0.9508 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007636/1.15, allocations: 3.721 MB / 0.9544 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007308/1.151, allocations: 325.5 kB / 0.9547 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/1.151, allocations: 52.12 kB / 0.9547 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.153, allocations: 63.95 kB / 0.9548 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/1.153, allocations: 169.8 kB / 0.955 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.153, allocations: 75.95 kB / 0.955 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002115/1.156, allocations: 1.308 MB / 0.9563 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/1.156, allocations: 0 / 0.9563 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003062/1.159, allocations: 0.8942 MB / 0.9572 GB, free: 0.9883 MB / 0.7012 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.001629/1.16, allocations: 0.9955 MB / 0.9582 GB, free: 60 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005437/1.166, allocations: 3.087 MB / 0.9612 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.166, allocations: 4 kB / 0.9612 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00369/1.169, allocations: 2.24 MB / 0.9634 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/1.174, allocations: 0.8184 MB / 0.9642 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009074/1.183, allocations: 4.979 MB / 0.969 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.185, allocations: 1.664 MB / 0.9707 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008592/1.185, allocations: 239.4 kB / 0.9709 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/1.185, allocations: 0 / 0.9709 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of Templates: time 0.4012/1.587, allocations: 142 MB / 1.11 GB, free: 278.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches