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.00105/0.00105, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001046/0.001046, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7854/0.7854, allocations: 89.62 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 7.344 kB / 460 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 68.83 MB / 0.5165 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.547/0.7005, allocations: 207 MB / 0.7186 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03422/0.7348, allocations: 28.65 MB / 0.7466 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.7384, allocations: 55.69 kB / 0.7466 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.7428, allocations: 1.434 MB / 0.748 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0078/0.7506, allocations: 2.392 MB / 0.7504 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006202/0.7568, allocations: 1.845 MB / 0.7522 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006193/0.763, allocations: 4.53 MB / 0.7566 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.7646, allocations: 0.7556 MB / 0.7573 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.7685, allocations: 1.634 MB / 0.7589 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.7717, allocations: 1.97 MB / 0.7608 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.7721, allocations: 100 kB / 0.7609 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007777/0.7799, allocations: 3.068 MB / 0.7639 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006284/0.7806, allocations: 398.2 kB / 0.7643 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.7817, allocations: 0.4965 MB / 0.7648 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.7867, allocations: 3 MB / 0.7677 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.7867, allocations: 4 kB / 0.7677 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7867, allocations: 7.938 kB / 0.7677 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.155e-05/0.7868, allocations: 0 / 0.7677 GB, free: 9.84 MB / 0.5762 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.005908/0.7927, allocations: 2.629 MB / 0.7703 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7927, allocations: 12.03 kB / 0.7703 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00054/0.7933, allocations: 268.9 kB / 0.7706 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.7951, allocations: 1.121 MB / 0.7717 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.7953, allocations: 156.2 kB / 0.7718 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.7956, allocations: 223.8 kB / 0.772 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00398/0.7996, allocations: 2.466 MB / 0.7744 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.7996, allocations: 4 kB / 0.7744 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.7998, allocations: 91.98 kB / 0.7745 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.14e-05/0.7999, allocations: 52 kB / 0.7746 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/0.8038, allocations: 2.23 MB / 0.7768 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.8175, allocations: 11.09 MB / 0.7876 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.8208, allocations: 1.763 MB / 0.7893 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.8223, allocations: 0.91 MB / 0.7902 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008189/0.8305, allocations: 6.574 MB / 0.7966 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/0.8324, allocations: 1.043 MB / 0.7976 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=183): time 3.667e-06/0.8324, allocations: 0 / 0.7976 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184): time 0.01122/0.8436, allocations: 5.878 MB / 0.8034 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.8437, allocations: 99.11 kB / 0.8035 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.8455, allocations: 1.3 MB / 0.8047 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.8456, allocations: 57.7 kB / 0.8048 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007022/0.8463, allocations: 0.82 MB / 0.8056 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/0.8468, allocations: 0.616 MB / 0.8062 GB, free: 180 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-05/0.8469, allocations: 36 kB / 0.8062 GB, free: 144 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.3049/1.152, allocations: 361.9 kB / 0.8066 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.154, allocations: 0.6695 MB / 0.8072 GB, free: 226.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/1.156, allocations: 0.8636 MB / 0.8081 GB, free: 226.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/1.157, allocations: 0.8052 MB / 0.8089 GB, free: 226.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/1.157, allocations: 1.625 kB / 0.8089 GB, free: 226.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005235/1.163, allocations: 2.5 MB / 0.8113 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/1.163, allocations: 38.06 kB / 0.8113 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.163, allocations: 2.938 kB / 0.8113 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/1.165, allocations: 0.6172 MB / 0.812 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.166, allocations: 305.8 kB / 0.8122 GB, free: 225.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/1.179, allocations: 15.12 MB / 0.827 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.18, allocations: 154.4 kB / 0.8272 GB, free: 212.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/1.18, allocations: 74.7 kB / 0.8272 GB, free: 212.2 MB / 0.6075 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(3,77.8%) 18,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008119/1.181, allocations: 392.2 kB / 0.8276 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/1.181, allocations: 192.8 kB / 0.8278 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006382/1.188, allocations: 3.448 MB / 0.8311 GB, free: 210.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.188, allocations: 21.59 kB / 0.8312 GB, free: 210.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/1.188, allocations: 8.406 kB / 0.8312 GB, free: 210.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/1.188, allocations: 14.02 kB / 0.8312 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009569/1.198, allocations: 4.98 MB / 0.8361 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.198, allocations: 5.906 kB / 0.8361 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.199, allocations: 296.6 kB / 0.8363 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/1.201, allocations: 0.5457 MB / 0.8369 GB, free: 207.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/1.201, allocations: 66.92 kB / 0.8369 GB, free: 207.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009602/1.21, allocations: 14.05 MB / 0.8507 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.21, allocations: 6.062 kB / 0.8507 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006708/1.217, allocations: 3.64 MB / 0.8542 GB, free: 192.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/1.218, allocations: 315 kB / 0.8545 GB, free: 192.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/1.218, allocations: 45.72 kB / 0.8546 GB, free: 192.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/1.219, allocations: 118.9 kB / 0.8547 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.22, allocations: 175.2 kB / 0.8548 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/1.22, allocations: 68.44 kB / 0.8549 GB, free: 192.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001316/1.221, allocations: 0.9529 MB / 0.8558 GB, free: 192.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/1.221, allocations: 0 / 0.8558 GB, free: 192.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002977/1.224, allocations: 0.8802 MB / 0.8567 GB, free: 192.1 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 2,(3,77.8%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/1.225, allocations: 1.109 MB / 0.8578 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004258/1.23, allocations: 3.074 MB / 0.8608 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.23, allocations: 0 / 0.8608 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/1.232, allocations: 2.261 MB / 0.863 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.236, allocations: 0.7366 MB / 0.8637 GB, free: 187.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006574/1.242, allocations: 5.146 MB / 0.8687 GB, free: 184.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/1.243, allocations: 1.495 MB / 0.8702 GB, free: 183.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001567/1.245, allocations: 459.3 kB / 0.8706 GB, free: 183 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/1.245, allocations: 181.9 kB / 0.8708 GB, free: 182.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.302e-06/1.245, allocations: 0 / 0.8708 GB, free: 182.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.06312/1.308, allocations: 46.66 MB / 0.9164 GB, free: 136.6 MB / 0.6075 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