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.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.001625/0.001625, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001834/0.001834, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.7284/0.7284, allocations: 94.63 MB / 407.8 MB, free: 8.852 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.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: 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.00257/0.00257, allocations: 87.2 kB / 0.5562 GB, free: 38.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1125, allocations: 73.06 MB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1539/0.2664, allocations: 121.9 MB / 0.7466 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005259/0.2716, allocations: 3.849 MB / 0.7503 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.272, allocations: 19.81 kB / 0.7503 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.2726, allocations: 135.1 kB / 0.7505 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006798/0.2733, allocations: 218.6 kB / 0.7507 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.2737, allocations: 119.6 kB / 0.7508 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000601/0.2743, allocations: 414.1 kB / 0.7512 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2745, allocations: 66.47 kB / 0.7512 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.275, allocations: 195.2 kB / 0.7514 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.2754, allocations: 167.2 kB / 0.7516 GB, free: 108 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.2754, allocations: 20 kB / 0.7516 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2968/0.5722, allocations: 221.4 kB / 0.7518 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.5723, allocations: 56.03 kB / 0.7519 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.5726, allocations: 112.8 kB / 0.752 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008609/0.5734, allocations: 387.8 kB / 0.7524 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5734, allocations: 1.188 kB / 0.7524 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5734, allocations: 1.094 kB / 0.7524 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.5735, allocations: 0 / 0.7524 GB, free: 4.113 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.001214/0.5747, allocations: 0.5417 MB / 0.7529 GB, free: 19.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5747, allocations: 10.38 kB / 0.7529 GB, free: 19.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.782e-05/0.5748, allocations: 39.16 kB / 0.7529 GB, free: 19.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.5754, allocations: 304.5 kB / 0.7532 GB, free: 19.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.5754, allocations: 16.97 kB / 0.7532 GB, free: 19.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.5754, allocations: 23.8 kB / 0.7533 GB, free: 19.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.5758, allocations: 232.5 kB / 0.7535 GB, free: 19.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5758, allocations: 3.562 kB / 0.7535 GB, free: 19.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.5758, allocations: 7.312 kB / 0.7535 GB, free: 19.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5759, allocations: 5.859 kB / 0.7535 GB, free: 19.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.5761, allocations: 133.1 kB / 0.7536 GB, free: 19.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.5772, allocations: 0.6245 MB / 0.7542 GB, free: 19.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.5775, allocations: 128.8 kB / 0.7544 GB, free: 19.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5776, allocations: 62.2 kB / 0.7544 GB, free: 19.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.365e-05/0.5777, allocations: 16.14 kB / 0.7544 GB, free: 19.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.5777, allocations: 32.83 kB / 0.7545 GB, free: 19.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.5777, allocations: 0.6562 kB / 0.7545 GB, free: 19.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.00141/0.5792, allocations: 0.6082 MB / 0.7551 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.5792, allocations: 62.19 kB / 0.7551 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.5795, allocations: 258.2 kB / 0.7554 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.5795, allocations: 29.94 kB / 0.7554 GB, free: 18.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5796, allocations: 177.9 kB / 0.7556 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.5796, allocations: 59.42 kB / 0.7556 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.5797, allocations: 33.61 kB / 0.7557 GB, free: 18.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5798, allocations: 340.4 kB / 0.756 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.5799, allocations: 46.89 kB / 0.756 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.829e-05/0.58, allocations: 66.08 kB / 0.7561 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.5802, allocations: 124.9 kB / 0.7562 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5802, allocations: 1 kB / 0.7562 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004216/0.5806, allocations: 261.6 kB / 0.7565 GB, free: 18.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5806, allocations: 8.484 kB / 0.7565 GB, free: 18.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5806, allocations: 7.094 kB / 0.7565 GB, free: 18.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.5809, allocations: 97.81 kB / 0.7566 GB, free: 18.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.581, allocations: 17.69 kB / 0.7566 GB, free: 18.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.583, allocations: 1.805 MB / 0.7583 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.884e-05/0.5831, allocations: 5.781 kB / 0.7583 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.5831, allocations: 3.5 kB / 0.7583 GB, free: 16.89 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.0001687/0.5833, allocations: 150.6 kB / 0.7585 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.5834, allocations: 28.91 kB / 0.7585 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.5838, allocations: 277.5 kB / 0.7588 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5838, allocations: 2.375 kB / 0.7588 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5838, allocations: 1.906 kB / 0.7588 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5838, allocations: 0.9688 kB / 0.7588 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007237/0.5845, allocations: 0.5301 MB / 0.7593 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5846, allocations: 1.219 kB / 0.7593 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.5846, allocations: 11.56 kB / 0.7593 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.5849, allocations: 103.5 kB / 0.7594 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.5849, allocations: 11.66 kB / 0.7594 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.5867, allocations: 1.809 MB / 0.7612 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5867, allocations: 2.375 kB / 0.7612 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.5872, allocations: 407.5 kB / 0.7616 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.5872, allocations: 25.22 kB / 0.7616 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.5873, allocations: 6.75 kB / 0.7616 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.5874, allocations: 1.875 kB / 0.7616 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.5874, allocations: 26.86 kB / 0.7616 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.5874, allocations: 4.75 kB / 0.7616 GB, free: 15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001687/0.5876, allocations: 196.8 kB / 0.7618 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5876, allocations: 0 / 0.7618 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003766/0.588, allocations: 72.97 kB / 0.7619 GB, free: 14.92 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.000233/0.5882, allocations: 170.8 kB / 0.7621 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000528/0.5887, allocations: 293 kB / 0.7623 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5887, allocations: 0 / 0.7623 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.5891, allocations: 240.7 kB / 0.7626 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.5895, allocations: 35.19 kB / 0.7626 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.5905, allocations: 0.7414 MB / 0.7633 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.5907, allocations: 175.7 kB / 0.7635 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.5907, allocations: 23.27 kB / 0.7635 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5907, allocations: 0 / 0.7635 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of Templates: time 0.008069/0.5988, allocations: 5.377 MB / 0.7688 GB, free: 13.84 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/jenkins1/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: 8.50896616699174]