Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.001284/0.001284, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0015/0.0015, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9418/0.9418, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7199/0.7199, allocations: 118.6 MB / 379.7 MB, free: 1.344 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.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 484.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.032e-05, allocations: 3.688 kB / 484.8 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1269/0.127, allocations: 129 MB / 0.5995 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.129, allocations: 1.886 MB / 0.6013 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.1293, allocations: 39.62 kB / 0.6013 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.1298, allocations: 166.7 kB / 0.6015 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0007414/0.1305, allocations: 0.5431 MB / 0.602 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1309, allocations: 275.1 kB / 0.6023 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009719/0.1319, allocations: 1.115 MB / 0.6034 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.1321, allocations: 98.61 kB / 0.6035 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008486/0.1329, allocations: 0.6037 MB / 0.6041 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.1335, allocations: 434.8 kB / 0.6045 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.1336, allocations: 44 kB / 0.6045 GB, free: 9.73 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.1339, allocations: 227.6 kB / 0.6047 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.134, allocations: 123.3 kB / 0.6049 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.1342, allocations: 223.5 kB / 0.6051 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007685/0.135, allocations: 0.6382 MB / 0.6057 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.135, allocations: 4 kB / 0.6057 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/0.135, allocations: 4 kB / 0.6057 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.135, allocations: 0 / 0.6057 GB, free: 8.52 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001214/0.1362, allocations: 1.005 MB / 0.6067 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1363, allocations: 11.97 kB / 0.6067 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003437/0.1366, allocations: 152.3 kB / 0.6068 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.1372, allocations: 0.5119 MB / 0.6073 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.1373, allocations: 29.38 kB / 0.6074 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.1373, allocations: 56.31 kB / 0.6074 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.1378, allocations: 368 kB / 0.6078 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1378, allocations: 8.172 kB / 0.6078 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.1378, allocations: 20.12 kB / 0.6078 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.1378, allocations: 11.94 kB / 0.6078 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1381, allocations: 194.7 kB / 0.608 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.1396, allocations: 1.567 MB / 0.6095 GB, free: 4.461 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.14, allocations: 241.1 kB / 0.6097 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.1401, allocations: 111.7 kB / 0.6099 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.1412, allocations: 0.8417 MB / 0.6107 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1413, allocations: 37.89 kB / 0.6107 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.414e-06/0.1413, allocations: 4 kB / 0.6107 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.0007434/0.142, allocations: 467.8 kB / 0.6112 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.142, allocations: 59.84 kB / 0.6112 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.1423, allocations: 458.5 kB / 0.6117 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1423, allocations: 29.7 kB / 0.6117 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1425, allocations: 343.2 kB / 0.612 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.452e-05/0.1426, allocations: 170.5 kB / 0.6122 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.513e-05/0.1427, allocations: 91.77 kB / 0.6123 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1429, allocations: 0.539 MB / 0.6128 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.1429, allocations: 52.95 kB / 0.6128 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1431, allocations: 135.8 kB / 0.613 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1433, allocations: 216.3 kB / 0.6132 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1433, allocations: 0 / 0.6132 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004251/0.1437, allocations: 376.4 kB / 0.6135 GB, free: 176 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1437, allocations: 4 kB / 0.6135 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1437, allocations: 0 / 0.6135 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.1439, allocations: 67.3 kB / 0.6136 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.1441, allocations: 91.83 kB / 0.6137 GB, free: 4 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.146, allocations: 3.509 MB / 0.6171 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1461, allocations: 31.73 kB / 0.6171 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1461, allocations: 12 kB / 0.6172 GB, free: 12.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1463, allocations: 184.5 kB / 0.6173 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.1463, allocations: 75.56 kB / 0.6174 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.147, allocations: 0.5786 MB / 0.618 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.147, allocations: 4 kB / 0.618 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.147, allocations: 3.938 kB / 0.618 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.147, allocations: 3.984 kB / 0.618 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009619/0.148, allocations: 0.8469 MB / 0.6188 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.148, allocations: 7.938 kB / 0.6188 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1481, allocations: 67.91 kB / 0.6189 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.1483, allocations: 75.41 kB / 0.619 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.1483, allocations: 12 kB / 0.619 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.15, allocations: 3.513 MB / 0.6224 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.15, allocations: 3.984 kB / 0.6224 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.1505, allocations: 0.5878 MB / 0.623 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1506, allocations: 95.44 kB / 0.6231 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1507, allocations: 15.94 kB / 0.6231 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1508, allocations: 12 kB / 0.6231 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.1509, allocations: 35.88 kB / 0.6231 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1509, allocations: 15.98 kB / 0.6231 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001875/0.1511, allocations: 310.7 kB / 0.6234 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1511, allocations: 4 kB / 0.6234 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005801/0.1517, allocations: 171.7 kB / 0.6236 GB, free: 5.242 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003294/0.152, allocations: 139.2 kB / 0.6237 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006704/0.1527, allocations: 0.5593 MB / 0.6243 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1527, allocations: 0 / 0.6243 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003791/0.153, allocations: 491 kB / 0.6248 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009265/0.154, allocations: 241.7 kB / 0.625 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.156, allocations: 1.086 MB / 0.626 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.1561, allocations: 126 kB / 0.6262 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000315/0.1564, allocations: 110.2 kB / 0.6263 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/0.1568, allocations: 246.1 kB / 0.6265 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of SimCode: time 7.81e-07/0.1568, allocations: 0 / 0.6265 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of Templates: time 0.0165/0.1733, allocations: 10.61 MB / 0.6369 GB, free: 7.809 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_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.334170005749911]