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.001349/0.001349, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001545/0.001545, allocations: 210.8 kB / 22.24 MB, free: 5.242 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.781 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.73/0.73, allocations: 94.62 MB / 407 MB, free: 8.902 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.0026/0.0026, allocations: 86.83 kB / 0.5554 GB, free: 38.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1121, allocations: 73.06 MB / 0.6268 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1535/0.2656, allocations: 121.9 MB / 0.7458 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004844/0.2705, allocations: 3.838 MB / 0.7496 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.2708, allocations: 23.75 kB / 0.7496 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.2713, allocations: 143 kB / 0.7497 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.2718, allocations: 214.7 kB / 0.7499 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.2722, allocations: 127.6 kB / 0.7501 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.2727, allocations: 406.2 kB / 0.7504 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2728, allocations: 58.48 kB / 0.7505 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.2732, allocations: 207.1 kB / 0.7507 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.2735, allocations: 163.2 kB / 0.7509 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2735, allocations: 16 kB / 0.7509 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2775/0.5511, allocations: 226 kB / 0.7511 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.5512, allocations: 49.72 kB / 0.7511 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.5513, allocations: 110.9 kB / 0.7512 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006605/0.552, allocations: 392 kB / 0.7516 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.552, allocations: 2.609 kB / 0.7516 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.552, allocations: 0 / 0.7516 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.552, allocations: 0 / 0.7516 GB, free: 4.133 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.001006/0.553, allocations: 0.5407 MB / 0.7521 GB, free: 19.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.553, allocations: 10.12 kB / 0.7522 GB, free: 19.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.5531, allocations: 40.98 kB / 0.7522 GB, free: 19.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.5537, allocations: 304 kB / 0.7525 GB, free: 19.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5537, allocations: 12.72 kB / 0.7525 GB, free: 19.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.5537, allocations: 27.48 kB / 0.7525 GB, free: 19.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.5541, allocations: 232.8 kB / 0.7527 GB, free: 19.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5541, allocations: 2.328 kB / 0.7527 GB, free: 19.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.5541, allocations: 13.22 kB / 0.7528 GB, free: 19.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5542, allocations: 5.344 kB / 0.7528 GB, free: 19.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.5544, allocations: 134.7 kB / 0.7529 GB, free: 19.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5554, allocations: 0.6234 MB / 0.7535 GB, free: 19.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.5557, allocations: 125.4 kB / 0.7536 GB, free: 19.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.5558, allocations: 63.47 kB / 0.7537 GB, free: 19.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.43e-05/0.5559, allocations: 12.95 kB / 0.7537 GB, free: 19.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.556, allocations: 36.3 kB / 0.7537 GB, free: 19.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.556, allocations: 1.531 kB / 0.7537 GB, free: 19.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001392/0.5574, allocations: 0.6095 MB / 0.7543 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.5574, allocations: 58.5 kB / 0.7544 GB, free: 18.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.5577, allocations: 262.2 kB / 0.7546 GB, free: 18.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.5577, allocations: 28.89 kB / 0.7547 GB, free: 18.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.5578, allocations: 178.2 kB / 0.7548 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.5578, allocations: 61.88 kB / 0.7549 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.5579, allocations: 35.16 kB / 0.7549 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5581, allocations: 335.8 kB / 0.7552 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.5581, allocations: 53.97 kB / 0.7553 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.5582, allocations: 68.62 kB / 0.7554 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.5584, allocations: 122.2 kB / 0.7555 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5584, allocations: 0 / 0.7555 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004319/0.5588, allocations: 259.6 kB / 0.7557 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5589, allocations: 8.516 kB / 0.7557 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5589, allocations: 4.906 kB / 0.7557 GB, free: 18.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.5592, allocations: 94.03 kB / 0.7558 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.5592, allocations: 17.86 kB / 0.7558 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.5612, allocations: 1.806 MB / 0.7576 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.573e-05/0.5613, allocations: 2.812 kB / 0.7576 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.5613, allocations: 7.344 kB / 0.7576 GB, free: 16.91 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.000164/0.5615, allocations: 147.2 kB / 0.7578 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.5615, allocations: 28.84 kB / 0.7578 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.562, allocations: 272.3 kB / 0.758 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.562, allocations: 1.406 kB / 0.758 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.562, allocations: 2.875 kB / 0.758 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.562, allocations: 0.875 kB / 0.758 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.5628, allocations: 0.5421 MB / 0.7586 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5628, allocations: 1 kB / 0.7586 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.5628, allocations: 10.7 kB / 0.7586 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/0.5631, allocations: 98.34 kB / 0.7587 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.5631, allocations: 10.62 kB / 0.7587 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.5649, allocations: 1.805 MB / 0.7605 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5649, allocations: 1.969 kB / 0.7605 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.5654, allocations: 411.9 kB / 0.7608 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.5654, allocations: 24.69 kB / 0.7609 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.5655, allocations: 8.125 kB / 0.7609 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.5656, allocations: 6.781 kB / 0.7609 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.5656, allocations: 20.59 kB / 0.7609 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.5656, allocations: 7.656 kB / 0.7609 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001669/0.5658, allocations: 199.5 kB / 0.7611 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5658, allocations: 4.656 kB / 0.7611 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004063/0.5662, allocations: 66.16 kB / 0.7612 GB, free: 14.94 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.0002352/0.5664, allocations: 167.8 kB / 0.7613 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.567, allocations: 291.6 kB / 0.7616 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.567, allocations: 3.875 kB / 0.7616 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.5673, allocations: 247.1 kB / 0.7618 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.5677, allocations: 31.03 kB / 0.7619 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.5688, allocations: 0.7147 MB / 0.7626 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.5689, allocations: 177.5 kB / 0.7627 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.76e-05/0.569, allocations: 26.44 kB / 0.7628 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.569, allocations: 19.17 kB / 0.7628 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.569, allocations: 0.8125 kB / 0.7628 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of Templates: time 0.009203/0.5782, allocations: 4.221 MB / 0.7669 GB, free: 13.91 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.705793643370271]