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 dev (/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.001068/0.001067, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009284/0.0009287, allocations: 177.3 kB / 15.95 MB, free: 216 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.376/1.376, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7428/0.7428, allocations: 89.61 MB / 380.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004493, allocations: 11.47 kB / 459.9 MB, free: 24.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.162, allocations: 68.83 MB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.6038/0.7658, allocations: 191 MB / 0.7028 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03605/0.8019, allocations: 25.72 MB / 0.728 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004243/0.8062, allocations: 55.69 kB / 0.728 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006502/0.8128, allocations: 1.419 MB / 0.7294 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.8233, allocations: 2.508 MB / 0.7318 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007672/0.831, allocations: 1.923 MB / 0.7337 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007056/0.8381, allocations: 2.795 MB / 0.7365 GB, free: 8.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.84, allocations: 0.753 MB / 0.7372 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.8442, allocations: 1.588 MB / 0.7387 GB, free: 6.043 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.8475, allocations: 1.651 MB / 0.7403 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000564/0.8481, allocations: 104 kB / 0.7404 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.8583, allocations: 3.285 MB / 0.7437 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009818/0.8593, allocations: 398.3 kB / 0.744 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.8608, allocations: 0.4926 MB / 0.7445 GB, free: 108 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006379/0.8672, allocations: 2.961 MB / 0.7474 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8672, allocations: 0 / 0.7474 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8672, allocations: 0 / 0.7474 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001027/0.8673, allocations: 0 / 0.7474 GB, free: 13.14 MB / 0.5606 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.00632/0.8737, allocations: 2.638 MB / 0.75 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.8737, allocations: 8.031 kB / 0.75 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005685/0.8743, allocations: 264.9 kB / 0.7502 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.8763, allocations: 1.117 MB / 0.7513 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.8764, allocations: 156.2 kB / 0.7515 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.8768, allocations: 227.8 kB / 0.7517 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/0.8808, allocations: 2.452 MB / 0.7541 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.8808, allocations: 3.938 kB / 0.7541 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.881, allocations: 84 kB / 0.7542 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.8811, allocations: 52 kB / 0.7542 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/0.8849, allocations: 2.234 MB / 0.7564 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.8992, allocations: 11.35 MB / 0.7675 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.9025, allocations: 1.764 MB / 0.7692 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008658/0.9112, allocations: 6.78 MB / 0.7758 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/0.9131, allocations: 1.047 MB / 0.7769 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=183): time 3.506e-06/0.9131, allocations: 0 / 0.7769 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=184): time 0.01182/0.9249, allocations: 5.853 MB / 0.7826 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.9251, allocations: 99.11 kB / 0.7827 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.9269, allocations: 1.304 MB / 0.784 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.9272, allocations: 53.7 kB / 0.784 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007227/0.9279, allocations: 0.8161 MB / 0.7848 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006321/0.9285, allocations: 0.616 MB / 0.7854 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.9286, allocations: 36 kB / 0.7854 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.9288, allocations: 369.9 kB / 0.7858 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.9302, allocations: 0.6716 MB / 0.7864 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.9317, allocations: 0.8453 MB / 0.7873 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.9332, allocations: 0.8081 MB / 0.7881 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9332, allocations: 0 / 0.7881 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005813/0.939, allocations: 2.492 MB / 0.7905 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.9391, allocations: 33.7 kB / 0.7905 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.9391, allocations: 0 / 0.7905 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/0.9412, allocations: 0.6275 MB / 0.7911 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.9424, allocations: 299.5 kB / 0.7914 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3272/1.27, allocations: 15.26 MB / 0.8063 GB, free: 221.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.272, allocations: 157.4 kB / 0.8065 GB, free: 221.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003912/1.272, allocations: 73.75 kB / 0.8065 GB, free: 221.7 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.001207/1.274, allocations: 398.3 kB / 0.8069 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006306/1.274, allocations: 194.5 kB / 0.8071 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00759/1.282, allocations: 3.458 MB / 0.8105 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/1.282, allocations: 19.28 kB / 0.8105 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.357e-05/1.282, allocations: 8.562 kB / 0.8105 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/1.282, allocations: 10.84 kB / 0.8105 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00942/1.291, allocations: 5.097 MB / 0.8155 GB, free: 218.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.291, allocations: 5.516 kB / 0.8155 GB, free: 218.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.292, allocations: 287.5 kB / 0.8158 GB, free: 218.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/1.294, allocations: 0.5443 MB / 0.8163 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/1.295, allocations: 71.16 kB / 0.8164 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/1.305, allocations: 14.22 MB / 0.8303 GB, free: 205.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.305, allocations: 4.031 kB / 0.8303 GB, free: 205.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007394/1.312, allocations: 3.756 MB / 0.8339 GB, free: 203.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009644/1.313, allocations: 330.7 kB / 0.8343 GB, free: 203.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/1.314, allocations: 50.66 kB / 0.8343 GB, free: 203.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.315, allocations: 116 kB / 0.8344 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005214/1.316, allocations: 180.4 kB / 0.8346 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.316, allocations: 73.23 kB / 0.8347 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001658/1.317, allocations: 0.9534 MB / 0.8356 GB, free: 202.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.317, allocations: 0 / 0.8356 GB, free: 202.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004092/1.321, allocations: 0.8806 MB / 0.8364 GB, free: 202.8 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.002004/1.323, allocations: 1.112 MB / 0.8375 GB, free: 202.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005395/1.329, allocations: 3.064 MB / 0.8405 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.329, allocations: 4.375 kB / 0.8405 GB, free: 200.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/1.332, allocations: 2.258 MB / 0.8427 GB, free: 199.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/1.336, allocations: 0.6907 MB / 0.8434 GB, free: 199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/1.344, allocations: 5.145 MB / 0.8484 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/1.345, allocations: 1.531 MB / 0.8499 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001993/1.347, allocations: 464.8 kB / 0.8504 GB, free: 195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/1.348, allocations: 177.1 kB / 0.8505 GB, free: 195 MB / 0.6075 GB Notification: Performance of SimCode: time 1.443e-06/1.348, allocations: 4 kB / 0.8505 GB, free: 195 MB / 0.6075 GB Notification: Performance of Templates: time 0.06615/1.414, allocations: 46.4 MB / 0.8959 GB, free: 153.7 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","../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches