Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.001731/0.001731, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002253/0.002253, allocations: 163 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.534/1.534, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.029/1.029, allocations: 116 MB / 375.2 MB, free: 7.527 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.5537 GB, free: 13.65 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.74e-05/3.977e-05, allocations: 10.22 kB / 0.5537 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04565/0.04569, allocations: 36.23 MB / 0.5891 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.06369, allocations: 12.25 MB / 0.6011 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.06531, allocations: 75.25 kB / 0.6012 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.06777, allocations: 0.9088 MB / 0.6021 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.07227, allocations: 1.498 MB / 0.6035 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.0756, allocations: 1.077 MB / 0.6046 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0036/0.0792, allocations: 2.212 MB / 0.6067 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005802/0.07978, allocations: 219.8 kB / 0.6069 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002964/0.08274, allocations: 1.422 MB / 0.6083 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.08379, allocations: 0.5684 MB / 0.6089 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.08399, allocations: 92 kB / 0.609 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.08647, allocations: 0.7914 MB / 0.6097 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.08688, allocations: 346.4 kB / 0.6101 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007246/0.08761, allocations: 486.5 kB / 0.6105 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004144/0.09175, allocations: 2.176 MB / 0.6127 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.09176, allocations: 0 / 0.6127 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.09176, allocations: 0 / 0.6127 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.108e-05/0.09179, allocations: 0 / 0.6127 GB, free: 1.066 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003897/0.09569, allocations: 2.1 MB / 0.6147 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.09574, allocations: 8.031 kB / 0.6147 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/0.09632, allocations: 230.8 kB / 0.6149 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.0988, allocations: 1.195 MB / 0.6161 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/0.09888, allocations: 61.94 kB / 0.6162 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.09902, allocations: 87.95 kB / 0.6163 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.1007, allocations: 0.938 MB / 0.6172 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1007, allocations: 0 / 0.6172 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.1008, allocations: 36 kB / 0.6172 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.1008, allocations: 20 kB / 0.6172 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.1023, allocations: 0.8003 MB / 0.618 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.107, allocations: 2.561 MB / 0.6205 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.1082, allocations: 0.5894 MB / 0.6211 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.1087, allocations: 286.7 kB / 0.6214 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002578/0.1113, allocations: 1.097 MB / 0.6224 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.1113, allocations: 39.22 kB / 0.6225 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.585e-06/0.1113, allocations: 0 / 0.6225 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.00277/0.1141, allocations: 1.053 MB / 0.6235 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1142, allocations: 60.06 kB / 0.6235 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/0.1161, allocations: 1.37 MB / 0.6249 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.352e-05/0.1162, allocations: 37.7 kB / 0.6249 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006503/0.1169, allocations: 0.6792 MB / 0.6256 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.1171, allocations: 265.6 kB / 0.6258 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1173, allocations: 142.6 kB / 0.626 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1175, allocations: 334 kB / 0.6263 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.118, allocations: 201.9 kB / 0.6265 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.1186, allocations: 390.8 kB / 0.6269 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.1197, allocations: 0.5587 MB / 0.6274 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.1197, allocations: 0 / 0.6274 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001908/0.1216, allocations: 0.8414 MB / 0.6282 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.1216, allocations: 14.02 kB / 0.6282 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.1216, allocations: 7.938 kB / 0.6282 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/0.1222, allocations: 106 kB / 0.6283 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.1228, allocations: 151.7 kB / 0.6285 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.126, allocations: 2.944 MB / 0.6314 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.1267, allocations: 75.66 kB / 0.6314 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.579e-05/0.1268, allocations: 28 kB / 0.6315 GB, free: 13.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (79): * Single equations (assignments): 77 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006215/0.1275, allocations: 332.2 kB / 0.6318 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/0.1278, allocations: 166.9 kB / 0.6319 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.13, allocations: 1.096 MB / 0.633 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.13, allocations: 8 kB / 0.633 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.13, allocations: 0 / 0.633 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.13, allocations: 3.984 kB / 0.633 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.1334, allocations: 1.674 MB / 0.6347 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1334, allocations: 0 / 0.6347 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/0.1338, allocations: 119.8 kB / 0.6348 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/0.1343, allocations: 109.7 kB / 0.6349 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.1343, allocations: 23.98 kB / 0.6349 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/0.1375, allocations: 2.951 MB / 0.6378 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1375, allocations: 0 / 0.6378 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.14, allocations: 1.165 MB / 0.6389 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006989/0.1407, allocations: 276.6 kB / 0.6392 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.1408, allocations: 20 kB / 0.6392 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.1413, allocations: 23.98 kB / 0.6392 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.1415, allocations: 60.48 kB / 0.6393 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.1415, allocations: 27.98 kB / 0.6393 GB, free: 4.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00155/0.1431, allocations: 0.9554 MB / 0.6402 GB, free: 3.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1431, allocations: 0 / 0.6402 GB, free: 3.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001243/0.1443, allocations: 419.1 kB / 0.6406 GB, free: 3.469 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (63): * Single equations (assignments): 61 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002161/0.1465, allocations: 0.7431 MB / 0.6414 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.1482, allocations: 0.7837 MB / 0.6421 GB, free: 2.066 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.1482, allocations: 4 kB / 0.6421 GB, free: 2.062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009108/0.1491, allocations: 0.5291 MB / 0.6427 GB, free: 1.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.1517, allocations: 0.4957 MB / 0.6431 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/0.1576, allocations: 2.571 MB / 0.6456 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/0.1585, allocations: 0.6528 MB / 0.6463 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00108/0.1596, allocations: 245.8 kB / 0.6465 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.1599, allocations: 120.5 kB / 0.6466 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/0.1599, allocations: 0 / 0.6466 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.04532/0.2052, allocations: 23.17 MB / 0.6693 GB, free: 6.66 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.683617915958166]