Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001937/0.001937, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002525/0.002525, allocations: 207.4 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.96 MB / 360.8 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 83.81 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3323, allocations: 66.09 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1786/0.5109, allocations: 132.8 MB / 0.6904 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.5129, allocations: 1.293 MB / 0.6916 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.5129, allocations: 0 / 0.6916 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.5133, allocations: 43.77 kB / 0.6917 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.5162, allocations: 1.095 MB / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.5162, allocations: 7.938 kB / 0.6927 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.5163, allocations: 63.66 kB / 0.6928 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.5164, allocations: 7.984 kB / 0.6928 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.5164, allocations: 23.86 kB / 0.6928 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.5165, allocations: 35.89 kB / 0.6929 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.5165, allocations: 0 / 0.6929 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.5193, allocations: 1.606 MB / 0.6944 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.5193, allocations: 11.98 kB / 0.6944 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.5194, allocations: 23.86 kB / 0.6945 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.5209, allocations: 0.8844 MB / 0.6953 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5209, allocations: 4 kB / 0.6953 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5209, allocations: 0 / 0.6953 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5209, allocations: 0 / 0.6953 GB, free: 9.617 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007959/0.5217, allocations: 444.5 kB / 0.6958 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.5217, allocations: 8.031 kB / 0.6958 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.5218, allocations: 38.73 kB / 0.6958 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.5218, allocations: 8.891 kB / 0.6958 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.5219, allocations: 109.5 kB / 0.6959 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5219, allocations: 8 kB / 0.6959 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.522, allocations: 4 kB / 0.6959 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.5221, allocations: 85.61 kB / 0.696 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5221, allocations: 0 / 0.696 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.5221, allocations: 4 kB / 0.696 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.5222, allocations: 7.984 kB / 0.696 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.5223, allocations: 63.97 kB / 0.6961 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.5227, allocations: 287.7 kB / 0.6964 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.5228, allocations: 38.5 kB / 0.6964 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.5228, allocations: 20.97 kB / 0.6964 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.523, allocations: 35.92 kB / 0.6964 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.523, allocations: 34.56 kB / 0.6965 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.523, allocations: 0 / 0.6965 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001976/0.5232, allocations: 69.61 kB / 0.6965 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.5232, allocations: 55.41 kB / 0.6966 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.5233, allocations: 101.8 kB / 0.6967 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.5233, allocations: 29.7 kB / 0.6967 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.5234, allocations: 92.05 kB / 0.6968 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.5234, allocations: 19.8 kB / 0.6968 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.5235, allocations: 33.69 kB / 0.6969 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5236, allocations: 310.8 kB / 0.6972 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.5236, allocations: 16.48 kB / 0.6972 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.5237, allocations: 47.36 kB / 0.6972 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.206e-05/0.5237, allocations: 55.38 kB / 0.6973 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5237, allocations: 0 / 0.6973 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001288/0.5239, allocations: 77.55 kB / 0.6973 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5239, allocations: 8 kB / 0.6974 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5239, allocations: 0 / 0.6974 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5239, allocations: 4.094 kB / 0.6974 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.524, allocations: 23.92 kB / 0.6974 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.524, allocations: 4 kB / 0.6974 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.524, allocations: 3.953 kB / 0.6974 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.524, allocations: 4 kB / 0.6974 GB, free: 7.289 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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.262e-05/0.5241, allocations: 117.8 kB / 0.6975 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.5241, allocations: 7.938 kB / 0.6975 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.5243, allocations: 81.5 kB / 0.6976 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.5243, allocations: 4 kB / 0.6976 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5243, allocations: 0 / 0.6976 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5243, allocations: 3.984 kB / 0.6976 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.5245, allocations: 132.8 kB / 0.6977 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.5245, allocations: 4.047 kB / 0.6977 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.5245, allocations: 7.938 kB / 0.6977 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5245, allocations: 0 / 0.6977 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.5245, allocations: 4 kB / 0.6977 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5245, allocations: 0 / 0.6977 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5246, allocations: 0 / 0.6977 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.5247, allocations: 175.6 kB / 0.6979 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.5247, allocations: 7.922 kB / 0.6979 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.5247, allocations: 3.938 kB / 0.6979 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.5248, allocations: 0 / 0.6979 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.5248, allocations: 4 kB / 0.6979 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.5248, allocations: 11.98 kB / 0.6979 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.5249, allocations: 79.28 kB / 0.698 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5249, allocations: 0 / 0.698 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004792/0.5253, allocations: 159.4 kB / 0.6982 GB, free: 6.426 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.001035/0.5264, allocations: 0.9109 MB / 0.6991 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.5265, allocations: 39.86 kB / 0.6991 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5265, allocations: 4 kB / 0.6991 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.5265, allocations: 19.92 kB / 0.6991 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.5268, allocations: 6.5 kB / 0.6991 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.5274, allocations: 262 kB / 0.6994 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.911e-05/0.5275, allocations: 75.27 kB / 0.6994 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.01e-05/0.5276, allocations: 19.97 kB / 0.6995 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.5276, allocations: 19.44 kB / 0.6995 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.5276, allocations: 4 kB / 0.6995 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.558, allocations: 5.553 MB / 0.7049 GB, free: 15.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.18, allocations: 3.438 kB / 0.7049 GB, free: 15.53 MB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable p in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable s in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.282891613896936]