Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 103.4 kB / 16.27 MB, free: 5.98 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.001305/0.001305, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7104/0.7104, allocations: 89.47 MB / 380.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 83.88 kB / 458.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1235, allocations: 67.3 MB / 0.5138 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3345/0.458, allocations: 146.7 MB / 0.6571 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003806/0.4618, allocations: 3.098 MB / 0.6602 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.4621, allocations: 7.938 kB / 0.6602 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.4627, allocations: 226.5 kB / 0.6604 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000692/0.4634, allocations: 321.9 kB / 0.6607 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009298/0.4644, allocations: 454.3 kB / 0.6611 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006184/0.465, allocations: 0.5785 MB / 0.6617 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.4653, allocations: 129.9 kB / 0.6618 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000863/0.4661, allocations: 430.2 kB / 0.6622 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.4665, allocations: 271.5 kB / 0.6625 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.4666, allocations: 32 kB / 0.6625 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009958/0.4676, allocations: 0.5458 MB / 0.663 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.4676, allocations: 63.77 kB / 0.6631 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.4678, allocations: 183 kB / 0.6633 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.4686, allocations: 0.5705 MB / 0.6638 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4686, allocations: 1.125 kB / 0.6638 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4687, allocations: 4 kB / 0.6638 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4687, allocations: 0 / 0.6638 GB, free: 14.17 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001094/0.4698, allocations: 0.6781 MB / 0.6645 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.4698, allocations: 12.03 kB / 0.6645 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.4699, allocations: 40.47 kB / 0.6645 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.4703, allocations: 300.5 kB / 0.6648 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.4703, allocations: 16.94 kB / 0.6649 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.4704, allocations: 37.78 kB / 0.6649 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.4709, allocations: 312.8 kB / 0.6652 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4709, allocations: 4 kB / 0.6652 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.4709, allocations: 12.94 kB / 0.6652 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.471, allocations: 11.94 kB / 0.6652 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.4714, allocations: 195.8 kB / 0.6654 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.4733, allocations: 1.746 MB / 0.6671 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.4738, allocations: 173.4 kB / 0.6673 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.474, allocations: 70.8 kB / 0.6673 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007161/0.4747, allocations: 0.5259 MB / 0.6679 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4747, allocations: 42.5 kB / 0.6679 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.4747, allocations: 0 / 0.6679 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0008847/0.4756, allocations: 341 kB / 0.6682 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.4757, allocations: 112.5 kB / 0.6683 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.4761, allocations: 329.7 kB / 0.6686 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4761, allocations: 29.7 kB / 0.6687 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.4763, allocations: 203.9 kB / 0.6689 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.4763, allocations: 51.25 kB / 0.6689 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.4764, allocations: 45.7 kB / 0.669 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4766, allocations: 342.8 kB / 0.6693 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.4768, allocations: 60.45 kB / 0.6693 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.4769, allocations: 105.9 kB / 0.6694 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.4773, allocations: 172.5 kB / 0.6696 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4773, allocations: 0 / 0.6696 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005313/0.4779, allocations: 267.4 kB / 0.6699 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.4779, allocations: 4 kB / 0.6699 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4779, allocations: 4 kB / 0.6699 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.478, allocations: 20.97 kB / 0.6699 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.4782, allocations: 51.92 kB / 0.6699 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.4794, allocations: 1.388 MB / 0.6713 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.4796, allocations: 31.7 kB / 0.6713 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.4796, allocations: 9.953 kB / 0.6713 GB, free: 5.809 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.4798, allocations: 147.8 kB / 0.6715 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.4799, allocations: 31.62 kB / 0.6715 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.4805, allocations: 252.4 kB / 0.6717 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4805, allocations: 4 kB / 0.6717 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.4805, allocations: 0 / 0.6717 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4805, allocations: 7.984 kB / 0.6718 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.481, allocations: 301.5 kB / 0.672 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.481, allocations: 8.562 kB / 0.672 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.4811, allocations: 29.67 kB / 0.6721 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.561e-05/0.4812, allocations: 28.78 kB / 0.6721 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.4813, allocations: 3.984 kB / 0.6721 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.4824, allocations: 1.392 MB / 0.6735 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4824, allocations: 3.234 kB / 0.6735 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/0.483, allocations: 444.9 kB / 0.6739 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.4831, allocations: 112.6 kB / 0.674 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.4832, allocations: 4 kB / 0.674 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.4834, allocations: 11.94 kB / 0.674 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.4834, allocations: 19.91 kB / 0.674 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.4835, allocations: 5.188 kB / 0.674 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000256/0.4837, allocations: 243.2 kB / 0.6743 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4837, allocations: 1.594 kB / 0.6743 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004542/0.4842, allocations: 87.84 kB / 0.6744 GB, free: 2.469 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002859/0.4845, allocations: 199.1 kB / 0.6745 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005874/0.4851, allocations: 270.5 kB / 0.6748 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4851, allocations: 0 / 0.6748 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.4854, allocations: 194.8 kB / 0.675 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.4862, allocations: 97.23 kB / 0.6751 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.4874, allocations: 0.7353 MB / 0.6758 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.4879, allocations: 0.7752 MB / 0.6766 GB, free: 156 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.4879, allocations: 31.42 kB / 0.6766 GB, free: 124 kB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.488, allocations: 8 kB / 0.6766 GB, free: 116 kB / 0.5137 GB Notification: Performance of Templates: time 0.009342/0.4973, allocations: 6.262 MB / 0.6827 GB, free: 9.957 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches