Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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.001574/0.001574, allocations: 80.3 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.001704/0.001704, allocations: 159.1 kB / 22.45 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.376/1.376, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.7427/0.7427, allocations: 80.21 MB / 339.4 MB, free: 10.86 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.4929 GB, free: 25.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.736e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.05496/0.05498, allocations: 60.7 MB / 0.5522 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02397/0.07895, allocations: 16.21 MB / 0.568 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.08171, allocations: 111 kB / 0.5681 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.08518, allocations: 1.105 MB / 0.5692 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008321/0.0935, allocations: 3.096 MB / 0.5722 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.09811, allocations: 1.62 MB / 0.5738 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005856/0.104, allocations: 4.331 MB / 0.578 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009198/0.1049, allocations: 375.2 kB / 0.5784 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.1096, allocations: 2.333 MB / 0.5806 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.1119, allocations: 1.289 MB / 0.5819 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.1123, allocations: 192 kB / 0.5821 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004213/0.1165, allocations: 1.52 MB / 0.5836 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005738/0.1171, allocations: 0.4977 MB / 0.5841 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.1186, allocations: 0.9079 MB / 0.5849 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006189/0.1248, allocations: 3.898 MB / 0.5888 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1248, allocations: 0 / 0.5888 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1248, allocations: 0 / 0.5888 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.954e-05/0.1249, allocations: 4 kB / 0.5888 GB, free: 12.97 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.005607/0.1305, allocations: 2.986 MB / 0.5917 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1305, allocations: 12.03 kB / 0.5917 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.1315, allocations: 347.1 kB / 0.592 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.134, allocations: 1.374 MB / 0.5934 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.1341, allocations: 144.1 kB / 0.5935 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.1344, allocations: 188.4 kB / 0.5937 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/0.138, allocations: 2.235 MB / 0.5959 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.138, allocations: 4.188 kB / 0.5959 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.1382, allocations: 84.11 kB / 0.5959 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.1382, allocations: 44 kB / 0.596 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/0.142, allocations: 2.294 MB / 0.5982 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008586/0.1505, allocations: 5.056 MB / 0.6032 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.1537, allocations: 1.789 MB / 0.6049 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.1552, allocations: 0.8854 MB / 0.6058 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005964/0.1612, allocations: 2.781 MB / 0.6085 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/0.1631, allocations: 1.101 MB / 0.6096 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=200): time 4.198e-06/0.1631, allocations: 4 kB / 0.6096 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=200): time 0.006016/0.1691, allocations: 2.738 MB / 0.6122 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1692, allocations: 154.5 kB / 0.6124 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.1707, allocations: 1.157 MB / 0.6135 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.1708, allocations: 61.8 kB / 0.6136 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007746/0.1716, allocations: 0.8795 MB / 0.6144 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006042/0.1722, allocations: 0.6931 MB / 0.6151 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000477/0.1727, allocations: 319.5 kB / 0.6154 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1728, allocations: 301.1 kB / 0.6157 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.174, allocations: 0.6654 MB / 0.6164 GB, free: 320 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.1756, allocations: 1.002 MB / 0.6173 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003008/0.1786, allocations: 1.66 MB / 0.619 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.1786, allocations: 4 kB / 0.619 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004217/0.1828, allocations: 2.154 MB / 0.6211 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.1829, allocations: 39.73 kB / 0.6211 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1829, allocations: 4.219 kB / 0.6211 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/0.1834, allocations: 166.4 kB / 0.6213 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.1848, allocations: 383.5 kB / 0.6216 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/0.189, allocations: 4.455 MB / 0.626 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.1901, allocations: 158.8 kB / 0.6261 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/0.1903, allocations: 83.97 kB / 0.6262 GB, free: 5.699 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0007215/0.191, allocations: 353.5 kB / 0.6265 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.1913, allocations: 202.7 kB / 0.6267 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005714/0.1971, allocations: 3.105 MB / 0.6298 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.1971, allocations: 23.98 kB / 0.6298 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1971, allocations: 8 kB / 0.6298 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.1971, allocations: 15.89 kB / 0.6298 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007136/0.2043, allocations: 4.032 MB / 0.6338 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.2043, allocations: 0 / 0.6338 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.2056, allocations: 379.7 kB / 0.6341 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/0.2061, allocations: 162.4 kB / 0.6343 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.2062, allocations: 71.89 kB / 0.6343 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00399/0.2102, allocations: 4.427 MB / 0.6387 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2102, allocations: 192 / 0.6387 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/0.2159, allocations: 3.213 MB / 0.6418 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/0.2167, allocations: 437.8 kB / 0.6422 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.217, allocations: 40 kB / 0.6423 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/0.2178, allocations: 59.97 kB / 0.6423 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.2181, allocations: 173.6 kB / 0.6425 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.2183, allocations: 83.95 kB / 0.6426 GB, free: 4.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001042/0.2193, allocations: 0.7815 MB / 0.6433 GB, free: 3.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2193, allocations: 0 / 0.6433 GB, free: 3.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002022/0.2213, allocations: 0.8654 MB / 0.6442 GB, free: 2.945 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.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 (213): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.00113/0.2225, allocations: 0.7994 MB / 0.6449 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003745/0.2262, allocations: 2.131 MB / 0.647 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2262, allocations: 0 / 0.647 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.2283, allocations: 1.308 MB / 0.6483 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/0.2321, allocations: 0.8463 MB / 0.6491 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009444/0.2415, allocations: 4.202 MB / 0.6532 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009187/0.2424, allocations: 0.8893 MB / 0.6541 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001526/0.2439, allocations: 477.1 kB / 0.6546 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000551/0.2445, allocations: 228.4 kB / 0.6548 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/0.2445, allocations: 0 / 0.6548 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.2732/0.5177, allocations: 43.39 MB / 0.6971 GB, free: 171.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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: 7.00915864109993]