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.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.001576/0.001576, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001791/0.001791, allocations: 215.7 kB / 22.25 MB, free: 4.852 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.405/1.405, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7573/0.7573, allocations: 100.9 MB / 413.3 MB, free: 2.855 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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: 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.002416/0.002416, allocations: 92.53 kB / 0.5645 GB, free: 35.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1231, allocations: 74.61 MB / 0.6374 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.4719/0.595, allocations: 121.9 MB / 0.7565 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004514/0.5995, allocations: 3.852 MB / 0.7602 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004647/0.6, allocations: 25.25 kB / 0.7602 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.6007, allocations: 138.5 kB / 0.7604 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.6013, allocations: 215.7 kB / 0.7606 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.6018, allocations: 125.5 kB / 0.7607 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.6023, allocations: 403.9 kB / 0.7611 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.6025, allocations: 62.27 kB / 0.7611 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.6031, allocations: 203.8 kB / 0.7613 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.6034, allocations: 166 kB / 0.7615 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.6034, allocations: 18.19 kB / 0.7615 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.604, allocations: 232.8 kB / 0.7617 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.604, allocations: 48 kB / 0.7618 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.6042, allocations: 113.5 kB / 0.7619 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.6055, allocations: 385.2 kB / 0.7623 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.6055, allocations: 2.438 kB / 0.7623 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6055, allocations: 1.875 kB / 0.7623 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.6055, allocations: 0.9375 kB / 0.7623 GB, free: 3.461 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.00188/0.6074, allocations: 0.54 MB / 0.7628 GB, free: 19.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6074, allocations: 10.53 kB / 0.7628 GB, free: 19.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.6075, allocations: 42.14 kB / 0.7628 GB, free: 19.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.6082, allocations: 309 kB / 0.7631 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.6083, allocations: 11.41 kB / 0.7631 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.6083, allocations: 20.59 kB / 0.7632 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.6088, allocations: 234.4 kB / 0.7634 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6088, allocations: 3.969 kB / 0.7634 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.6089, allocations: 9.281 kB / 0.7634 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.6089, allocations: 5.312 kB / 0.7634 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.6091, allocations: 131.6 kB / 0.7635 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.6104, allocations: 0.6279 MB / 0.7641 GB, free: 18.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.6107, allocations: 133.9 kB / 0.7643 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.6109, allocations: 61.38 kB / 0.7643 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.611, allocations: 15.59 kB / 0.7643 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.611, allocations: 35.83 kB / 0.7644 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.611, allocations: 0.9688 kB / 0.7644 GB, free: 18.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.001602/0.6126, allocations: 0.6088 MB / 0.765 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.6127, allocations: 56.55 kB / 0.765 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.6129, allocations: 258.7 kB / 0.7653 GB, free: 18.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.613, allocations: 27.08 kB / 0.7653 GB, free: 18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6131, allocations: 181.5 kB / 0.7655 GB, free: 17.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.6132, allocations: 59.77 kB / 0.7655 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.6132, allocations: 35.48 kB / 0.7656 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6134, allocations: 338.8 kB / 0.7659 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.6135, allocations: 46.53 kB / 0.7659 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-05/0.6135, allocations: 70.81 kB / 0.766 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.6137, allocations: 122.3 kB / 0.7661 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6137, allocations: 0.75 kB / 0.7661 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004576/0.6142, allocations: 263.9 kB / 0.7664 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6142, allocations: 7.531 kB / 0.7664 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6142, allocations: 5.312 kB / 0.7664 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/0.6145, allocations: 90.42 kB / 0.7665 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.6146, allocations: 22.52 kB / 0.7665 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.6168, allocations: 1.803 MB / 0.7682 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.6169, allocations: 5.781 kB / 0.7683 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.6169, allocations: 9.312 kB / 0.7683 GB, free: 16.22 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.0001803/0.6171, allocations: 153.9 kB / 0.7684 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.6171, allocations: 24.48 kB / 0.7684 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.6177, allocations: 278 kB / 0.7687 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.6177, allocations: 1.938 kB / 0.7687 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6177, allocations: 1.906 kB / 0.7687 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6177, allocations: 3.047 kB / 0.7687 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.6185, allocations: 0.5359 MB / 0.7692 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6185, allocations: 0.7812 kB / 0.7692 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.6186, allocations: 8.625 kB / 0.7692 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.6188, allocations: 105.8 kB / 0.7693 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.6189, allocations: 11.41 kB / 0.7693 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.621, allocations: 1.803 MB / 0.7711 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.621, allocations: 1.062 kB / 0.7711 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.6216, allocations: 401.7 kB / 0.7715 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.6217, allocations: 28.2 kB / 0.7715 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.6217, allocations: 3.438 kB / 0.7715 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.6218, allocations: 4.531 kB / 0.7715 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.6219, allocations: 25.3 kB / 0.7716 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.6219, allocations: 5.625 kB / 0.7716 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002125/0.6221, allocations: 194.3 kB / 0.7717 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6221, allocations: 2.969 kB / 0.7717 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004699/0.6226, allocations: 75.81 kB / 0.7718 GB, free: 14.23 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.0002982/0.6229, allocations: 169.7 kB / 0.772 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006198/0.6235, allocations: 295.4 kB / 0.7723 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6235, allocations: 1.594 kB / 0.7723 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.6239, allocations: 235.5 kB / 0.7725 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.6244, allocations: 43.23 kB / 0.7725 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.6259, allocations: 0.7208 MB / 0.7732 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.6262, allocations: 178.1 kB / 0.7734 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.6263, allocations: 31.58 kB / 0.7734 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.6264, allocations: 19.62 kB / 0.7734 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.6264, allocations: 0.8125 kB / 0.7735 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.01026/0.6367, allocations: 4.205 MB / 0.7776 GB, free: 13.09 MB / 0.5919 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.857323003932834]