Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.0008906/0.0008906, 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.00106/0.00106, allocations: 165 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.9718/0.9718, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.8248/0.8248, allocations: 118.6 MB / 378.6 MB, free: 1.469 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 483.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.467e-05, allocations: 5.125 kB / 483.6 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1485/0.1485, allocations: 130.1 MB / 0.5993 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.15, allocations: 1.359 MB / 0.6006 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.1502, allocations: 43.56 kB / 0.6007 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.1507, allocations: 111.1 kB / 0.6008 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.1513, allocations: 329.9 kB / 0.6011 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.1517, allocations: 219.2 kB / 0.6013 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006539/0.1524, allocations: 0.8215 MB / 0.6021 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.1526, allocations: 75.58 kB / 0.6022 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.1531, allocations: 446.7 kB / 0.6026 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003968/0.1535, allocations: 339.2 kB / 0.6029 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.1536, allocations: 32 kB / 0.603 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.1538, allocations: 163.6 kB / 0.6031 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.1539, allocations: 115.6 kB / 0.6032 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1541, allocations: 155.6 kB / 0.6034 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.1547, allocations: 0.4982 MB / 0.6039 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1547, allocations: 4 kB / 0.6039 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1547, allocations: 0 / 0.6039 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.1547, allocations: 0 / 0.6039 GB, free: 9.469 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001208/0.1559, allocations: 0.8809 MB / 0.6047 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1559, allocations: 12.03 kB / 0.6047 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.156, allocations: 72.61 kB / 0.6048 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.1566, allocations: 478.2 kB / 0.6053 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1566, allocations: 12.88 kB / 0.6053 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.1567, allocations: 24.38 kB / 0.6053 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.157, allocations: 289.4 kB / 0.6056 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1571, allocations: 7.875 kB / 0.6056 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.1571, allocations: 7.984 kB / 0.6056 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.1571, allocations: 20.5 kB / 0.6056 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.1574, allocations: 214.7 kB / 0.6058 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1588, allocations: 1.276 MB / 0.6071 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1591, allocations: 147 kB / 0.6072 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1593, allocations: 111.6 kB / 0.6073 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.1594, allocations: 23.98 kB / 0.6073 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1594, allocations: 37.39 kB / 0.6074 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.1594, allocations: 3.938 kB / 0.6074 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001622/0.161, allocations: 0.8873 MB / 0.6082 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1611, allocations: 55.41 kB / 0.6083 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.1614, allocations: 386.7 kB / 0.6087 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.1614, allocations: 33.7 kB / 0.6087 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1616, allocations: 267.5 kB / 0.6089 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.1616, allocations: 127 kB / 0.6091 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.1617, allocations: 71.33 kB / 0.6091 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1619, allocations: 0.5274 MB / 0.6097 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.162, allocations: 67.81 kB / 0.6097 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1621, allocations: 71.81 kB / 0.6098 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.1624, allocations: 179.6 kB / 0.61 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1624, allocations: 0 / 0.61 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004827/0.1629, allocations: 364.9 kB / 0.6103 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1629, allocations: 6.812 kB / 0.6103 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1629, allocations: 8 kB / 0.6103 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.1632, allocations: 99.48 kB / 0.6104 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1634, allocations: 51.95 kB / 0.6105 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.1651, allocations: 2.426 MB / 0.6128 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.884e-05/0.1652, allocations: 8 kB / 0.6128 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1652, allocations: 11.98 kB / 0.6129 GB, free: 15.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.1653, allocations: 180.4 kB / 0.613 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.1654, allocations: 51.72 kB / 0.6131 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006273/0.166, allocations: 0.539 MB / 0.6136 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.166, allocations: 7.938 kB / 0.6136 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.166, allocations: 4 kB / 0.6136 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.166, allocations: 3.984 kB / 0.6136 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1663, allocations: 320.5 kB / 0.6139 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1663, allocations: 0 / 0.6139 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.1664, allocations: 31.95 kB / 0.614 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.1667, allocations: 103.5 kB / 0.6141 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.1667, allocations: 19.98 kB / 0.6141 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.1682, allocations: 2.441 MB / 0.6165 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1682, allocations: 0 / 0.6165 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.1688, allocations: 405.1 kB / 0.6168 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.1688, allocations: 63.69 kB / 0.6169 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.1689, allocations: 15.92 kB / 0.6169 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.169, allocations: 8 kB / 0.6169 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.169, allocations: 27.88 kB / 0.617 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.169, allocations: 11.98 kB / 0.617 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000193/0.1692, allocations: 283.1 kB / 0.6172 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1692, allocations: 0 / 0.6172 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003275/0.1695, allocations: 112 kB / 0.6173 GB, free: 11.04 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002135/0.1698, allocations: 127.2 kB / 0.6175 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006003/0.1704, allocations: 436.9 kB / 0.6179 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1704, allocations: 4 kB / 0.6179 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.1707, allocations: 357.9 kB / 0.6182 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.1711, allocations: 137.6 kB / 0.6184 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1726, allocations: 0.834 MB / 0.6192 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.569e-05/0.1727, allocations: 125.2 kB / 0.6193 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.1728, allocations: 83.17 kB / 0.6194 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.1729, allocations: 40.45 kB / 0.6194 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of SimCode: time 1.342e-06/0.1729, allocations: 0 / 0.6194 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of Templates: time 0.009752/0.1827, allocations: 6.787 MB / 0.626 GB, free: 2.215 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_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: 4.385861929040402]