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-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.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.00819/0.00819, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.00179/0.00179, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7152/0.7152, allocations: 91.19 MB / 381.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 80.11 kB / 0.5168 GB, free: 4.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3142, allocations: 67.69 MB / 0.583 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1498/0.464, allocations: 146.9 MB / 0.7264 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00374/0.4678, allocations: 3.151 MB / 0.7295 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.4682, allocations: 23.88 kB / 0.7295 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007182/0.469, allocations: 234.4 kB / 0.7297 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009316/0.47, allocations: 385.6 kB / 0.7301 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009963/0.471, allocations: 450.4 kB / 0.7305 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000781/0.4718, allocations: 0.6923 MB / 0.7312 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.472, allocations: 137.1 kB / 0.7313 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.4731, allocations: 497.9 kB / 0.7318 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.4735, allocations: 298.7 kB / 0.7321 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.4735, allocations: 28 kB / 0.7321 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.4746, allocations: 0.5458 MB / 0.7327 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.4747, allocations: 75.62 kB / 0.7327 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.4749, allocations: 214.8 kB / 0.7329 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.476, allocations: 0.6869 MB / 0.7336 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.476, allocations: 0 / 0.7336 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.476, allocations: 0 / 0.7336 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.476, allocations: 0 / 0.7336 GB, free: 3.277 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001135/0.4771, allocations: 0.7825 MB / 0.7344 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4772, allocations: 12.03 kB / 0.7344 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683e-05/0.4773, allocations: 52.28 kB / 0.7344 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.478, allocations: 489.5 kB / 0.7349 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.478, allocations: 20.94 kB / 0.7349 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.4781, allocations: 28.38 kB / 0.7349 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.4786, allocations: 316.6 kB / 0.7352 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4786, allocations: 8 kB / 0.7352 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.4786, allocations: 8 kB / 0.7353 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.4787, allocations: 11.98 kB / 0.7353 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.4791, allocations: 195.8 kB / 0.7355 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2696/0.7487, allocations: 1.771 MB / 0.7372 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.7492, allocations: 170.5 kB / 0.7373 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.7494, allocations: 77.09 kB / 0.7374 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/0.7499, allocations: 0.5187 MB / 0.7379 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.75, allocations: 37.78 kB / 0.738 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.75, allocations: 4.625 kB / 0.738 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008642/0.7509, allocations: 358.3 kB / 0.7383 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.7509, allocations: 105.6 kB / 0.7384 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.7514, allocations: 441.8 kB / 0.7388 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.7514, allocations: 30.98 kB / 0.7389 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7515, allocations: 245.5 kB / 0.7391 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.7516, allocations: 56.5 kB / 0.7391 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.7517, allocations: 45.91 kB / 0.7392 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.7518, allocations: 358.5 kB / 0.7395 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.7519, allocations: 57.3 kB / 0.7396 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.7521, allocations: 113.5 kB / 0.7397 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.7524, allocations: 173 kB / 0.7399 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7524, allocations: 0 / 0.7399 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000485/0.7529, allocations: 269.2 kB / 0.7401 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.7529, allocations: 5.906 kB / 0.7401 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.753, allocations: 1.5 kB / 0.7401 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.7531, allocations: 28.12 kB / 0.7402 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.7533, allocations: 47.3 kB / 0.7402 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006908/0.754, allocations: 1.384 MB / 0.7415 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.7542, allocations: 34.97 kB / 0.7416 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.7542, allocations: 10.44 kB / 0.7416 GB, free: 150.8 MB / 0.5762 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.0001205/0.7544, allocations: 155.6 kB / 0.7417 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.7545, allocations: 48.64 kB / 0.7418 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.755, allocations: 251.2 kB / 0.742 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.755, allocations: 2.125 kB / 0.742 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7551, allocations: 1.781 kB / 0.742 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.7551, allocations: 7.453 kB / 0.742 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.7555, allocations: 356.3 kB / 0.7424 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.7555, allocations: 1.172 kB / 0.7424 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.7557, allocations: 35.88 kB / 0.7424 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.369e-05/0.7558, allocations: 24.11 kB / 0.7424 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.7558, allocations: 6.672 kB / 0.7424 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006219/0.7564, allocations: 1.397 MB / 0.7438 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7564, allocations: 1.188 kB / 0.7438 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.757, allocations: 452.3 kB / 0.7442 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.7571, allocations: 122.9 kB / 0.7444 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.7571, allocations: 3 kB / 0.7444 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.7573, allocations: 11.02 kB / 0.7444 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.7574, allocations: 22.62 kB / 0.7444 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.7574, allocations: 4.656 kB / 0.7444 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003349/0.7577, allocations: 307.3 kB / 0.7447 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.51e-07/0.7577, allocations: 0.7812 kB / 0.7447 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004706/0.7582, allocations: 105.8 kB / 0.7448 GB, free: 148.2 MB / 0.5762 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.0002739/0.7585, allocations: 196.6 kB / 0.745 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005505/0.7591, allocations: 269 kB / 0.7452 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7591, allocations: 3.938 kB / 0.7452 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.7594, allocations: 195.2 kB / 0.7454 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.7601, allocations: 100.3 kB / 0.7455 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.7615, allocations: 0.8281 MB / 0.7463 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.7619, allocations: 0.8163 MB / 0.7471 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.762, allocations: 59.55 kB / 0.7472 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.7621, allocations: 31.3 kB / 0.7472 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.7621, allocations: 4.719 kB / 0.7472 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01122/0.7734, allocations: 5.328 MB / 0.7524 GB, free: 143.8 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches