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.001512/0.001512, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001645/0.001645, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.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 0.7341/0.7341, allocations: 100.3 MB / 412.7 MB, free: 3.648 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: "" <> 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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 90.77 kB / 0.5633 GB, free: 35.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1191, allocations: 74.47 MB / 0.636 GB, free: 7.637 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.0431/0.1622, allocations: 37.81 MB / 0.6729 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02/0.1822, allocations: 15.2 MB / 0.6878 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.1835, allocations: 67.38 kB / 0.6878 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.1857, allocations: 0.96 MB / 0.6888 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.1893, allocations: 1.387 MB / 0.6901 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.1922, allocations: 1.054 MB / 0.6911 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002757/0.195, allocations: 1.961 MB / 0.6931 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004777/0.1955, allocations: 219.5 kB / 0.6933 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.1973, allocations: 1.086 MB / 0.6943 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008453/0.1982, allocations: 0.7113 MB / 0.695 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.1985, allocations: 92 kB / 0.6951 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.2007, allocations: 0.8935 MB / 0.696 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.2009, allocations: 330.5 kB / 0.6963 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.2017, allocations: 0.726 MB / 0.697 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.2047, allocations: 2.12 MB / 0.6991 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.2047, allocations: 0 / 0.6991 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2047, allocations: 0 / 0.6991 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.2047, allocations: 4 kB / 0.6991 GB, free: 6.766 MB / 0.5294 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.003273/0.208, allocations: 2.03 MB / 0.7011 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2081, allocations: 8.031 kB / 0.7011 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.2082, allocations: 139 kB / 0.7012 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.2084, allocations: 198.9 kB / 0.7014 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.2104, allocations: 1.127 MB / 0.7025 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.2104, allocations: 58 kB / 0.7025 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.2105, allocations: 84 kB / 0.7026 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.212, allocations: 0.8649 MB / 0.7035 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.212, allocations: 4 kB / 0.7035 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.2121, allocations: 32 kB / 0.7035 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2121, allocations: 23.94 kB / 0.7035 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2135, allocations: 0.8159 MB / 0.7043 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/0.2181, allocations: 3.557 MB / 0.7078 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.2191, allocations: 0.572 MB / 0.7084 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.2196, allocations: 306.6 kB / 0.7086 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002473/0.222, allocations: 1.291 MB / 0.7099 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.2221, allocations: 35.22 kB / 0.7099 GB, free: 11.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 1.894e-06/0.2221, allocations: 4 kB / 0.7099 GB, free: 11.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002511/0.2246, allocations: 1.088 MB / 0.711 GB, free: 10.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.2247, allocations: 64 kB / 0.7111 GB, free: 9.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.2263, allocations: 1.341 MB / 0.7124 GB, free: 8.645 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.2263, allocations: 41.7 kB / 0.7124 GB, free: 8.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/0.2269, allocations: 0.6362 MB / 0.713 GB, free: 7.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.2271, allocations: 261.8 kB / 0.7133 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.2273, allocations: 142.5 kB / 0.7134 GB, free: 7.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2274, allocations: 334 kB / 0.7137 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.2278, allocations: 213.9 kB / 0.7139 GB, free: 7.008 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.2284, allocations: 314.2 kB / 0.7142 GB, free: 6.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2294, allocations: 0.5342 MB / 0.7148 GB, free: 6.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2294, allocations: 0 / 0.7148 GB, free: 6.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001556/0.231, allocations: 0.8336 MB / 0.7156 GB, free: 5.273 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.231, allocations: 11.94 kB / 0.7156 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.231, allocations: 192 / 0.7156 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/0.2315, allocations: 113.6 kB / 0.7157 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.232, allocations: 143.8 kB / 0.7158 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.2347, allocations: 3.007 MB / 0.7188 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.2353, allocations: 71.52 kB / 0.7188 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.2353, allocations: 32.06 kB / 0.7189 GB, free: 1.668 MB / 0.545 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.0004191/0.2358, allocations: 323.8 kB / 0.7192 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.236, allocations: 162.9 kB / 0.7193 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.238, allocations: 1.139 MB / 0.7205 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.238, allocations: 8 kB / 0.7205 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.238, allocations: 4 kB / 0.7205 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.238, allocations: 3.984 kB / 0.7205 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.2413, allocations: 1.995 MB / 0.7224 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2413, allocations: 0 / 0.7224 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.2418, allocations: 119.9 kB / 0.7225 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.2421, allocations: 117.7 kB / 0.7226 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.2421, allocations: 23.98 kB / 0.7227 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.245, allocations: 3.024 MB / 0.7256 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.245, allocations: 0 / 0.7256 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.247, allocations: 1.23 MB / 0.7268 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.2476, allocations: 276.6 kB / 0.7271 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.2477, allocations: 23.94 kB / 0.7271 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.2481, allocations: 20 kB / 0.7271 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2482, allocations: 68.47 kB / 0.7272 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.2483, allocations: 27.98 kB / 0.7272 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001225/0.2495, allocations: 0.9506 MB / 0.7281 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2495, allocations: 0 / 0.7281 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001026/0.2505, allocations: 431.1 kB / 0.7286 GB, free: 7.383 MB / 0.5606 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.00426/0.2548, allocations: 2.43 MB / 0.7309 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.2563, allocations: 0.7997 MB / 0.7317 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2563, allocations: 0 / 0.7317 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.2572, allocations: 0.5477 MB / 0.7322 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.2588, allocations: 420.8 kB / 0.7326 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.2726, allocations: 9.172 MB / 0.7416 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/0.2734, allocations: 1.212 MB / 0.7428 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000804/0.2742, allocations: 253.7 kB / 0.743 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/0.2749, allocations: 0.5618 MB / 0.7436 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.2749, allocations: 0 / 0.7436 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3401/0.6151, allocations: 35.17 MB / 0.7779 GB, free: 98.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/15.74, allocations: 8.672 kB / 0.7779 GB, free: 98.68 MB / 0.5762 GB " [Timeout remaining time 644] (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/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: 19.251171821029857]