Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.00159/0.00159, allocations: 81.06 kB / 19.18 MB, free: 2.527 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.00172/0.00172, allocations: 170.7 kB / 22.46 MB, free: 5.359 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.404/1.404, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.6997/0.6997, allocations: 80.2 MB / 339.4 MB, free: 10.92 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.4929 GB, free: 25.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.708e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.03366/0.03368, allocations: 42.01 MB / 0.5339 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.05056, allocations: 11.48 MB / 0.5451 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.0526, allocations: 78.16 kB / 0.5452 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.05577, allocations: 1.097 MB / 0.5463 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006354/0.06213, allocations: 2.309 MB / 0.5485 GB, free: 3.809 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.06558, allocations: 1.232 MB / 0.5497 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004376/0.06995, allocations: 3.128 MB / 0.5528 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.0705, allocations: 270.9 kB / 0.553 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.07354, allocations: 1.935 MB / 0.5549 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.07484, allocations: 0.9116 MB / 0.5558 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.07506, allocations: 136 kB / 0.5559 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.07791, allocations: 1.053 MB / 0.557 GB, free: 13.83 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.07834, allocations: 450 kB / 0.5574 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008139/0.07916, allocations: 0.6623 MB / 0.558 GB, free: 12.72 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.08309, allocations: 2.936 MB / 0.5609 GB, free: 9.777 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.08309, allocations: 0 / 0.5609 GB, free: 9.777 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.08309, allocations: 0 / 0.5609 GB, free: 9.777 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.08311, allocations: 0 / 0.5609 GB, free: 9.777 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004382/0.08749, allocations: 2.478 MB / 0.5633 GB, free: 7.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.08753, allocations: 9.469 kB / 0.5633 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007432/0.08827, allocations: 283.3 kB / 0.5636 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.09042, allocations: 1.264 MB / 0.5648 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.439e-05/0.09051, allocations: 98.97 kB / 0.5649 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.09069, allocations: 132.4 kB / 0.5651 GB, free: 5.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.09327, allocations: 1.552 MB / 0.5666 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.09329, allocations: 3.984 kB / 0.5666 GB, free: 3.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.09342, allocations: 55.98 kB / 0.5666 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.09345, allocations: 28 kB / 0.5667 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/0.09617, allocations: 1.579 MB / 0.5682 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006088/0.1023, allocations: 3.604 MB / 0.5717 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.1046, allocations: 1.227 MB / 0.5729 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.1057, allocations: 0.605 MB / 0.5735 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004133/0.1098, allocations: 1.982 MB / 0.5754 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.1112, allocations: 0.7831 MB / 0.5762 GB, free: 9.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=139): time 3.066e-06/0.1112, allocations: 0 / 0.5762 GB, free: 9.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=139): time 0.00436/0.1155, allocations: 1.951 MB / 0.5781 GB, free: 7.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/0.1156, allocations: 116.1 kB / 0.5782 GB, free: 7.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.1173, allocations: 1.259 MB / 0.5795 GB, free: 6.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.1174, allocations: 53.64 kB / 0.5795 GB, free: 6.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/0.118, allocations: 0.7184 MB / 0.5802 GB, free: 5.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/0.1184, allocations: 495.7 kB / 0.5807 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003703/0.1188, allocations: 254.8 kB / 0.5809 GB, free: 4.926 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1189, allocations: 349.9 kB / 0.5813 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009528/0.1199, allocations: 484.1 kB / 0.5817 GB, free: 4.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.121, allocations: 0.6971 MB / 0.5824 GB, free: 3.332 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.1232, allocations: 1.165 MB / 0.5835 GB, free: 2.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1232, allocations: 0 / 0.5835 GB, free: 2.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003058/0.1262, allocations: 1.544 MB / 0.585 GB, free: 0.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.1263, allocations: 36.2 kB / 0.5851 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1263, allocations: 4 kB / 0.5851 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004228/0.1267, allocations: 113.6 kB / 0.5852 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.1277, allocations: 271.7 kB / 0.5854 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.1308, allocations: 2.96 MB / 0.5883 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/0.1316, allocations: 115.2 kB / 0.5884 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.1317, allocations: 59.98 kB / 0.5885 GB, free: 12.78 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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.0007028/0.1324, allocations: 381.5 kB / 0.5889 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.1327, allocations: 190.8 kB / 0.5891 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/0.1369, allocations: 2.105 MB / 0.5911 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.1369, allocations: 12 kB / 0.5911 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1369, allocations: 4 kB / 0.5911 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.1369, allocations: 7.969 kB / 0.5911 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005356/0.1423, allocations: 2.943 MB / 0.594 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1423, allocations: 0 / 0.594 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/0.1433, allocations: 271.7 kB / 0.5943 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/0.1436, allocations: 113.5 kB / 0.5944 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-05/0.1437, allocations: 51.91 kB / 0.5944 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/0.1466, allocations: 2.947 MB / 0.5973 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1467, allocations: 11.81 kB / 0.5973 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004227/0.1509, allocations: 2.306 MB / 0.5996 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006877/0.1516, allocations: 388.2 kB / 0.5999 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.1517, allocations: 36.06 kB / 0.6 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.1524, allocations: 52.03 kB / 0.6 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.1526, allocations: 125.1 kB / 0.6001 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.1527, allocations: 55.97 kB / 0.6002 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001174/0.1539, allocations: 0.8746 MB / 0.601 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1539, allocations: 0 / 0.601 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001454/0.1554, allocations: 0.5965 MB / 0.6016 GB, free: 15.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002037/0.1574, allocations: 0.8303 MB / 0.6024 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.1601, allocations: 1.501 MB / 0.6039 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1601, allocations: 0 / 0.6039 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.1617, allocations: 0.9076 MB / 0.6048 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/0.1644, allocations: 0.6224 MB / 0.6054 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/0.1717, allocations: 3.421 MB / 0.6087 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008512/0.1726, allocations: 0.7632 MB / 0.6095 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001069/0.1736, allocations: 366.9 kB / 0.6098 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.1741, allocations: 184.4 kB / 0.61 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of SimCode: time 6.72e-07/0.1741, allocations: 0 / 0.61 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.05354/0.2276, allocations: 31.13 MB / 0.6404 GB, free: 7.895 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.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.244338620454073]