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.005271/0.005271, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001303/0.001303, allocations: 196.1 kB / 16.68 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6368/0.6368, allocations: 91.19 MB / 381.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 75.88 kB / 0.5169 GB, free: 4.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2661, allocations: 67.69 MB / 0.583 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4647/0.7308, allocations: 225 MB / 0.8027 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02771/0.7586, allocations: 30.88 MB / 0.8328 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.7617, allocations: 137.4 kB / 0.833 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004012/0.7657, allocations: 1.731 MB / 0.8347 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006922/0.7727, allocations: 2.626 MB / 0.8372 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006363/0.7791, allocations: 2.593 MB / 0.8398 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005408/0.7845, allocations: 4.731 MB / 0.8444 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.7862, allocations: 1.055 MB / 0.8454 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.7909, allocations: 2.383 MB / 0.8477 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/0.7943, allocations: 2.293 MB / 0.85 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004777/0.7948, allocations: 268 kB / 0.8502 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007751/0.8025, allocations: 3.72 MB / 0.8539 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006136/0.8032, allocations: 0.6336 MB / 0.8545 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.8053, allocations: 1.542 MB / 0.856 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007557/0.8129, allocations: 4.936 MB / 0.8608 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8129, allocations: 0 / 0.8608 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8129, allocations: 2.906 kB / 0.8608 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.185e-05/0.813, allocations: 0 / 0.8608 GB, free: 7.703 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.005848/0.8188, allocations: 3.535 MB / 0.8643 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.8189, allocations: 8.031 kB / 0.8643 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/0.8194, allocations: 332.9 kB / 0.8646 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/0.8224, allocations: 2.015 MB / 0.8666 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.8226, allocations: 156.2 kB / 0.8667 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.8228, allocations: 223.8 kB / 0.8669 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.8265, allocations: 2.474 MB / 0.8693 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.91e-05/0.8265, allocations: 0 / 0.8693 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.8267, allocations: 88 kB / 0.8694 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.8267, allocations: 52 kB / 0.8695 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/0.8301, allocations: 2.226 MB / 0.8716 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.8417, allocations: 11.19 MB / 0.8826 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.8448, allocations: 1.772 MB / 0.8843 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.8461, allocations: 0.9022 MB / 0.8852 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006924/0.853, allocations: 6.515 MB / 0.8915 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.8547, allocations: 1.05 MB / 0.8926 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=183): time 3.266e-06/0.8547, allocations: 0 / 0.8926 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of matching and sorting (n=184): time 0.01076/0.8655, allocations: 6.087 MB / 0.8985 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.8656, allocations: 99.11 kB / 0.8986 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/0.8676, allocations: 1.837 MB / 0.9004 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.8677, allocations: 53.7 kB / 0.9005 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007831/0.8685, allocations: 1.074 MB / 0.9015 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/0.869, allocations: 0.6226 MB / 0.9021 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/0.8694, allocations: 295.5 kB / 0.9024 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.8695, allocations: 309.1 kB / 0.9027 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.8707, allocations: 0.6714 MB / 0.9033 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.8721, allocations: 0.8531 MB / 0.9042 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.8747, allocations: 1.669 MB / 0.9058 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8748, allocations: 0 / 0.9058 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004775/0.8795, allocations: 2.541 MB / 0.9083 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.8796, allocations: 37.64 kB / 0.9083 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8796, allocations: 4 kB / 0.9083 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.8814, allocations: 0.6204 MB / 0.9089 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.8825, allocations: 299.6 kB / 0.9092 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.898, allocations: 16.21 MB / 0.9251 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.8993, allocations: 95.44 kB / 0.9251 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.8995, allocations: 79.97 kB / 0.9252 GB, free: 2.477 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.0008269/0.9003, allocations: 433.4 kB / 0.9256 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.9007, allocations: 260.9 kB / 0.9259 GB, free: 1.785 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005853/0.9066, allocations: 3.447 MB / 0.9292 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.9066, allocations: 16 kB / 0.9293 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.9066, allocations: 16 kB / 0.9293 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/0.9067, allocations: 12.05 kB / 0.9293 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007813/0.9145, allocations: 5.162 MB / 0.9343 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.9145, allocations: 4.031 kB / 0.9343 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009927/0.9155, allocations: 287.6 kB / 0.9346 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.9171, allocations: 0.5376 MB / 0.9351 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.9173, allocations: 63.97 kB / 0.9352 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.9286, allocations: 15.25 MB / 0.9501 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.9286, allocations: 7.969 kB / 0.9501 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006203/0.9348, allocations: 3.702 MB / 0.9537 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.9353, allocations: 329.5 kB / 0.954 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.9356, allocations: 51.92 kB / 0.9541 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009142/0.9365, allocations: 55.97 kB / 0.9541 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/0.9369, allocations: 173.8 kB / 0.9543 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.937, allocations: 71.97 kB / 0.9544 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001559/0.9386, allocations: 1.305 MB / 0.9556 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9386, allocations: 0 / 0.9556 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00233/0.9409, allocations: 0.8981 MB / 0.9565 GB, free: 0.9727 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.00131/0.9422, allocations: 1.014 MB / 0.9575 GB, free: 32 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004556/0.9468, allocations: 3.077 MB / 0.9605 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.9468, allocations: 0 / 0.9605 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003033/0.9498, allocations: 2.253 MB / 0.9627 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/0.953, allocations: 0.819 MB / 0.9635 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/0.9601, allocations: 4.933 MB / 0.9683 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.9614, allocations: 1.667 MB / 0.97 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001506/0.9629, allocations: 0.5199 MB / 0.9705 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.9633, allocations: 219.4 kB / 0.9707 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.9634, allocations: 0 / 0.9707 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.321/1.284, allocations: 51.76 MB / 1.021 GB, free: 321.1 MB / 0.7637 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