Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 99.62 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.001349/0.00135, allocations: 177.3 kB / 15.94 MB, free: 228 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.483/1.483, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7241/0.7241, allocations: 89.61 MB / 380.6 MB, free: 11.44 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 19.94 kB / 459.9 MB, free: 24.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1583, allocations: 68.82 MB / 0.5163 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.4095/0.5678, allocations: 123.2 MB / 0.6366 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004152/0.572, allocations: 2.796 MB / 0.6394 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.5724, allocations: 3.938 kB / 0.6394 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.573, allocations: 172.3 kB / 0.6395 GB, free: 4.703 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.5742, allocations: 441.5 kB / 0.64 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.5752, allocations: 290.7 kB / 0.6402 GB, free: 4.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.5758, allocations: 441.7 kB / 0.6406 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.576, allocations: 92.69 kB / 0.6407 GB, free: 3.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.5765, allocations: 243.1 kB / 0.641 GB, free: 3.652 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.5769, allocations: 260.2 kB / 0.6412 GB, free: 3.504 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.5769, allocations: 23.28 kB / 0.6412 GB, free: 3.496 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.5781, allocations: 0.4973 MB / 0.6417 GB, free: 3.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.5782, allocations: 68.48 kB / 0.6418 GB, free: 3.242 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.5783, allocations: 100.3 kB / 0.6419 GB, free: 3.176 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005648/0.5788, allocations: 442.2 kB / 0.6423 GB, free: 2.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5789, allocations: 2.438 kB / 0.6423 GB, free: 2.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5789, allocations: 0 / 0.6423 GB, free: 2.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.5789, allocations: 0 / 0.6423 GB, free: 2.902 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001269/0.5802, allocations: 0.7092 MB / 0.643 GB, free: 2.273 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5802, allocations: 9.875 kB / 0.643 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.5803, allocations: 46.88 kB / 0.6431 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.5807, allocations: 312.7 kB / 0.6434 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.5807, allocations: 29 kB / 0.6434 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.5808, allocations: 36.48 kB / 0.6434 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.5814, allocations: 417.9 kB / 0.6438 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.5814, allocations: 0 / 0.6438 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.5815, allocations: 17.66 kB / 0.6438 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5815, allocations: 7.375 kB / 0.6438 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006561/0.5822, allocations: 383.5 kB / 0.6442 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.5843, allocations: 1.882 MB / 0.646 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.585, allocations: 355.3 kB / 0.6464 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/0.587, allocations: 1.589 MB / 0.6479 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.5874, allocations: 209.5 kB / 0.6481 GB, free: 13.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=37): time 2.425e-06/0.5874, allocations: 0 / 0.6481 GB, free: 13.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=37): time 0.001258/0.5887, allocations: 0.6061 MB / 0.6487 GB, free: 13.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.5888, allocations: 60.22 kB / 0.6488 GB, free: 13.31 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.589, allocations: 291.6 kB / 0.6491 GB, free: 13.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.5891, allocations: 36.05 kB / 0.6491 GB, free: 13.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.5892, allocations: 190.3 kB / 0.6493 GB, free: 12.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/0.5893, allocations: 129.9 kB / 0.6494 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.5893, allocations: 4 kB / 0.6494 GB, free: 12.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5895, allocations: 346.5 kB / 0.6497 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.5897, allocations: 127.7 kB / 0.6499 GB, free: 12.38 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.59, allocations: 175.6 kB / 0.65 GB, free: 12.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.5903, allocations: 168.8 kB / 0.6502 GB, free: 12.17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5903, allocations: 3.938 kB / 0.6502 GB, free: 12.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008253/0.5912, allocations: 468.8 kB / 0.6506 GB, free: 11.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.5912, allocations: 35.47 kB / 0.6507 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5912, allocations: 2.75 kB / 0.6507 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.5914, allocations: 41.39 kB / 0.6507 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.5917, allocations: 80.83 kB / 0.6508 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.5929, allocations: 1.447 MB / 0.6522 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.5932, allocations: 47.77 kB / 0.6522 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.5932, allocations: 20.55 kB / 0.6523 GB, free: 10.34 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.5934, allocations: 152.8 kB / 0.6524 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.5935, allocations: 34.62 kB / 0.6524 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.5945, allocations: 0.5316 MB / 0.653 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.5945, allocations: 5.406 kB / 0.653 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5946, allocations: 4 kB / 0.653 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5946, allocations: 3.984 kB / 0.653 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.596, allocations: 0.973 MB / 0.6539 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5961, allocations: 0 / 0.6539 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.5963, allocations: 66.64 kB / 0.654 GB, free: 9.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001438/0.5964, allocations: 45.11 kB / 0.654 GB, free: 9.047 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.5965, allocations: 17.84 kB / 0.6541 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.5977, allocations: 1.436 MB / 0.6555 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5977, allocations: 0 / 0.6555 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.5988, allocations: 0.6694 MB / 0.6561 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.5989, allocations: 126.9 kB / 0.6562 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.599, allocations: 10.84 kB / 0.6562 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.5992, allocations: 24.89 kB / 0.6563 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.217e-05/0.5993, allocations: 34.56 kB / 0.6563 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.5994, allocations: 18.98 kB / 0.6563 GB, free: 6.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.5996, allocations: 216.7 kB / 0.6565 GB, free: 6.836 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5996, allocations: 4 kB / 0.6565 GB, free: 6.832 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.6002, allocations: 159.2 kB / 0.6567 GB, free: 6.793 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.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 (34): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003864/0.6006, allocations: 243.8 kB / 0.6569 GB, free: 6.633 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009513/0.6015, allocations: 0.4982 MB / 0.6574 GB, free: 6.305 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6015, allocations: 2.594 kB / 0.6574 GB, free: 6.305 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.602, allocations: 299.3 kB / 0.6577 GB, free: 6.109 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.6027, allocations: 125.1 kB / 0.6578 GB, free: 6.043 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.6044, allocations: 0.9272 MB / 0.6587 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.6048, allocations: 0.8026 MB / 0.6595 GB, free: 4.629 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003147/0.6051, allocations: 81.91 kB / 0.6596 GB, free: 4.594 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.932e-05/0.6053, allocations: 47.64 kB / 0.6596 GB, free: 4.574 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6053, allocations: 0 / 0.6596 GB, free: 4.574 MB / 478.1 MB Notification: Performance of Templates: time 0.01408/0.6193, allocations: 7.31 MB / 0.6668 GB, free: 14.93 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches