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.001932/0.001932, allocations: 106.8 kB / 16.41 MB, free: 6.5 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.001904/0.001904, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7219/0.7219, allocations: 91.19 MB / 382.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 75.88 kB / 0.5175 GB, free: 4.109 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3308, allocations: 67.69 MB / 0.5836 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.15/0.4808, allocations: 146.9 MB / 0.7271 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003666/0.4845, allocations: 3.147 MB / 0.7301 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/0.485, allocations: 27.81 kB / 0.7302 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007773/0.4859, allocations: 242.3 kB / 0.7304 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.4869, allocations: 373.6 kB / 0.7308 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.488, allocations: 446.4 kB / 0.7312 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008756/0.4889, allocations: 0.6807 MB / 0.7318 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.4892, allocations: 133.1 kB / 0.732 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.4903, allocations: 0.4939 MB / 0.7325 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.4907, allocations: 290.8 kB / 0.7327 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.4908, allocations: 24 kB / 0.7328 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.4918, allocations: 0.5497 MB / 0.7333 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.4919, allocations: 79.56 kB / 0.7334 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.4922, allocations: 214.7 kB / 0.7336 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.4932, allocations: 0.683 MB / 0.7342 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.4932, allocations: 4 kB / 0.7342 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4932, allocations: 3.938 kB / 0.7342 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.4933, allocations: 0 / 0.7342 GB, free: 3.301 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.001186/0.4945, allocations: 0.7864 MB / 0.735 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4945, allocations: 8.031 kB / 0.735 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.4946, allocations: 56.28 kB / 0.7351 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.4953, allocations: 477.5 kB / 0.7355 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.4953, allocations: 20.94 kB / 0.7355 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.4953, allocations: 28.38 kB / 0.7356 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.4959, allocations: 324.6 kB / 0.7359 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4959, allocations: 0 / 0.7359 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.4959, allocations: 12 kB / 0.7359 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.4959, allocations: 8 kB / 0.7359 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.4963, allocations: 191.8 kB / 0.7361 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2536/0.7499, allocations: 1.779 MB / 0.7378 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.7504, allocations: 172.8 kB / 0.738 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.7506, allocations: 72.52 kB / 0.7381 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/0.7511, allocations: 0.5246 MB / 0.7386 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.7512, allocations: 37.2 kB / 0.7386 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.993e-06/0.7512, allocations: 0 / 0.7386 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008902/0.7521, allocations: 353.7 kB / 0.7389 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.7521, allocations: 109.7 kB / 0.739 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004828/0.7526, allocations: 439.5 kB / 0.7395 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.7526, allocations: 30.95 kB / 0.7395 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.7528, allocations: 247.6 kB / 0.7397 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.7528, allocations: 60.61 kB / 0.7398 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.7529, allocations: 40.8 kB / 0.7398 GB, free: 153 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.753, allocations: 360 kB / 0.7402 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.7531, allocations: 60.06 kB / 0.7402 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.7533, allocations: 111 kB / 0.7403 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.7536, allocations: 177.3 kB / 0.7405 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7537, allocations: 4 kB / 0.7405 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005081/0.7542, allocations: 259.5 kB / 0.7408 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7542, allocations: 9.719 kB / 0.7408 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.7542, allocations: 1.25 kB / 0.7408 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.7544, allocations: 28.03 kB / 0.7408 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.7546, allocations: 48.2 kB / 0.7408 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007134/0.7553, allocations: 1.386 MB / 0.7422 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.7555, allocations: 34.62 kB / 0.7422 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.7555, allocations: 7.75 kB / 0.7422 GB, free: 150.9 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.0001309/0.7556, allocations: 159.8 kB / 0.7424 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.7557, allocations: 46.88 kB / 0.7424 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.7563, allocations: 252.4 kB / 0.7427 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.7563, allocations: 2.406 kB / 0.7427 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7563, allocations: 1.562 kB / 0.7427 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.7563, allocations: 8.266 kB / 0.7427 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.7568, allocations: 352.9 kB / 0.743 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.7568, allocations: 0.9062 kB / 0.743 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.757, allocations: 32.2 kB / 0.7431 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.509e-05/0.7571, allocations: 27.42 kB / 0.7431 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.7571, allocations: 4.156 kB / 0.7431 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006387/0.7577, allocations: 1.398 MB / 0.7444 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7577, allocations: 1.125 kB / 0.7444 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.7584, allocations: 458.4 kB / 0.7449 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.7584, allocations: 113.9 kB / 0.745 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.7585, allocations: 6.547 kB / 0.745 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.7587, allocations: 7.781 kB / 0.745 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.7587, allocations: 27.77 kB / 0.745 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.7588, allocations: 4.703 kB / 0.745 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003346/0.7591, allocations: 312.3 kB / 0.7453 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7591, allocations: 0.875 kB / 0.7453 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004748/0.7596, allocations: 95.19 kB / 0.7454 GB, free: 148.4 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.0002763/0.7599, allocations: 201.4 kB / 0.7456 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005768/0.7605, allocations: 273.2 kB / 0.7459 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7605, allocations: 0.6562 kB / 0.7459 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.7608, allocations: 195.2 kB / 0.7461 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000719/0.7615, allocations: 101 kB / 0.7462 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.763, allocations: 0.8603 MB / 0.747 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.7633, allocations: 0.8129 MB / 0.7478 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.7634, allocations: 41.86 kB / 0.7478 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.7634, allocations: 0.5 kB / 0.7478 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01089/0.7743, allocations: 7.769 MB / 0.7554 GB, free: 141.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches