Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_OM_adaptions_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_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008257/0.0008257, allocations: 168.9 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006827/0.0006827, allocations: 86.36 kB / 269.9 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5826/0.5826, allocations: 90.53 MB / 408.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002788, allocations: 12.22 kB / 484.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.231, allocations: 65.8 MB / 0.5377 GB, free: 34.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3846/0.6156, allocations: 221.7 MB / 0.7543 GB, free: 124 kB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02582/0.6415, allocations: 30.61 MB / 0.7842 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.644, allocations: 47.69 kB / 0.7842 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.6474, allocations: 1.495 MB / 0.7857 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005123/0.6525, allocations: 2.4 MB / 0.788 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005583/0.6581, allocations: 2.271 MB / 0.7902 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005416/0.6636, allocations: 5.473 MB / 0.7956 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.6646, allocations: 0.8291 MB / 0.7964 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.6678, allocations: 1.854 MB / 0.7982 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.6701, allocations: 2.124 MB / 0.8003 GB, free: 140 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.6703, allocations: 104 kB / 0.8004 GB, free: 36 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007465/0.6778, allocations: 4.202 MB / 0.8045 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.6782, allocations: 425.7 kB / 0.8049 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.6794, allocations: 1.214 MB / 0.8061 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/0.6833, allocations: 3.41 MB / 0.8094 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6833, allocations: 0 / 0.8094 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6834, allocations: 0 / 0.8094 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.373e-05/0.6834, allocations: 4 kB / 0.8094 GB, free: 7.539 MB / 0.5261 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.004878/0.6883, allocations: 2.651 MB / 0.812 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.6883, allocations: 12.03 kB / 0.812 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004233/0.6887, allocations: 261.8 kB / 0.8123 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.6901, allocations: 1.118 MB / 0.8134 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.6902, allocations: 156.4 kB / 0.8135 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.6905, allocations: 215.8 kB / 0.8137 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/0.6941, allocations: 2.45 MB / 0.8161 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.491e-05/0.6941, allocations: 0 / 0.8161 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.6943, allocations: 84 kB / 0.8162 GB, free: 468 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.6943, allocations: 52 kB / 0.8162 GB, free: 416 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.6978, allocations: 2.281 MB / 0.8185 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.7093, allocations: 11.92 MB / 0.8301 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.7127, allocations: 2.315 MB / 0.8324 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.7143, allocations: 1.082 MB / 0.8334 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006832/0.7211, allocations: 6.425 MB / 0.8397 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/0.723, allocations: 1.243 MB / 0.8409 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=217): time 3.487e-06/0.723, allocations: 0 / 0.8409 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=218): time 0.01093/0.734, allocations: 6.37 MB / 0.8471 GB, free: 14.64 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.734, allocations: 99.11 kB / 0.8472 GB, free: 14.52 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7351, allocations: 0.9819 MB / 0.8482 GB, free: 13.53 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.7352, allocations: 61.7 kB / 0.8482 GB, free: 13.46 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/0.7357, allocations: 0.7678 MB / 0.849 GB, free: 12.69 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/0.7362, allocations: 0.7324 MB / 0.8497 GB, free: 11.96 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.7363, allocations: 32 kB / 0.8497 GB, free: 11.93 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7365, allocations: 389.8 kB / 0.8501 GB, free: 11.54 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.7379, allocations: 0.8161 MB / 0.8509 GB, free: 10.73 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.7394, allocations: 0.996 MB / 0.8519 GB, free: 9.691 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.7425, allocations: 1.988 MB / 0.8538 GB, free: 7.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7425, allocations: 0 / 0.8538 GB, free: 7.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005066/0.7476, allocations: 2.809 MB / 0.8566 GB, free: 4.805 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.7477, allocations: 37.64 kB / 0.8566 GB, free: 4.762 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7477, allocations: 0 / 0.8566 GB, free: 4.762 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.7494, allocations: 0.6222 MB / 0.8572 GB, free: 4.113 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/0.7505, allocations: 299.6 kB / 0.8575 GB, free: 3.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/0.7653, allocations: 15.2 MB / 0.8723 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7668, allocations: 191 kB / 0.8725 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.767, allocations: 79.97 kB / 0.8726 GB, free: 3.16 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (179): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * 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,2,100.0%), (1,2,100.0%), (1,4,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.0007691/0.7678, allocations: 397.7 kB / 0.873 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.7681, allocations: 173.8 kB / 0.8731 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006188/0.7743, allocations: 3.358 MB / 0.8764 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.7743, allocations: 31.98 kB / 0.8764 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.7743, allocations: 8 kB / 0.8765 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.7744, allocations: 12.05 kB / 0.8765 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00865/0.783, allocations: 5.748 MB / 0.8821 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7831, allocations: 4 kB / 0.8821 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.7841, allocations: 335.7 kB / 0.8824 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.7857, allocations: 0.5458 MB / 0.8829 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.7858, allocations: 79.95 kB / 0.883 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.7966, allocations: 14.05 MB / 0.8967 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7966, allocations: 4.031 kB / 0.8967 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007305/0.8039, allocations: 4.369 MB / 0.901 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.8043, allocations: 258.5 kB / 0.9013 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/0.8046, allocations: 55.98 kB / 0.9013 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.8057, allocations: 151.6 kB / 0.9015 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/0.8061, allocations: 198.1 kB / 0.9016 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.8062, allocations: 91.95 kB / 0.9017 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007459/0.807, allocations: 0.6671 MB / 0.9024 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.807, allocations: 0 / 0.9024 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002253/0.8093, allocations: 0.9255 MB / 0.9033 GB, free: 2.379 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (198): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,8,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.001324/0.8106, allocations: 1.113 MB / 0.9044 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0052/0.8158, allocations: 3.864 MB / 0.9081 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8158, allocations: 0 / 0.9081 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00354/0.8194, allocations: 2.895 MB / 0.911 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8218, allocations: 0.5443 MB / 0.9115 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006604/0.8285, allocations: 5.465 MB / 0.9168 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.8295, allocations: 1.531 MB / 0.9183 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/0.8301, allocations: 203.4 kB / 0.9185 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/0.8301, allocations: 0 / 0.9185 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of Templates: time 0.2539/1.084, allocations: 121.9 MB / 1.038 GB, free: 164.1 MB / 0.6355 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches