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.0009422/0.0009422, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009356/0.0009356, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9314/0.9314, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.6653/0.6653, allocations: 118.6 MB / 378.9 MB, free: 1.348 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 8.62e-07/8.62e-07, allocations: 0 / 484 MB, free: 8.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.769e-05, allocations: 6.016 kB / 484 MB, free: 8.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.1137/0.1137, allocations: 129 MB / 0.5987 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1157, allocations: 1.866 MB / 0.6005 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.1159, allocations: 47.56 kB / 0.6006 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.1163, allocations: 174.6 kB / 0.6007 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006167/0.1169, allocations: 0.5315 MB / 0.6012 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1172, allocations: 279.2 kB / 0.6015 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006277/0.1179, allocations: 1.107 MB / 0.6026 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.118, allocations: 106.6 kB / 0.6027 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.1186, allocations: 0.6076 MB / 0.6033 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003618/0.1189, allocations: 426.9 kB / 0.6037 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.119, allocations: 44 kB / 0.6037 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.1193, allocations: 231.5 kB / 0.604 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003772/0.1196, allocations: 119.4 kB / 0.6041 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1198, allocations: 231.4 kB / 0.6043 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.1203, allocations: 0.6343 MB / 0.6049 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1203, allocations: 0 / 0.6049 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1203, allocations: 0 / 0.6049 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.1203, allocations: 0 / 0.6049 GB, free: 8.574 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.0008665/0.1212, allocations: 1.025 MB / 0.6059 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1212, allocations: 8.031 kB / 0.6059 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.1215, allocations: 152.2 kB / 0.6061 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/0.1219, allocations: 0.5118 MB / 0.6066 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.122, allocations: 33.38 kB / 0.6066 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.122, allocations: 44.33 kB / 0.6066 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.1224, allocations: 372 kB / 0.607 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1224, allocations: 8.109 kB / 0.607 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.1224, allocations: 20.12 kB / 0.607 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.1224, allocations: 16 kB / 0.607 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1226, allocations: 186.8 kB / 0.6072 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.1238, allocations: 1.563 MB / 0.6087 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.1241, allocations: 240.6 kB / 0.609 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1242, allocations: 119.3 kB / 0.6091 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009143/0.1251, allocations: 0.8478 MB / 0.6099 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1251, allocations: 41.88 kB / 0.61 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.633e-06/0.1252, allocations: 4 kB / 0.61 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.0006238/0.1258, allocations: 463.9 kB / 0.6104 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1258, allocations: 59.84 kB / 0.6105 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.126, allocations: 458.5 kB / 0.6109 GB, free: 2.238 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1261, allocations: 33.7 kB / 0.6109 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.1264, allocations: 347.2 kB / 0.6113 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/0.1265, allocations: 166.5 kB / 0.6114 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.1266, allocations: 91.75 kB / 0.6115 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1267, allocations: 0.539 MB / 0.612 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.1268, allocations: 60.95 kB / 0.6121 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.936e-05/0.1269, allocations: 127.8 kB / 0.6122 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1271, allocations: 216.3 kB / 0.6124 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1271, allocations: 0 / 0.6124 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003617/0.1275, allocations: 380.4 kB / 0.6128 GB, free: 220 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1275, allocations: 6.938 kB / 0.6128 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.1275, allocations: 4 kB / 0.6128 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.1276, allocations: 71.23 kB / 0.6129 GB, free: 132 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1278, allocations: 83.91 kB / 0.6129 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.129, allocations: 3.505 MB / 0.6164 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1291, allocations: 39.72 kB / 0.6164 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.1292, allocations: 12 kB / 0.6164 GB, free: 12.27 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.000109/0.1293, allocations: 176.6 kB / 0.6166 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.1293, allocations: 83.56 kB / 0.6167 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005665/0.1299, allocations: 0.5735 MB / 0.6172 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1299, allocations: 4 kB / 0.6172 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1299, allocations: 7.938 kB / 0.6172 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1299, allocations: 3.984 kB / 0.6172 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.1309, allocations: 0.8545 MB / 0.6181 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1309, allocations: 0 / 0.6181 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.131, allocations: 63.91 kB / 0.6181 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.1311, allocations: 75.5 kB / 0.6182 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1312, allocations: 15.98 kB / 0.6182 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.1323, allocations: 3.517 MB / 0.6217 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1323, allocations: 0 / 0.6217 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.1328, allocations: 0.5878 MB / 0.6222 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.1329, allocations: 95.44 kB / 0.6223 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.1329, allocations: 23.92 kB / 0.6223 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.133, allocations: 4 kB / 0.6223 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.1331, allocations: 39.94 kB / 0.6224 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1331, allocations: 8 kB / 0.6224 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001455/0.1332, allocations: 310.7 kB / 0.6227 GB, free: 5.461 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.1332, allocations: 7.969 kB / 0.6227 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003069/0.1335, allocations: 179.7 kB / 0.6229 GB, free: 5.277 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.0001418/0.1337, allocations: 134.5 kB / 0.623 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.1341, allocations: 0.5748 MB / 0.6236 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1341, allocations: 0 / 0.6236 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.1343, allocations: 483.1 kB / 0.624 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.1349, allocations: 238 kB / 0.6242 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.1365, allocations: 1.086 MB / 0.6253 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.1365, allocations: 126 kB / 0.6254 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.1367, allocations: 110.2 kB / 0.6255 GB, free: 2.406 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.137, allocations: 246 kB / 0.6258 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.137, allocations: 0 / 0.6258 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of Templates: time 0.01215/0.1491, allocations: 10.44 MB / 0.636 GB, free: 7.977 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: 3.9551040562801063]