Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.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.001665/0.001665, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001862/0.001862, allocations: 166.2 kB / 22.46 MB, free: 5.379 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.487/1.487, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.036/1.036, allocations: 116 MB / 375.2 MB, free: 7.508 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5537 GB, free: 13.64 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.385e-05, allocations: 8.141 kB / 0.5537 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.0678/0.06783, allocations: 52.12 MB / 0.6046 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02729/0.09512, allocations: 17.43 MB / 0.6217 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002464/0.09759, allocations: 114.9 kB / 0.6218 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002842/0.1004, allocations: 0.8217 MB / 0.6226 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006129/0.1066, allocations: 1.897 MB / 0.6244 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005043/0.1116, allocations: 1.412 MB / 0.6258 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004903/0.1165, allocations: 2.954 MB / 0.6287 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009291/0.1174, allocations: 303 kB / 0.629 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/0.1212, allocations: 1.593 MB / 0.6305 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.1227, allocations: 0.7631 MB / 0.6313 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002969/0.123, allocations: 128 kB / 0.6314 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.1266, allocations: 1.142 MB / 0.6325 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.1271, allocations: 362.1 kB / 0.6329 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.1284, allocations: 0.6349 MB / 0.6335 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006343/0.1347, allocations: 2.792 MB / 0.6362 GB, free: 8.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.577e-06/0.1347, allocations: 7.938 kB / 0.6362 GB, free: 8.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.677e-06/0.1347, allocations: 7.922 kB / 0.6362 GB, free: 8.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.243e-05/0.1348, allocations: 0 / 0.6362 GB, free: 8.844 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005269/0.1401, allocations: 2.443 MB / 0.6386 GB, free: 6.355 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1401, allocations: 8.031 kB / 0.6386 GB, free: 6.348 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/0.1409, allocations: 278.4 kB / 0.6389 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.1436, allocations: 1.267 MB / 0.6401 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.97e-05/0.1437, allocations: 86.33 kB / 0.6402 GB, free: 4.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1439, allocations: 123.9 kB / 0.6403 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.1464, allocations: 1.33 MB / 0.6416 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.1464, allocations: 3.938 kB / 0.6416 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.1465, allocations: 48 kB / 0.6417 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.1465, allocations: 31.94 kB / 0.6417 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.1486, allocations: 1.153 MB / 0.6428 GB, free: 1.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009747/0.1584, allocations: 3.488 MB / 0.6462 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/0.1606, allocations: 0.8457 MB / 0.6471 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009083/0.1615, allocations: 413.3 kB / 0.6475 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004914/0.1664, allocations: 1.485 MB / 0.6489 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.281e-05/0.1665, allocations: 43.56 kB / 0.649 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 3.857e-06/0.1665, allocations: 0 / 0.649 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.003948/0.1704, allocations: 1.443 MB / 0.6504 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1705, allocations: 64.41 kB / 0.6504 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.1725, allocations: 1.31 MB / 0.6517 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.1726, allocations: 41.7 kB / 0.6517 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007751/0.1734, allocations: 0.8285 MB / 0.6526 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.1738, allocations: 364.8 kB / 0.6529 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.174, allocations: 182.6 kB / 0.6531 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.1742, allocations: 345.9 kB / 0.6534 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.1748, allocations: 289.9 kB / 0.6537 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/0.1757, allocations: 0.5457 MB / 0.6542 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.1772, allocations: 0.7968 MB / 0.655 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1772, allocations: 0 / 0.655 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002585/0.1798, allocations: 1.166 MB / 0.6561 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.1798, allocations: 4 kB / 0.6561 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.1798, allocations: 4 kB / 0.6561 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/0.1805, allocations: 174.6 kB / 0.6563 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.1813, allocations: 199.7 kB / 0.6565 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/0.186, allocations: 4.415 MB / 0.6608 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.1872, allocations: 87.34 kB / 0.6609 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.1874, allocations: 43.98 kB / 0.6609 GB, free: 14.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0007394/0.1882, allocations: 281.7 kB / 0.6612 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005554/0.1887, allocations: 186.8 kB / 0.6614 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.1919, allocations: 1.553 MB / 0.6629 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.1919, allocations: 12 kB / 0.6629 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1919, allocations: 0 / 0.6629 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.1919, allocations: 3.984 kB / 0.6629 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.1963, allocations: 2.164 MB / 0.665 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1963, allocations: 192 / 0.665 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/0.1969, allocations: 159.8 kB / 0.6652 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/0.1975, allocations: 174.5 kB / 0.6653 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/0.1976, allocations: 35.92 kB / 0.6654 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/0.2022, allocations: 4.416 MB / 0.6697 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2022, allocations: 3.984 kB / 0.6697 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.2056, allocations: 1.528 MB / 0.6712 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/0.2064, allocations: 266.4 kB / 0.6714 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.2065, allocations: 27.89 kB / 0.6715 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.2071, allocations: 23.98 kB / 0.6715 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.2074, allocations: 88.78 kB / 0.6716 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/0.2075, allocations: 35.98 kB / 0.6716 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001436/0.2089, allocations: 0.9108 MB / 0.6725 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2089, allocations: 0 / 0.6725 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00193/0.2108, allocations: 0.5808 MB / 0.6731 GB, free: 1.812 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001127/0.212, allocations: 0.6659 MB / 0.6737 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.2143, allocations: 1.114 MB / 0.6748 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.2143, allocations: 0 / 0.6748 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.2156, allocations: 0.7683 MB / 0.6756 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/0.2193, allocations: 0.672 MB / 0.6762 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00723/0.2265, allocations: 2.95 MB / 0.6791 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/0.2274, allocations: 0.7142 MB / 0.6798 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001338/0.2287, allocations: 289.6 kB / 0.6801 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.2291, allocations: 132.5 kB / 0.6802 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.573e-06/0.2291, allocations: 0 / 0.6802 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.3715/0.6005, allocations: 31.91 MB / 0.7114 GB, free: 125.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.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.36307730525732]