Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6215/0.6215, allocations: 90.3 MB / 394.8 MB, free: 3.836 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 79.88 kB / 0.5386 GB, free: 1.605 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4178, allocations: 70.83 MB / 0.6078 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1812/0.599, allocations: 142 MB / 0.7464 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.6038, allocations: 4.188 MB / 0.7505 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.604, allocations: 7.938 kB / 0.7505 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.6046, allocations: 147.1 kB / 0.7507 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.605, allocations: 178.9 kB / 0.7509 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.6054, allocations: 123.6 kB / 0.751 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.6057, allocations: 306.5 kB / 0.7513 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.6059, allocations: 60.61 kB / 0.7513 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.6062, allocations: 147.5 kB / 0.7515 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.6064, allocations: 163.4 kB / 0.7516 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.6065, allocations: 20 kB / 0.7516 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.607, allocations: 271.5 kB / 0.7519 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.607, allocations: 43.84 kB / 0.7519 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.6071, allocations: 111.5 kB / 0.752 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.6076, allocations: 306.6 kB / 0.7523 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6076, allocations: 4 kB / 0.7523 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6076, allocations: 0 / 0.7523 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.6076, allocations: 0 / 0.7523 GB, free: 6.84 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008501/0.6085, allocations: 0.5182 MB / 0.7528 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6085, allocations: 15.97 kB / 0.7529 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.6086, allocations: 24.8 kB / 0.7529 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.6088, allocations: 248.7 kB / 0.7531 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.6088, allocations: 12.75 kB / 0.7531 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.6089, allocations: 24.38 kB / 0.7532 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.6093, allocations: 229.7 kB / 0.7534 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6093, allocations: 0 / 0.7534 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.6093, allocations: 12 kB / 0.7534 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6093, allocations: 4 kB / 0.7534 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.6096, allocations: 127.9 kB / 0.7535 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.6106, allocations: 0.7342 MB / 0.7542 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.6109, allocations: 127.2 kB / 0.7544 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.6111, allocations: 56.84 kB / 0.7544 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.6113, allocations: 251.3 kB / 0.7546 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.6113, allocations: 30.56 kB / 0.7547 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.6113, allocations: 0 / 0.7547 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001617/0.6129, allocations: 0.8837 MB / 0.7555 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.613, allocations: 67.39 kB / 0.7556 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.6132, allocations: 225 kB / 0.7558 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.6132, allocations: 33.7 kB / 0.7558 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.6133, allocations: 132.3 kB / 0.756 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.168e-05/0.6134, allocations: 59.47 kB / 0.756 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.6135, allocations: 33.72 kB / 0.7561 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6136, allocations: 330.8 kB / 0.7564 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.6137, allocations: 43.98 kB / 0.7564 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.6138, allocations: 73.69 kB / 0.7565 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.614, allocations: 136.2 kB / 0.7566 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.614, allocations: 0 / 0.7566 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004664/0.6145, allocations: 258 kB / 0.7569 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6145, allocations: 9.406 kB / 0.7569 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6145, allocations: 0 / 0.7569 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.6149, allocations: 88.73 kB / 0.757 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.6149, allocations: 23.98 kB / 0.757 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.6173, allocations: 1.946 MB / 0.7589 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.6174, allocations: 7.938 kB / 0.7589 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.6174, allocations: 4 kB / 0.7589 GB, free: 15.56 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * 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 {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.6176, allocations: 153.7 kB / 0.759 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.6177, allocations: 27.8 kB / 0.7591 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.6182, allocations: 274.5 kB / 0.7593 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6182, allocations: 4 kB / 0.7593 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6182, allocations: 11.88 kB / 0.7593 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.6182, allocations: 3.984 kB / 0.7594 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008262/0.619, allocations: 0.5756 MB / 0.7599 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6191, allocations: 0 / 0.7599 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.6191, allocations: 8 kB / 0.7599 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/0.6194, allocations: 100.8 kB / 0.76 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.6194, allocations: 3.984 kB / 0.76 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.6216, allocations: 1.966 MB / 0.7619 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6216, allocations: 11.94 kB / 0.762 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005737/0.6222, allocations: 386.5 kB / 0.7623 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.6222, allocations: 101 kB / 0.7624 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.6223, allocations: 11.94 kB / 0.7624 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.6224, allocations: 0 / 0.7624 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.6224, allocations: 15.98 kB / 0.7624 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.6224, allocations: 3.984 kB / 0.7624 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002015/0.6226, allocations: 188.5 kB / 0.7626 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6226, allocations: 3.938 kB / 0.7626 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003844/0.623, allocations: 68 kB / 0.7627 GB, free: 11.39 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * 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 (5): * Single equations (assignments): 4 * 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 {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002732/0.6233, allocations: 163.3 kB / 0.7629 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006364/0.6239, allocations: 290.4 kB / 0.7631 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6239, allocations: 0 / 0.7631 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.6244, allocations: 242.5 kB / 0.7634 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.625, allocations: 92.55 kB / 0.7634 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.6261, allocations: 0.6227 MB / 0.7641 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.6265, allocations: 0.7519 MB / 0.7648 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.997e-05/0.6266, allocations: 22.23 kB / 0.7648 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.6266, allocations: 19.42 kB / 0.7648 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.6266, allocations: 0 / 0.7648 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of Templates: time 0.01018/0.6368, allocations: 5.107 MB / 0.7698 GB, free: 4.035 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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: 5.939988878555596]