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.001769/0.001769, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.002152/0.002152, allocations: 211.6 kB / 24.51 MB, free: 3.914 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2232/0.2232, allocations: 44.94 MB / 359.6 MB, free: 6.062 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",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.002292/0.002292, allocations: 68.17 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3399, allocations: 65.47 MB / 0.5577 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1754/0.5152, allocations: 132.7 MB / 0.6873 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.5173, allocations: 1.195 MB / 0.6884 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.5173, allocations: 0 / 0.6884 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.5176, allocations: 39.81 kB / 0.6885 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.521, allocations: 1.044 MB / 0.6895 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.511e-06/0.521, allocations: 0 / 0.6895 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.5211, allocations: 55.66 kB / 0.6895 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.5212, allocations: 3.984 kB / 0.6896 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.5212, allocations: 15.98 kB / 0.6896 GB, free: 0 / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.5213, allocations: 27.86 kB / 0.6896 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.5213, allocations: 0 / 0.6896 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.5245, allocations: 1.626 MB / 0.6912 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.5246, allocations: 23.91 kB / 0.6912 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.5246, allocations: 11.94 kB / 0.6912 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.5265, allocations: 0.869 MB / 0.6921 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5265, allocations: 3.938 kB / 0.6921 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5265, allocations: 0 / 0.6921 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.5265, allocations: 4 kB / 0.6921 GB, free: 13.43 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.0009704/0.5275, allocations: 432.6 kB / 0.6925 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.5275, allocations: 8.031 kB / 0.6925 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.817e-05/0.5276, allocations: 8.188 kB / 0.6925 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.5276, allocations: 34.75 kB / 0.6925 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.5276, allocations: 4.938 kB / 0.6925 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.5277, allocations: 117.2 kB / 0.6927 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5278, allocations: 4 kB / 0.6927 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.5278, allocations: 3.984 kB / 0.6927 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.5279, allocations: 77.61 kB / 0.6927 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.528, allocations: 0 / 0.6927 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.528, allocations: 0 / 0.6927 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.528, allocations: 4 kB / 0.6927 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.5281, allocations: 59.91 kB / 0.6928 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.5286, allocations: 275.8 kB / 0.6931 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.042e-05/0.5286, allocations: 26.58 kB / 0.6931 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.5287, allocations: 20.88 kB / 0.6931 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.5288, allocations: 31.92 kB / 0.6931 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.5289, allocations: 30.56 kB / 0.6932 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5289, allocations: 0 / 0.6932 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.5291, allocations: 57.69 kB / 0.6932 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5291, allocations: 51.41 kB / 0.6933 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.5292, allocations: 97.84 kB / 0.6934 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.5292, allocations: 25.7 kB / 0.6934 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.5293, allocations: 104.1 kB / 0.6935 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.5293, allocations: 19.77 kB / 0.6935 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.5293, allocations: 21.72 kB / 0.6935 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5295, allocations: 314.8 kB / 0.6938 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.5295, allocations: 11.98 kB / 0.6938 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.5296, allocations: 35.38 kB / 0.6939 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.5296, allocations: 51.36 kB / 0.6939 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5296, allocations: 0 / 0.6939 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001265/0.5298, allocations: 81.5 kB / 0.694 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5298, allocations: 8 kB / 0.694 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5298, allocations: 0 / 0.694 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5298, allocations: 4 kB / 0.694 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.5299, allocations: 12 kB / 0.694 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.5299, allocations: 0 / 0.694 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.5299, allocations: 4 kB / 0.694 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.5299, allocations: 7.984 kB / 0.694 GB, free: 11.21 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.671e-05/0.53, allocations: 117.9 kB / 0.6941 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.53, allocations: 8.359 kB / 0.6941 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.5302, allocations: 73.42 kB / 0.6942 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5302, allocations: 4 kB / 0.6942 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5302, allocations: 0 / 0.6942 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5302, allocations: 0 / 0.6942 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.5304, allocations: 144.6 kB / 0.6944 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5304, allocations: 0 / 0.6944 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.5304, allocations: 12 kB / 0.6944 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5304, allocations: 3.938 kB / 0.6944 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5304, allocations: 0 / 0.6944 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5304, allocations: 0 / 0.6944 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5304, allocations: 3.984 kB / 0.6944 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.5306, allocations: 151.5 kB / 0.6945 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.5306, allocations: 0 / 0.6945 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.5306, allocations: 0 / 0.6945 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.577e-05/0.5306, allocations: 0 / 0.6945 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.5307, allocations: 4 kB / 0.6945 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.5307, allocations: 3.984 kB / 0.6945 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.5307, allocations: 87.28 kB / 0.6946 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5307, allocations: 0 / 0.6946 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005267/0.5312, allocations: 147.4 kB / 0.6948 GB, free: 10.39 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.001204/0.5324, allocations: 0.8953 MB / 0.6956 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.5325, allocations: 27.92 kB / 0.6957 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5326, allocations: 0 / 0.6957 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-05/0.5326, allocations: 12 kB / 0.6957 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.5328, allocations: 11.12 kB / 0.6957 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.5335, allocations: 257 kB / 0.6959 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.869e-05/0.5336, allocations: 63.34 kB / 0.696 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.5337, allocations: 20.17 kB / 0.696 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.5337, allocations: 15.91 kB / 0.696 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.5337, allocations: 0 / 0.696 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.5602, allocations: 4.813 MB / 0.7007 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.1, allocations: 6.234 kB / 0.7007 GB, free: 4.328 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.32953142200131]