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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 107.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7085/0.7085, allocations: 94.59 MB / 397.3 MB, free: 296 kB / 302.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 89.62 kB / 0.5416 GB, free: 42.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1073, allocations: 71.86 MB / 0.6118 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04008/0.1473, allocations: 37.33 MB / 0.6482 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01946/0.1668, allocations: 14.94 MB / 0.6628 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.168, allocations: 47.69 kB / 0.6629 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.1701, allocations: 0.9562 MB / 0.6638 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003505/0.1736, allocations: 1.34 MB / 0.6651 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.1764, allocations: 1.023 MB / 0.6661 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.1791, allocations: 1.926 MB / 0.668 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.1796, allocations: 222.9 kB / 0.6682 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.1813, allocations: 1.055 MB / 0.6692 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.1825, allocations: 0.7074 MB / 0.6699 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.1828, allocations: 92 kB / 0.67 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.1851, allocations: 0.8779 MB / 0.6709 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003884/0.1855, allocations: 322.5 kB / 0.6712 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009411/0.1864, allocations: 0.7143 MB / 0.6719 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.19, allocations: 2.116 MB / 0.6739 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.19, allocations: 4 kB / 0.6739 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.19, allocations: 0 / 0.6739 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.278e-05/0.19, allocations: 3.938 kB / 0.6739 GB, free: 10.18 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003482/0.1935, allocations: 2.089 MB / 0.676 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1935, allocations: 12.03 kB / 0.676 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.1937, allocations: 123.1 kB / 0.6761 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/0.1939, allocations: 194.9 kB / 0.6763 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.196, allocations: 1.222 MB / 0.6775 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.196, allocations: 58 kB / 0.6775 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.1962, allocations: 91.95 kB / 0.6776 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.1975, allocations: 0.8532 MB / 0.6785 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1975, allocations: 0 / 0.6785 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.1976, allocations: 28 kB / 0.6785 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1976, allocations: 27.88 kB / 0.6785 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.199, allocations: 0.8003 MB / 0.6793 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.2035, allocations: 3.599 MB / 0.6828 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009478/0.2044, allocations: 0.5759 MB / 0.6834 GB, free: 56 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/0.205, allocations: 302.8 kB / 0.6837 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003757/0.2088, allocations: 3.404 MB / 0.687 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2088, allocations: 39.16 kB / 0.687 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 1.814e-06/0.2088, allocations: 4 kB / 0.687 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002537/0.2114, allocations: 1.235 MB / 0.6882 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.2114, allocations: 64 kB / 0.6883 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.2131, allocations: 1.324 MB / 0.6896 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.2132, allocations: 37.7 kB / 0.6896 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005861/0.2137, allocations: 0.6283 MB / 0.6902 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.2139, allocations: 265.6 kB / 0.6905 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.2141, allocations: 150.5 kB / 0.6906 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2143, allocations: 330 kB / 0.691 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.2147, allocations: 213.9 kB / 0.6912 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.2152, allocations: 306.3 kB / 0.6915 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2162, allocations: 0.5459 MB / 0.692 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2162, allocations: 8 kB / 0.692 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001479/0.2177, allocations: 0.8221 MB / 0.6928 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2177, allocations: 11.97 kB / 0.6928 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2177, allocations: 7.984 kB / 0.6928 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004447/0.2181, allocations: 97.64 kB / 0.6929 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.2187, allocations: 139.8 kB / 0.693 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.2217, allocations: 3.216 MB / 0.6962 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.2221, allocations: 71.61 kB / 0.6962 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/0.2222, allocations: 31.98 kB / 0.6963 GB, free: 1.836 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 73 * 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.0005617/0.2227, allocations: 321.7 kB / 0.6966 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/0.223, allocations: 158.9 kB / 0.6967 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.225, allocations: 1.143 MB / 0.6979 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.225, allocations: 8 kB / 0.6979 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.225, allocations: 0 / 0.6979 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.2251, allocations: 3.984 kB / 0.6979 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.2281, allocations: 2.003 MB / 0.6998 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2281, allocations: 0 / 0.6998 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.2286, allocations: 127.8 kB / 0.6999 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.2289, allocations: 109.7 kB / 0.7 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.229, allocations: 23.98 kB / 0.7001 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.2319, allocations: 3.212 MB / 0.7032 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2319, allocations: 0 / 0.7032 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.2339, allocations: 1.237 MB / 0.7044 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.2344, allocations: 359.7 kB / 0.7048 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.2345, allocations: 12 kB / 0.7048 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.2349, allocations: 24 kB / 0.7048 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.2351, allocations: 60.5 kB / 0.7049 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.2351, allocations: 27.98 kB / 0.7049 GB, free: 8.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001192/0.2363, allocations: 0.9462 MB / 0.7058 GB, free: 7.629 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2363, allocations: 0 / 0.7058 GB, free: 7.629 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009935/0.2373, allocations: 427 kB / 0.7062 GB, free: 7.211 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 (67): * Single equations (assignments): 65 * 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.004095/0.2414, allocations: 2.428 MB / 0.7086 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.2428, allocations: 0.7955 MB / 0.7094 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.2428, allocations: 3.938 kB / 0.7094 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009161/0.2437, allocations: 0.5522 MB / 0.7099 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.2453, allocations: 403.1 kB / 0.7103 GB, free: 3.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.2582, allocations: 9.116 MB / 0.7192 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.2591, allocations: 1.204 MB / 0.7204 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006792/0.2598, allocations: 249.1 kB / 0.7206 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/0.2605, allocations: 0.5578 MB / 0.7211 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.2605, allocations: 0 / 0.7211 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/0.5786, allocations: 34.53 MB / 0.7549 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.58, allocations: 5.953 kB / 0.7549 GB, free: 124.1 MB / 0.5762 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.054273382294923]