Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001688/0.001688, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002076/0.002076, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8021/0.8021, allocations: 94.62 MB / 407.8 MB, free: 8.871 MB / 318.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/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_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="cs",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.002419/0.002419, allocations: 84.59 kB / 0.5557 GB, free: 38.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1456, allocations: 73.05 MB / 0.627 GB, free: 212 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04009/0.1857, allocations: 34.18 MB / 0.6604 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.2036, allocations: 13.76 MB / 0.6739 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.205, allocations: 67.38 kB / 0.6739 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.2073, allocations: 0.8861 MB / 0.6748 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.2114, allocations: 1.371 MB / 0.6761 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.2149, allocations: 1.022 MB / 0.6771 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003405/0.2183, allocations: 1.961 MB / 0.679 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005973/0.2189, allocations: 227.4 kB / 0.6793 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.2212, allocations: 1.078 MB / 0.6803 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.2225, allocations: 0.7035 MB / 0.681 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.2229, allocations: 92 kB / 0.6811 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.2255, allocations: 0.8077 MB / 0.6819 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.2261, allocations: 334.5 kB / 0.6822 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.2273, allocations: 0.563 MB / 0.6827 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.2324, allocations: 2.112 MB / 0.6848 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2324, allocations: 0 / 0.6848 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2324, allocations: 4 kB / 0.6848 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.16e-05/0.2325, allocations: 0 / 0.6848 GB, free: 4.816 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.004703/0.2372, allocations: 2.036 MB / 0.6868 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2372, allocations: 8.031 kB / 0.6868 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.804e-05/0.2373, allocations: 22.19 kB / 0.6868 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.2375, allocations: 127.1 kB / 0.687 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006134/0.2381, allocations: 218.7 kB / 0.6872 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.2406, allocations: 1.119 MB / 0.6883 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.2407, allocations: 66 kB / 0.6883 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.2408, allocations: 87.89 kB / 0.6884 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.2425, allocations: 0.9034 MB / 0.6893 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.2425, allocations: 0 / 0.6893 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.2426, allocations: 31.94 kB / 0.6893 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.2426, allocations: 20 kB / 0.6893 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.2441, allocations: 0.8042 MB / 0.6901 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.2489, allocations: 2.327 MB / 0.6924 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.2502, allocations: 0.6124 MB / 0.693 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005677/0.2508, allocations: 298.7 kB / 0.6933 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002678/0.2535, allocations: 1.14 MB / 0.6944 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.2535, allocations: 39.22 kB / 0.6944 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.2535, allocations: 0 / 0.6944 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002788/0.2563, allocations: 1.076 MB / 0.6955 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.2564, allocations: 56.06 kB / 0.6955 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.2584, allocations: 1.344 MB / 0.6968 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.2585, allocations: 33.7 kB / 0.6969 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/0.2591, allocations: 0.6362 MB / 0.6975 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.2593, allocations: 265.8 kB / 0.6977 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.2595, allocations: 142.6 kB / 0.6979 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2597, allocations: 326 kB / 0.6982 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.2601, allocations: 205.9 kB / 0.6984 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.2607, allocations: 371.4 kB / 0.6987 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.2618, allocations: 0.5436 MB / 0.6993 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2618, allocations: 4 kB / 0.6993 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001738/0.2635, allocations: 0.8335 MB / 0.7001 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2636, allocations: 4 kB / 0.7001 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.2636, allocations: 7.984 kB / 0.7001 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/0.2641, allocations: 105.8 kB / 0.7002 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.2646, allocations: 139.8 kB / 0.7003 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.2676, allocations: 2.989 MB / 0.7033 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000611/0.2682, allocations: 71.44 kB / 0.7033 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.2683, allocations: 28 kB / 0.7034 GB, free: 1.219 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0005387/0.2689, allocations: 325.6 kB / 0.7037 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/0.2691, allocations: 162.9 kB / 0.7038 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.2713, allocations: 1.098 MB / 0.7049 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2713, allocations: 8 kB / 0.7049 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2713, allocations: 0 / 0.7049 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.2713, allocations: 3.984 kB / 0.7049 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.2746, allocations: 1.791 MB / 0.7066 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.2746, allocations: 4 kB / 0.7067 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.275, allocations: 111.8 kB / 0.7068 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.2754, allocations: 121.6 kB / 0.7069 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.2755, allocations: 23.98 kB / 0.7069 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00293/0.2784, allocations: 2.993 MB / 0.7098 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2784, allocations: 0 / 0.7098 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.2806, allocations: 1.193 MB / 0.711 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005593/0.2812, allocations: 272.6 kB / 0.7112 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.2814, allocations: 23.94 kB / 0.7113 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.2819, allocations: 19.98 kB / 0.7113 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.282, allocations: 56.73 kB / 0.7113 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.2821, allocations: 27.98 kB / 0.7114 GB, free: 8.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001467/0.2836, allocations: 0.9622 MB / 0.7123 GB, free: 7.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2836, allocations: 0 / 0.7123 GB, free: 7.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001128/0.2847, allocations: 387.2 kB / 0.7127 GB, free: 7.293 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 (63): * Single equations (assignments): 61 * 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.004311/0.289, allocations: 2.36 MB / 0.715 GB, free: 5.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.2906, allocations: 0.7803 MB / 0.7157 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2906, allocations: 3.938 kB / 0.7157 GB, free: 4.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009197/0.2915, allocations: 0.5321 MB / 0.7163 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.2934, allocations: 409.4 kB / 0.7167 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.3095, allocations: 9.105 MB / 0.7256 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/0.3103, allocations: 0.6221 MB / 0.7262 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001042/0.3113, allocations: 233.7 kB / 0.7264 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009458/0.3123, allocations: 0.5578 MB / 0.7269 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/0.3123, allocations: 0 / 0.7269 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4027/0.7149, allocations: 35.59 MB / 0.7617 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.02, allocations: 4.172 kB / 0.7617 GB, free: 116.7 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 20.002743493998423]