Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.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.001327/0.001327, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00143/0.00143, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.93 MB / 358.8 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest 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: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 65.47 MB / 0.5569 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.167/0.4806, allocations: 132.8 MB / 0.6866 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.4824, allocations: 1.199 MB / 0.6878 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.4824, allocations: 0 / 0.6878 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.4827, allocations: 35.89 kB / 0.6878 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.4856, allocations: 1.048 MB / 0.6888 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.218e-06/0.4856, allocations: 0 / 0.6888 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.4857, allocations: 55.66 kB / 0.6889 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.4857, allocations: 0 / 0.6889 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.4858, allocations: 15.98 kB / 0.6889 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.4858, allocations: 27.84 kB / 0.6889 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.4858, allocations: 0 / 0.6889 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002837/0.4887, allocations: 1.579 MB / 0.6905 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.4887, allocations: 19.86 kB / 0.6905 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.4888, allocations: 11.94 kB / 0.6905 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.4902, allocations: 0.8768 MB / 0.6914 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4903, allocations: 0 / 0.6914 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4903, allocations: 3.938 kB / 0.6914 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.4903, allocations: 0 / 0.6914 GB, free: 13.37 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007594/0.491, allocations: 428.6 kB / 0.6918 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4911, allocations: 8.031 kB / 0.6918 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.4911, allocations: 34.75 kB / 0.6918 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.4911, allocations: 8.922 kB / 0.6918 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.183e-05/0.4912, allocations: 117.5 kB / 0.6919 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.4913, allocations: 4 kB / 0.6919 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.4913, allocations: 7.938 kB / 0.6919 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.4914, allocations: 73.66 kB / 0.692 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4914, allocations: 0 / 0.692 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4914, allocations: 4 kB / 0.692 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.4915, allocations: 8 kB / 0.692 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.4916, allocations: 51.97 kB / 0.6921 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.492, allocations: 271.8 kB / 0.6923 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.806e-05/0.4921, allocations: 34.67 kB / 0.6924 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.4921, allocations: 12.84 kB / 0.6924 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.4923, allocations: 27.92 kB / 0.6924 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.4923, allocations: 34.5 kB / 0.6924 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4923, allocations: 0 / 0.6924 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001745/0.4925, allocations: 61.62 kB / 0.6925 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.4925, allocations: 55.39 kB / 0.6925 GB, free: 12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.4926, allocations: 97.86 kB / 0.6926 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4926, allocations: 29.7 kB / 0.6927 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.4927, allocations: 95.97 kB / 0.6928 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.4927, allocations: 23.83 kB / 0.6928 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.4928, allocations: 21.83 kB / 0.6928 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4929, allocations: 322.8 kB / 0.6931 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.4929, allocations: 8 kB / 0.6931 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.493, allocations: 35.42 kB / 0.6931 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.884e-05/0.493, allocations: 43.38 kB / 0.6932 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.493, allocations: 0 / 0.6932 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001332/0.4932, allocations: 89.5 kB / 0.6933 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4932, allocations: 6.812 kB / 0.6933 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4932, allocations: 0 / 0.6933 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4932, allocations: 4 kB / 0.6933 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.4933, allocations: 16.41 kB / 0.6933 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4933, allocations: 4.156 kB / 0.6933 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.4933, allocations: 0 / 0.6933 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4933, allocations: 4 kB / 0.6933 GB, free: 11.15 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.525e-05/0.4934, allocations: 113.8 kB / 0.6934 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.4934, allocations: 3.938 kB / 0.6934 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.4936, allocations: 85.25 kB / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4936, allocations: 0 / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4936, allocations: 0 / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4936, allocations: 0 / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.4938, allocations: 128.8 kB / 0.6936 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4938, allocations: 3.938 kB / 0.6936 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.4938, allocations: 11.98 kB / 0.6936 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4938, allocations: 0 / 0.6936 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4938, allocations: 11.94 kB / 0.6937 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.4938, allocations: 4 kB / 0.6937 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4938, allocations: 0 / 0.6937 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.494, allocations: 143.5 kB / 0.6938 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.494, allocations: 11.88 kB / 0.6938 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.494, allocations: 0 / 0.6938 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.4941, allocations: 4 kB / 0.6938 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.4941, allocations: 7.984 kB / 0.6938 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.4941, allocations: 4 kB / 0.6938 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.4941, allocations: 75.28 kB / 0.6939 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4941, allocations: 0 / 0.6939 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004853/0.4946, allocations: 151.5 kB / 0.694 GB, free: 10.33 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.4957, allocations: 0.8991 MB / 0.6949 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.791e-05/0.4958, allocations: 23.98 kB / 0.6949 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4958, allocations: 0 / 0.6949 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.4958, allocations: 15.92 kB / 0.695 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4961, allocations: 8 kB / 0.695 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.4966, allocations: 241.8 kB / 0.6952 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.97e-05/0.4967, allocations: 71.27 kB / 0.6953 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.675e-05/0.4967, allocations: 12.25 kB / 0.6953 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.4968, allocations: 15.44 kB / 0.6953 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.4968, allocations: 0 / 0.6953 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.5276, allocations: 5.142 MB / 0.7003 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.95, allocations: 2.812 kB / 0.7003 GB, free: 3.941 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable s in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.889204172883183]