Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001312/0.001312, allocations: 113.9 kB / 17.61 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.001339/0.001339, allocations: 185.9 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.447/1.447, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6241/0.6241, allocations: 94.58 MB / 399.1 MB, free: 15.74 MB / 334.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-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.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_dev_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_dev_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 83.84 kB / 0.5448 GB, free: 12.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.386, allocations: 71.84 MB / 0.615 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.208/0.594, allocations: 142.1 MB / 0.7537 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005056/0.5991, allocations: 4.238 MB / 0.7579 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.5994, allocations: 19.88 kB / 0.7579 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006013/0.6, allocations: 155 kB / 0.758 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005635/0.6005, allocations: 222.7 kB / 0.7582 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.6009, allocations: 123.6 kB / 0.7584 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.6014, allocations: 406.2 kB / 0.7588 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.6015, allocations: 54.3 kB / 0.7588 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.6019, allocations: 207.1 kB / 0.759 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.6022, allocations: 171.2 kB / 0.7592 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.6022, allocations: 16 kB / 0.7592 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005007/0.6027, allocations: 275.5 kB / 0.7594 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.6028, allocations: 51.73 kB / 0.7595 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.6029, allocations: 139.2 kB / 0.7596 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005821/0.6035, allocations: 389.1 kB / 0.76 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6035, allocations: 4 kB / 0.76 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6035, allocations: 0 / 0.76 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.6035, allocations: 0 / 0.76 GB, free: 15.92 MB / 0.5919 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.0009629/0.6045, allocations: 0.6151 MB / 0.7606 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.6045, allocations: 8.031 kB / 0.7606 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.6046, allocations: 36.7 kB / 0.7606 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.6051, allocations: 379.5 kB / 0.761 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.6051, allocations: 16.75 kB / 0.761 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.6052, allocations: 16.38 kB / 0.761 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.6056, allocations: 233.7 kB / 0.7613 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6056, allocations: 0 / 0.7613 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.6056, allocations: 7.938 kB / 0.7613 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6056, allocations: 4 kB / 0.7613 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.6058, allocations: 131.9 kB / 0.7614 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.6069, allocations: 0.7771 MB / 0.7622 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.6072, allocations: 118.5 kB / 0.7623 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.6073, allocations: 60.83 kB / 0.7623 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.6076, allocations: 247.3 kB / 0.7626 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.6076, allocations: 30.56 kB / 0.7626 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.6076, allocations: 0 / 0.7626 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001778/0.6094, allocations: 0.9344 MB / 0.7635 GB, free: 12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.6094, allocations: 51.41 kB / 0.7636 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.6098, allocations: 341.7 kB / 0.7639 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.6099, allocations: 25.7 kB / 0.7639 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.61, allocations: 172.3 kB / 0.7641 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.6101, allocations: 59.47 kB / 0.7641 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.6101, allocations: 33.72 kB / 0.7642 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.6103, allocations: 346.8 kB / 0.7645 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.6104, allocations: 51.94 kB / 0.7645 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.6105, allocations: 65.69 kB / 0.7646 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.6107, allocations: 128 kB / 0.7647 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6107, allocations: 0 / 0.7647 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004908/0.6112, allocations: 273.9 kB / 0.765 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6112, allocations: 8 kB / 0.765 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6112, allocations: 0 / 0.765 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.6116, allocations: 92.78 kB / 0.7651 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.6117, allocations: 16 kB / 0.7651 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.614, allocations: 1.95 MB / 0.767 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.888e-05/0.6141, allocations: 3.938 kB / 0.767 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.6141, allocations: 12 kB / 0.767 GB, free: 8.195 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.0001601/0.6143, allocations: 149.8 kB / 0.7672 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.6143, allocations: 35.77 kB / 0.7672 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.6149, allocations: 291.2 kB / 0.7675 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6149, allocations: 0 / 0.7675 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/0.6149, allocations: 11.94 kB / 0.7675 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6149, allocations: 0 / 0.7675 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008878/0.6158, allocations: 0.6149 MB / 0.7681 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.6158, allocations: 11.92 kB / 0.7681 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.6158, allocations: 4 kB / 0.7681 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.6161, allocations: 92.86 kB / 0.7682 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.6161, allocations: 8 kB / 0.7682 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.6183, allocations: 1.958 MB / 0.7701 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6183, allocations: 0 / 0.7701 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.6189, allocations: 406.8 kB / 0.7705 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-05/0.619, allocations: 104.9 kB / 0.7706 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.619, allocations: 11.97 kB / 0.7706 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.6191, allocations: 4 kB / 0.7706 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.6192, allocations: 15.92 kB / 0.7706 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.6192, allocations: 12 kB / 0.7706 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003099/0.6195, allocations: 255.2 kB / 0.7709 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6195, allocations: 0 / 0.7709 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004221/0.6199, allocations: 75.88 kB / 0.7709 GB, free: 3.875 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.0002791/0.6202, allocations: 163.3 kB / 0.7711 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006534/0.6209, allocations: 298.4 kB / 0.7714 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6209, allocations: 4 kB / 0.7714 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.6213, allocations: 234.5 kB / 0.7716 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.6219, allocations: 103.8 kB / 0.7717 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.6232, allocations: 0.7232 MB / 0.7724 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.6236, allocations: 0.7832 MB / 0.7732 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.6238, allocations: 38.84 kB / 0.7732 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.6238, allocations: 31.44 kB / 0.7733 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of SimCode: time 6.42e-07/0.6238, allocations: 0 / 0.7733 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of Templates: time 0.01112/0.6349, allocations: 5.341 MB / 0.7785 GB, free: 12.11 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.802569766528904]