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.001242/0.001246, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 197.7 kB / 16.79 MB, free: 6.828 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6284/0.6284, allocations: 89.51 MB / 380.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 82.06 kB / 458.2 MB, free: 23.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.101, allocations: 67.31 MB / 0.5132 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3399/0.4409, allocations: 144.8 MB / 0.6546 GB, free: 9.195 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.4441, allocations: 3.136 MB / 0.6577 GB, free: 6.637 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.4443, allocations: 9.906 kB / 0.6577 GB, free: 6.633 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.4449, allocations: 194 kB / 0.6579 GB, free: 6.477 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005623/0.4455, allocations: 309.3 kB / 0.6582 GB, free: 6.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006967/0.4462, allocations: 414.5 kB / 0.6586 GB, free: 5.926 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.4467, allocations: 0.6988 MB / 0.6593 GB, free: 5.531 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.4469, allocations: 119.9 kB / 0.6594 GB, free: 5.469 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.4476, allocations: 411.3 kB / 0.6598 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.4479, allocations: 268.6 kB / 0.66 GB, free: 5.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.448, allocations: 20.09 kB / 0.6601 GB, free: 5.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000792/0.4488, allocations: 0.5532 MB / 0.6606 GB, free: 4.797 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.4488, allocations: 55.53 kB / 0.6607 GB, free: 4.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.449, allocations: 182.6 kB / 0.6608 GB, free: 4.637 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.4494, allocations: 412 kB / 0.6612 GB, free: 4.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4494, allocations: 0 / 0.6612 GB, free: 4.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.4494, allocations: 0 / 0.6612 GB, free: 4.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.4494, allocations: 4 kB / 0.6612 GB, free: 4.379 MB / 478.1 MB 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.0009447/0.4504, allocations: 0.6833 MB / 0.6619 GB, free: 3.777 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.4504, allocations: 9.656 kB / 0.6619 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.4505, allocations: 45.22 kB / 0.6619 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.4508, allocations: 294.7 kB / 0.6622 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4508, allocations: 18.66 kB / 0.6622 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.4509, allocations: 30.19 kB / 0.6623 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.4514, allocations: 327.4 kB / 0.6626 GB, free: 3.199 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4514, allocations: 3.938 kB / 0.6626 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.4514, allocations: 12.41 kB / 0.6626 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.4514, allocations: 9.688 kB / 0.6626 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.4518, allocations: 195.5 kB / 0.6628 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.4534, allocations: 1.74 MB / 0.6645 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.4538, allocations: 174 kB / 0.6647 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.454, allocations: 73.19 kB / 0.6647 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.4546, allocations: 0.5213 MB / 0.6652 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.4546, allocations: 41.19 kB / 0.6653 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.4546, allocations: 0 / 0.6653 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.000793/0.4554, allocations: 341 kB / 0.6656 GB, free: 356 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.4555, allocations: 109 kB / 0.6657 GB, free: 224 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.4558, allocations: 324 kB / 0.666 GB, free: 12 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.4558, allocations: 31.52 kB / 0.666 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.456, allocations: 206.4 kB / 0.6662 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.456, allocations: 50.61 kB / 0.6663 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.4561, allocations: 41.05 kB / 0.6663 GB, free: 15.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4562, allocations: 345.7 kB / 0.6667 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.4564, allocations: 58.45 kB / 0.6667 GB, free: 15.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.4565, allocations: 110 kB / 0.6668 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.4568, allocations: 170.8 kB / 0.667 GB, free: 15.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4569, allocations: 4 kB / 0.667 GB, free: 15.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004723/0.4573, allocations: 263.7 kB / 0.6672 GB, free: 14.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4574, allocations: 5.375 kB / 0.6672 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4574, allocations: 2.469 kB / 0.6672 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.4575, allocations: 22.94 kB / 0.6673 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.4577, allocations: 45.05 kB / 0.6673 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008868/0.4586, allocations: 1.296 MB / 0.6686 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.4588, allocations: 34 kB / 0.6686 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.4588, allocations: 15.45 kB / 0.6686 GB, free: 13.58 MB / 494.1 MB 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.0001272/0.4589, allocations: 138 kB / 0.6688 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.459, allocations: 30.97 kB / 0.6688 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.4596, allocations: 255 kB / 0.669 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4596, allocations: 3.188 kB / 0.669 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4596, allocations: 0 / 0.669 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4596, allocations: 0 / 0.669 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.46, allocations: 309.9 kB / 0.6693 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.46, allocations: 0 / 0.6693 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.4602, allocations: 44.27 kB / 0.6694 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.014e-05/0.4603, allocations: 22.89 kB / 0.6694 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.4603, allocations: 7.938 kB / 0.6694 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008266/0.4611, allocations: 1.293 MB / 0.6707 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4611, allocations: 0 / 0.6707 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.4617, allocations: 439.8 kB / 0.6711 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.4618, allocations: 112.5 kB / 0.6712 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.4619, allocations: 2.5 kB / 0.6712 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.462, allocations: 13.19 kB / 0.6712 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.4621, allocations: 18.98 kB / 0.6712 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.4621, allocations: 13.77 kB / 0.6712 GB, free: 11.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.4623, allocations: 232.3 kB / 0.6715 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4623, allocations: 0 / 0.6715 GB, free: 10.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004212/0.4628, allocations: 93.14 kB / 0.6715 GB, free: 10.93 MB / 494.1 MB 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.0002541/0.463, allocations: 198.9 kB / 0.6717 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005309/0.4636, allocations: 270.6 kB / 0.672 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4636, allocations: 0 / 0.672 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.4639, allocations: 185.2 kB / 0.6722 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.4647, allocations: 103.2 kB / 0.6723 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4658, allocations: 0.843 MB / 0.6731 GB, free: 9.762 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4662, allocations: 0.7747 MB / 0.6738 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.4662, allocations: 32.28 kB / 0.6739 GB, free: 9.008 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4662, allocations: 3.938 kB / 0.6739 GB, free: 9.004 MB / 494.1 MB Notification: Performance of Templates: time 0.008067/0.4743, allocations: 6.264 MB / 0.68 GB, free: 5.691 MB / 494.1 MB 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