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.001401/0.001401, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009633/0.0009633, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 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 0.8972/0.8972, allocations: 177.1 MB / 203.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6511/0.6511, allocations: 118.6 MB / 378.6 MB, free: 1.496 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.[0-9,]+..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.[0-9,]+..m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 483.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.224e-05, allocations: 6.203 kB / 483.6 MB, free: 8.195 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1174/0.1174, allocations: 129.7 MB / 0.599 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.1183, allocations: 0.7671 MB / 0.5997 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1185, allocations: 31.69 kB / 0.5998 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.119, allocations: 83.28 kB / 0.5998 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.1194, allocations: 174.7 kB / 0.6 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1197, allocations: 135.4 kB / 0.6001 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.1202, allocations: 457.7 kB / 0.6006 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1204, allocations: 62.86 kB / 0.6006 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.1208, allocations: 283 kB / 0.6009 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1211, allocations: 155.6 kB / 0.601 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.1211, allocations: 16 kB / 0.6011 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1212, allocations: 83.81 kB / 0.6011 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.1213, allocations: 59.7 kB / 0.6012 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.1214, allocations: 99.7 kB / 0.6013 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.1218, allocations: 298.8 kB / 0.6016 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1218, allocations: 0 / 0.6016 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1218, allocations: 0 / 0.6016 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1218, allocations: 0 / 0.6016 GB, free: 11.88 MB / 0.5261 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.0007249/0.1225, allocations: 0.6631 MB / 0.6022 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1226, allocations: 8.031 kB / 0.6022 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.1226, allocations: 64.66 kB / 0.6023 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1231, allocations: 355 kB / 0.6026 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1231, allocations: 12.75 kB / 0.6026 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.1231, allocations: 20.38 kB / 0.6027 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.1233, allocations: 175.3 kB / 0.6028 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1233, allocations: 192 / 0.6028 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.1234, allocations: 12.12 kB / 0.6028 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1234, allocations: 4 kB / 0.6028 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.1235, allocations: 63.95 kB / 0.6029 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.1242, allocations: 0.7165 MB / 0.6036 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.1245, allocations: 126.9 kB / 0.6037 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.287e-05/0.1245, allocations: 39.67 kB / 0.6038 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.243e-05/0.1246, allocations: 15.98 kB / 0.6038 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1246, allocations: 37.39 kB / 0.6038 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.1246, allocations: 0 / 0.6038 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001223/0.1258, allocations: 0.5426 MB / 0.6043 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.1259, allocations: 51.41 kB / 0.6044 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1261, allocations: 334.3 kB / 0.6047 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1261, allocations: 25.7 kB / 0.6047 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.1262, allocations: 239.2 kB / 0.605 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.1262, allocations: 59.48 kB / 0.605 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1263, allocations: 43.36 kB / 0.6051 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1264, allocations: 0.5079 MB / 0.6056 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.1264, allocations: 19.98 kB / 0.6056 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.1265, allocations: 57.92 kB / 0.6056 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.935e-05/0.1266, allocations: 73.91 kB / 0.6057 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1266, allocations: 0 / 0.6057 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000256/0.1268, allocations: 216.8 kB / 0.6059 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1269, allocations: 4 kB / 0.6059 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1269, allocations: 3.938 kB / 0.6059 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.1271, allocations: 79.62 kB / 0.606 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.1271, allocations: 23.92 kB / 0.606 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.1284, allocations: 2.069 MB / 0.608 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.1285, allocations: 4 kB / 0.608 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1285, allocations: 4 kB / 0.608 GB, free: 4.855 MB / 0.5261 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 9.474e-05/0.1286, allocations: 168.5 kB / 0.6082 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.1286, allocations: 43.8 kB / 0.6082 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.1289, allocations: 224 kB / 0.6085 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1289, allocations: 4 kB / 0.6085 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1289, allocations: 0 / 0.6085 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1289, allocations: 3.938 kB / 0.6085 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.1294, allocations: 0.62 MB / 0.6091 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1294, allocations: 4 kB / 0.6091 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.1294, allocations: 11.94 kB / 0.6091 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.1296, allocations: 91.7 kB / 0.6092 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1296, allocations: 8 kB / 0.6092 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.131, allocations: 2.084 MB / 0.6112 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.131, allocations: 4 kB / 0.6112 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1313, allocations: 410.7 kB / 0.6116 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1314, allocations: 39.8 kB / 0.6117 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1314, allocations: 8 kB / 0.6117 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.1314, allocations: 8 kB / 0.6117 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1315, allocations: 23.83 kB / 0.6117 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.1315, allocations: 8 kB / 0.6117 GB, free: 0.8438 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001205/0.1316, allocations: 235.1 kB / 0.6119 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1316, allocations: 0 / 0.6119 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002454/0.1318, allocations: 68 kB / 0.612 GB, free: 0.5469 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (7): * Single equations (assignments): 6 * 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.0001498/0.132, allocations: 107.2 kB / 0.6121 GB, free: 444 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.1324, allocations: 328.8 kB / 0.6124 GB, free: 96 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1324, allocations: 0 / 0.6124 GB, free: 96 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.1326, allocations: 301.8 kB / 0.6127 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.133, allocations: 70.06 kB / 0.6128 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.134, allocations: 0.6974 MB / 0.6134 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.1341, allocations: 104.5 kB / 0.6135 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.1342, allocations: 34.95 kB / 0.6136 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1342, allocations: 20.5 kB / 0.6136 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of SimCode: time 9.72e-07/0.1342, allocations: 0 / 0.6136 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.006836/0.141, allocations: 4.141 MB / 0.6176 GB, free: 10.75 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6385500337928534]