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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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=2000,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=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 105.4 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6544/0.6544, allocations: 91.17 MB / 381.9 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001676, allocations: 83.88 kB / 460.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1216, allocations: 67.68 MB / 0.5158 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.3842/0.5059, allocations: 139.9 MB / 0.6524 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004616/0.5105, allocations: 4.173 MB / 0.6565 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.5109, allocations: 19.88 kB / 0.6565 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.5115, allocations: 143.7 kB / 0.6566 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004591/0.512, allocations: 184.8 kB / 0.6568 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.5123, allocations: 111.7 kB / 0.6569 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.5127, allocations: 378.2 kB / 0.6573 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.513, allocations: 114.4 kB / 0.6574 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.5133, allocations: 179.8 kB / 0.6575 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.5135, allocations: 175.2 kB / 0.6577 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.5136, allocations: 24 kB / 0.6577 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.514, allocations: 279.4 kB / 0.658 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.5141, allocations: 43.8 kB / 0.658 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.5142, allocations: 139.2 kB / 0.6582 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.5145, allocations: 271.4 kB / 0.6584 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5145, allocations: 1.781 kB / 0.6584 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5145, allocations: 0 / 0.6584 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5145, allocations: 0 / 0.6584 GB, free: 2.449 MB / 0.4981 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.0008526/0.5154, allocations: 0.6031 MB / 0.659 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5154, allocations: 12.03 kB / 0.659 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.5155, allocations: 32.56 kB / 0.6591 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.5159, allocations: 335.2 kB / 0.6594 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.5159, allocations: 16.75 kB / 0.6594 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.516, allocations: 20.38 kB / 0.6594 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.5163, allocations: 230 kB / 0.6596 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.5164, allocations: 0 / 0.6596 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.5164, allocations: 8 kB / 0.6596 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5164, allocations: 4 kB / 0.6597 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.5166, allocations: 131.9 kB / 0.6598 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000998/0.5176, allocations: 0.7707 MB / 0.6605 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.5179, allocations: 134.5 kB / 0.6607 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.5181, allocations: 74.23 kB / 0.6607 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.5183, allocations: 243.3 kB / 0.661 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.5183, allocations: 42.48 kB / 0.661 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.5183, allocations: 0 / 0.661 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001565/0.5199, allocations: 0.9128 MB / 0.6619 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.52, allocations: 55.41 kB / 0.6619 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.5203, allocations: 325.7 kB / 0.6623 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.5203, allocations: 29.7 kB / 0.6623 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.5204, allocations: 164.3 kB / 0.6624 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.5205, allocations: 67.09 kB / 0.6625 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.5206, allocations: 29.72 kB / 0.6625 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5207, allocations: 350.8 kB / 0.6629 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.5208, allocations: 43.98 kB / 0.6629 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.5209, allocations: 70.14 kB / 0.663 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.5211, allocations: 121.1 kB / 0.6631 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5211, allocations: 0 / 0.6631 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004396/0.5216, allocations: 270.8 kB / 0.6634 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5216, allocations: 11.94 kB / 0.6634 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5216, allocations: 0 / 0.6634 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.5219, allocations: 88.8 kB / 0.6634 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.522, allocations: 27.92 kB / 0.6635 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.5239, allocations: 1.935 MB / 0.6654 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.524, allocations: 8 kB / 0.6654 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.524, allocations: 15.88 kB / 0.6654 GB, free: 10.8 MB / 0.5137 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.0001265/0.5242, allocations: 145.8 kB / 0.6655 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.5242, allocations: 31.62 kB / 0.6656 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.5247, allocations: 287.7 kB / 0.6658 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5247, allocations: 0 / 0.6658 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5247, allocations: 7.938 kB / 0.6658 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5247, allocations: 0.875 kB / 0.6658 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.5254, allocations: 0.6211 MB / 0.6664 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5255, allocations: 0 / 0.6664 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.5255, allocations: 11.98 kB / 0.6665 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.5258, allocations: 104.7 kB / 0.6666 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.5258, allocations: 3.938 kB / 0.6666 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.5276, allocations: 1.951 MB / 0.6685 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5276, allocations: 7.938 kB / 0.6685 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.5281, allocations: 403 kB / 0.6689 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.5282, allocations: 100.7 kB / 0.669 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.5282, allocations: 11.94 kB / 0.669 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5283, allocations: 4 kB / 0.669 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.5284, allocations: 19.95 kB / 0.669 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.5284, allocations: 5.125 kB / 0.669 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002366/0.5286, allocations: 252.6 kB / 0.6692 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5287, allocations: 0 / 0.6692 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003585/0.529, allocations: 72 kB / 0.6693 GB, free: 6.52 MB / 0.5137 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.0002434/0.5293, allocations: 172.4 kB / 0.6695 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005487/0.5298, allocations: 295.8 kB / 0.6697 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5298, allocations: 0 / 0.6697 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.5303, allocations: 254.4 kB / 0.67 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.5309, allocations: 102.5 kB / 0.6701 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.5321, allocations: 0.808 MB / 0.6709 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.5325, allocations: 0.7756 MB / 0.6716 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.5325, allocations: 23.44 kB / 0.6717 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.5325, allocations: 3.938 kB / 0.6717 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of Templates: time 0.008717/0.5413, allocations: 5.862 MB / 0.6774 GB, free: 14.27 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.makefile (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) 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) Reference file matches