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.0009674/0.0009676, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001108/0.001108, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7424/0.7424, allocations: 89.63 MB / 380.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004493, allocations: 14.38 kB / 460 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1815, allocations: 68.83 MB / 0.5165 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.549/0.7305, allocations: 128.4 MB / 0.6419 GB, free: 3.547 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00509/0.7356, allocations: 3.853 MB / 0.6456 GB, free: 460 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.736, allocations: 5.312 kB / 0.6456 GB, free: 460 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.7366, allocations: 135.1 kB / 0.6458 GB, free: 348 kB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Topology/Tests/TestSplitter.mo:13:25-13:32:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Topology/Tests/TestSplitter.mo:13:39-13:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006843/0.7373, allocations: 195.8 kB / 0.6459 GB, free: 184 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.7379, allocations: 89.39 kB / 0.646 GB, free: 116 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007487/0.7386, allocations: 305.8 kB / 0.6463 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.7389, allocations: 69.14 kB / 0.6464 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.7394, allocations: 115 kB / 0.6465 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.7397, allocations: 144.7 kB / 0.6466 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.7397, allocations: 8.688 kB / 0.6466 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005366/0.7403, allocations: 240.5 kB / 0.6469 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.7403, allocations: 39.52 kB / 0.6469 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.7404, allocations: 63.36 kB / 0.647 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.7408, allocations: 191.1 kB / 0.6472 GB, free: 15.47 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.7408, allocations: 0 / 0.6472 GB, free: 15.47 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.7408, allocations: 3.938 kB / 0.6472 GB, free: 15.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.7408, allocations: 0 / 0.6472 GB, free: 15.46 MB / 478.1 MB 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.0009271/0.7418, allocations: 0.4907 MB / 0.6476 GB, free: 14.99 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7418, allocations: 10.94 kB / 0.6476 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.723e-05/0.7419, allocations: 30.47 kB / 0.6477 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.7423, allocations: 232.2 kB / 0.6479 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.7423, allocations: 9.906 kB / 0.6479 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.7424, allocations: 26.09 kB / 0.6479 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.7428, allocations: 220.7 kB / 0.6481 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7428, allocations: 2.906 kB / 0.6481 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.7428, allocations: 8 kB / 0.6482 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.7429, allocations: 5.344 kB / 0.6482 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.7431, allocations: 129.5 kB / 0.6483 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.7441, allocations: 0.7355 MB / 0.649 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.7444, allocations: 139.6 kB / 0.6491 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.7445, allocations: 75.61 kB / 0.6492 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.7447, allocations: 255.1 kB / 0.6494 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.7448, allocations: 37.39 kB / 0.6495 GB, free: 13.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 3.526e-06/0.7448, allocations: 3.984 kB / 0.6495 GB, free: 13.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.001545/0.7463, allocations: 0.8837 MB / 0.6504 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.7464, allocations: 51.41 kB / 0.6504 GB, free: 12.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.7466, allocations: 234.9 kB / 0.6506 GB, free: 12.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.7466, allocations: 29.7 kB / 0.6507 GB, free: 12.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/0.7467, allocations: 131.6 kB / 0.6508 GB, free: 12.22 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.7468, allocations: 51.81 kB / 0.6508 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.7468, allocations: 3 kB / 0.6508 GB, free: 12.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.7469, allocations: 333.8 kB / 0.6511 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.747, allocations: 52.58 kB / 0.6512 GB, free: 11.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.015e-05/0.7471, allocations: 69.02 kB / 0.6513 GB, free: 11.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.639e-05/0.7472, allocations: 59.16 kB / 0.6513 GB, free: 11.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.7472, allocations: 0 / 0.6513 GB, free: 11.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004258/0.7476, allocations: 259 kB / 0.6516 GB, free: 11.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7477, allocations: 7.938 kB / 0.6516 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7477, allocations: 0 / 0.6516 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.748, allocations: 90.08 kB / 0.6517 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.7481, allocations: 21.67 kB / 0.6517 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.7499, allocations: 1.8 MB / 0.6534 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.079e-05/0.75, allocations: 4 kB / 0.6534 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.75, allocations: 5.062 kB / 0.6534 GB, free: 9.879 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.7502, allocations: 149.4 kB / 0.6536 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.7502, allocations: 22.5 kB / 0.6536 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.7507, allocations: 278.8 kB / 0.6539 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7507, allocations: 3.281 kB / 0.6539 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7507, allocations: 3.984 kB / 0.6539 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7507, allocations: 0 / 0.6539 GB, free: 9.516 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.7514, allocations: 0.5882 MB / 0.6545 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7514, allocations: 0 / 0.6545 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.7515, allocations: 6 kB / 0.6545 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.7517, allocations: 99.2 kB / 0.6546 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.7518, allocations: 10.92 kB / 0.6546 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/0.7534, allocations: 1.817 MB / 0.6563 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7535, allocations: 4 kB / 0.6563 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.754, allocations: 398.9 kB / 0.6567 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.7541, allocations: 96.95 kB / 0.6568 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.7541, allocations: 14.78 kB / 0.6568 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.7542, allocations: 0 / 0.6568 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.7543, allocations: 15.98 kB / 0.6569 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.7543, allocations: 6.094 kB / 0.6569 GB, free: 6.832 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.7544, allocations: 188.3 kB / 0.657 GB, free: 6.699 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7545, allocations: 0 / 0.657 GB, free: 6.699 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.7548, allocations: 68.44 kB / 0.6571 GB, free: 6.691 MB / 478.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002476/0.7551, allocations: 175 kB / 0.6573 GB, free: 6.562 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.7556, allocations: 305.3 kB / 0.6576 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7556, allocations: 0 / 0.6576 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.756, allocations: 244.5 kB / 0.6578 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.7567, allocations: 100.7 kB / 0.6579 GB, free: 6.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.7577, allocations: 0.7045 MB / 0.6586 GB, free: 5.551 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.758, allocations: 0.7505 MB / 0.6593 GB, free: 4.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.7581, allocations: 20.11 kB / 0.6593 GB, free: 4.812 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.7582, allocations: 15.75 kB / 0.6593 GB, free: 4.805 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.7582, allocations: 0 / 0.6593 GB, free: 4.805 MB / 478.1 MB Notification: Performance of Templates: time 0.01063/0.7688, allocations: 4.663 MB / 0.6639 GB, free: 2.469 MB / 478.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches