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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 212.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.778/0.778, allocations: 94.61 MB / 407 MB, free: 8.828 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 83.77 kB / 0.5554 GB, free: 37.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1361, allocations: 73.06 MB / 0.6268 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1708/0.3068, allocations: 126.8 MB / 0.7506 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3269/0.6337, allocations: 2.858 MB / 0.7534 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/0.6342, allocations: 39.16 kB / 0.7535 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008131/0.635, allocations: 219.5 kB / 0.7537 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.6362, allocations: 376.2 kB / 0.754 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.6375, allocations: 469.2 kB / 0.7545 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008274/0.6383, allocations: 0.6887 MB / 0.7551 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.6385, allocations: 83.48 kB / 0.7552 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.6397, allocations: 0.5034 MB / 0.7557 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.6401, allocations: 274.7 kB / 0.756 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.6402, allocations: 24.56 kB / 0.756 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009929/0.6412, allocations: 471.3 kB / 0.7564 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.6413, allocations: 74.36 kB / 0.7565 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.6415, allocations: 172.2 kB / 0.7567 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.6426, allocations: 0.6695 MB / 0.7573 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6426, allocations: 0 / 0.7573 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6426, allocations: 1.469 kB / 0.7573 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.6427, allocations: 0 / 0.7573 GB, free: 3.574 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.001416/0.6441, allocations: 0.7315 MB / 0.7581 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6441, allocations: 9.875 kB / 0.7581 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.741e-05/0.6442, allocations: 56.59 kB / 0.7581 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.645, allocations: 409.6 kB / 0.7585 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.6451, allocations: 22.47 kB / 0.7585 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.6451, allocations: 24.97 kB / 0.7586 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/0.6457, allocations: 329.2 kB / 0.7589 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6457, allocations: 0.7812 kB / 0.7589 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.6457, allocations: 10.91 kB / 0.7589 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6457, allocations: 9.062 kB / 0.7589 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.6461, allocations: 202.4 kB / 0.7591 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.6481, allocations: 1.349 MB / 0.7604 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.6485, allocations: 172.1 kB / 0.7606 GB, free: 17.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.6487, allocations: 64.02 kB / 0.7606 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.6491, allocations: 74.69 kB / 0.7607 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.6492, allocations: 41.91 kB / 0.7607 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.6492, allocations: 1.031 kB / 0.7607 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008075/0.65, allocations: 278.5 kB / 0.761 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.65, allocations: 106.5 kB / 0.7611 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.6504, allocations: 383.8 kB / 0.7615 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.6504, allocations: 26.8 kB / 0.7615 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.6506, allocations: 264.9 kB / 0.7617 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.6506, allocations: 58.75 kB / 0.7618 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.6507, allocations: 45.55 kB / 0.7618 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6508, allocations: 347.8 kB / 0.7622 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.651, allocations: 56.78 kB / 0.7622 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.6511, allocations: 117.5 kB / 0.7623 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.6514, allocations: 178.1 kB / 0.7625 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6514, allocations: 0.9375 kB / 0.7625 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000487/0.6519, allocations: 264.6 kB / 0.7628 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6519, allocations: 12.25 kB / 0.7628 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6519, allocations: 0 / 0.7628 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.6521, allocations: 24.08 kB / 0.7628 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.6523, allocations: 47.98 kB / 0.7628 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.6534, allocations: 1.26 MB / 0.7641 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.6535, allocations: 30.23 kB / 0.7641 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.6535, allocations: 12.19 kB / 0.7641 GB, free: 15.51 MB / 0.5919 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.0001698/0.6537, allocations: 151.6 kB / 0.7643 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.6538, allocations: 44.39 kB / 0.7643 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.6544, allocations: 248.7 kB / 0.7645 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6544, allocations: 3.828 kB / 0.7645 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.6544, allocations: 3.406 kB / 0.7645 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6544, allocations: 0.75 kB / 0.7645 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.6548, allocations: 269.1 kB / 0.7648 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6548, allocations: 0.6562 kB / 0.7648 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.655, allocations: 32.2 kB / 0.7648 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-05/0.655, allocations: 23.95 kB / 0.7649 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.6551, allocations: 8.781 kB / 0.7649 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009783/0.656, allocations: 1.271 MB / 0.7661 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.656, allocations: 0 / 0.7661 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000614/0.6567, allocations: 455.5 kB / 0.7665 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.6567, allocations: 37.69 kB / 0.7666 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.6568, allocations: 6.75 kB / 0.7666 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.6569, allocations: 9.359 kB / 0.7666 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.657, allocations: 18.27 kB / 0.7666 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.657, allocations: 7.219 kB / 0.7666 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002667/0.6573, allocations: 271.8 kB / 0.7669 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6573, allocations: 0 / 0.7669 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005071/0.6578, allocations: 103.8 kB / 0.767 GB, free: 13.61 MB / 0.5919 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.0003001/0.6581, allocations: 201.1 kB / 0.7672 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006095/0.6587, allocations: 261.9 kB / 0.7674 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6587, allocations: 0.9062 kB / 0.7674 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.6591, allocations: 184.7 kB / 0.7676 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.6596, allocations: 66.48 kB / 0.7677 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.6612, allocations: 0.8366 MB / 0.7685 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.6615, allocations: 208.9 kB / 0.7687 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001939/0.6617, allocations: 50.16 kB / 0.7687 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.6618, allocations: 30.91 kB / 0.7688 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.6618, allocations: 0.9375 kB / 0.7688 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of Templates: time 0.01131/0.6731, allocations: 4.909 MB / 0.7735 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.317546281963587]