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.001053/0.001053, allocations: 115.2 kB / 16.37 MB, free: 6 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.001005/0.001005, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6505/0.6505, allocations: 89.5 MB / 380.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 79.86 kB / 459.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1126, allocations: 67.31 MB / 0.5146 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3325/0.4452, allocations: 146.7 MB / 0.6579 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003259/0.4484, allocations: 3.101 MB / 0.661 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.4487, allocations: 11.94 kB / 0.661 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.4494, allocations: 226.5 kB / 0.6612 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007012/0.4501, allocations: 329.9 kB / 0.6615 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009055/0.451, allocations: 446.3 kB / 0.6619 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.4516, allocations: 0.5799 MB / 0.6625 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.4518, allocations: 124.9 kB / 0.6626 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007921/0.4526, allocations: 434.2 kB / 0.663 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.4529, allocations: 271 kB / 0.6633 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.4529, allocations: 24 kB / 0.6633 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009029/0.4538, allocations: 0.5458 MB / 0.6638 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.4539, allocations: 75.69 kB / 0.6639 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.4541, allocations: 176.8 kB / 0.6641 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007015/0.4548, allocations: 0.5819 MB / 0.6647 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4548, allocations: 0 / 0.6647 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4548, allocations: 0 / 0.6647 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4548, allocations: 0 / 0.6647 GB, free: 13.66 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.0009636/0.4558, allocations: 0.6898 MB / 0.6653 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4558, allocations: 8.031 kB / 0.6653 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.4559, allocations: 40.47 kB / 0.6654 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.4562, allocations: 295.4 kB / 0.6657 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4562, allocations: 20.94 kB / 0.6657 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.4563, allocations: 28.38 kB / 0.6657 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.4568, allocations: 328.8 kB / 0.666 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4568, allocations: 2.438 kB / 0.666 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.4568, allocations: 12 kB / 0.666 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4568, allocations: 8.625 kB / 0.666 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.4572, allocations: 191.8 kB / 0.6662 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.4589, allocations: 1.743 MB / 0.6679 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.4594, allocations: 170.3 kB / 0.6681 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4596, allocations: 74.64 kB / 0.6682 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/0.4602, allocations: 0.522 MB / 0.6687 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.4602, allocations: 38.5 kB / 0.6687 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.4603, allocations: 0 / 0.6687 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0008237/0.4611, allocations: 343.6 kB / 0.669 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.4612, allocations: 110.8 kB / 0.6691 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.4615, allocations: 325.7 kB / 0.6694 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.4615, allocations: 29.7 kB / 0.6695 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.4616, allocations: 204 kB / 0.6697 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.4617, allocations: 47.27 kB / 0.6697 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.4618, allocations: 45.7 kB / 0.6698 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4619, allocations: 346.8 kB / 0.6701 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.462, allocations: 55.97 kB / 0.6701 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.4622, allocations: 110.4 kB / 0.6702 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.4625, allocations: 167.7 kB / 0.6704 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4625, allocations: 4 kB / 0.6704 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004714/0.463, allocations: 267.8 kB / 0.6707 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4631, allocations: 9.906 kB / 0.6707 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4631, allocations: 4 kB / 0.6707 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.4632, allocations: 28.97 kB / 0.6707 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.4634, allocations: 47.91 kB / 0.6708 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000965/0.4644, allocations: 1.384 MB / 0.6721 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.4646, allocations: 31.72 kB / 0.6721 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.4646, allocations: 8 kB / 0.6721 GB, free: 5.297 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.0001635/0.4648, allocations: 137.8 kB / 0.6723 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.4649, allocations: 41.44 kB / 0.6723 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.4654, allocations: 250.2 kB / 0.6726 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4654, allocations: 0 / 0.6726 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4654, allocations: 4 kB / 0.6726 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4654, allocations: 0.875 kB / 0.6726 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.4658, allocations: 309.5 kB / 0.6729 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4659, allocations: 3.938 kB / 0.6729 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.466, allocations: 35.97 kB / 0.6729 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/0.4661, allocations: 24.78 kB / 0.6729 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4661, allocations: 4 kB / 0.6729 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008564/0.467, allocations: 1.391 MB / 0.6743 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.467, allocations: 0 / 0.6743 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.4676, allocations: 448.1 kB / 0.6747 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.4677, allocations: 107.5 kB / 0.6748 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.4677, allocations: 8 kB / 0.6748 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.4679, allocations: 15.97 kB / 0.6748 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.468, allocations: 15.92 kB / 0.6748 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.468, allocations: 8.75 kB / 0.6749 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000213/0.4682, allocations: 235.2 kB / 0.6751 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4682, allocations: 0 / 0.6751 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004501/0.4687, allocations: 95.83 kB / 0.6752 GB, free: 1.957 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.0002982/0.469, allocations: 195.6 kB / 0.6754 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005477/0.4695, allocations: 266.5 kB / 0.6756 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4695, allocations: 0 / 0.6756 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.4698, allocations: 191.7 kB / 0.6758 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006781/0.4705, allocations: 93.64 kB / 0.6759 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.4717, allocations: 0.7027 MB / 0.6766 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.472, allocations: 0.7791 MB / 0.6773 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001282/0.4721, allocations: 47.47 kB / 0.6774 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.4722, allocations: 23.44 kB / 0.6774 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.4722, allocations: 0 / 0.6774 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.009024/0.4812, allocations: 5.011 MB / 0.6823 GB, free: 10.77 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 -s cvode -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