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.001473/0.001473, 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.001596/0.001596, allocations: 206.4 kB / 23.72 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2224/0.2224, allocations: 46.95 MB / 360.8 MB, free: 3.914 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.002359/0.002359, allocations: 75.88 kB / 0.4961 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3195, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1669/0.4864, allocations: 132.8 MB / 0.6904 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.4885, allocations: 1.305 MB / 0.6916 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.4885, allocations: 0 / 0.6916 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.4889, allocations: 31.83 kB / 0.6917 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.4918, allocations: 1.095 MB / 0.6927 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.659e-06/0.4918, allocations: 4 kB / 0.6927 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.4919, allocations: 59.66 kB / 0.6928 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.4919, allocations: 3.984 kB / 0.6928 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.492, allocations: 31.86 kB / 0.6928 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.4921, allocations: 31.89 kB / 0.6929 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.4921, allocations: 0 / 0.6929 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.4948, allocations: 1.606 MB / 0.6944 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.4949, allocations: 23.91 kB / 0.6944 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.4949, allocations: 11.94 kB / 0.6945 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.4962, allocations: 0.8923 MB / 0.6953 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4962, allocations: 0 / 0.6953 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4962, allocations: 0 / 0.6953 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4962, allocations: 0 / 0.6953 GB, free: 9.602 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.00071/0.497, allocations: 448.4 kB / 0.6958 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.497, allocations: 8.031 kB / 0.6958 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.497, allocations: 34.75 kB / 0.6958 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.4971, allocations: 8.891 kB / 0.6958 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4972, allocations: 121.5 kB / 0.6959 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4972, allocations: 0 / 0.6959 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.4972, allocations: 4 kB / 0.6959 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.4974, allocations: 85.61 kB / 0.696 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4974, allocations: 4 kB / 0.696 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-06/0.4974, allocations: 0 / 0.696 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.4974, allocations: 11.98 kB / 0.696 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4975, allocations: 67.91 kB / 0.6961 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.498, allocations: 287.7 kB / 0.6964 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.4981, allocations: 38.52 kB / 0.6964 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.4982, allocations: 20.97 kB / 0.6964 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.4983, allocations: 27.92 kB / 0.6964 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.4983, allocations: 30.56 kB / 0.6965 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.4983, allocations: 0 / 0.6965 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002117/0.4985, allocations: 73.61 kB / 0.6965 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.4986, allocations: 55.41 kB / 0.6966 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.4987, allocations: 101.8 kB / 0.6967 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.4987, allocations: 29.7 kB / 0.6967 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.4988, allocations: 92.05 kB / 0.6968 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.4988, allocations: 23.8 kB / 0.6968 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.4988, allocations: 25.7 kB / 0.6969 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.499, allocations: 314.8 kB / 0.6972 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.983e-05/0.499, allocations: 15.97 kB / 0.6972 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.499, allocations: 43.41 kB / 0.6972 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.095e-05/0.4991, allocations: 51.38 kB / 0.6973 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.4991, allocations: 0 / 0.6973 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001388/0.4993, allocations: 89.55 kB / 0.6974 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4993, allocations: 4 kB / 0.6974 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4993, allocations: 4 kB / 0.6974 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4993, allocations: 0 / 0.6974 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.4994, allocations: 20.48 kB / 0.6974 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.4994, allocations: 0 / 0.6974 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.4994, allocations: 7.953 kB / 0.6974 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4994, allocations: 4 kB / 0.6974 GB, free: 7.273 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.384e-05/0.4995, allocations: 117.8 kB / 0.6975 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.4996, allocations: 4.141 kB / 0.6975 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.4997, allocations: 93.23 kB / 0.6976 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4997, allocations: 0 / 0.6976 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4997, allocations: 3.984 kB / 0.6976 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4997, allocations: 3.984 kB / 0.6976 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.4999, allocations: 132.8 kB / 0.6977 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4999, allocations: 3.938 kB / 0.6977 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.4999, allocations: 12 kB / 0.6977 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.4999, allocations: 4 kB / 0.6977 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.5, allocations: 0 / 0.6977 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5, allocations: 0 / 0.6977 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5, allocations: 4 kB / 0.6978 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.5001, allocations: 155.5 kB / 0.6979 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.5001, allocations: 11.88 kB / 0.6979 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.5001, allocations: 0 / 0.6979 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.5002, allocations: 4 kB / 0.6979 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.5002, allocations: 11.97 kB / 0.6979 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.5002, allocations: 0 / 0.6979 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.5002, allocations: 79.28 kB / 0.698 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5002, allocations: 4 kB / 0.698 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004539/0.5007, allocations: 155.5 kB / 0.6982 GB, free: 6.414 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.00104/0.5017, allocations: 0.9151 MB / 0.699 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.5019, allocations: 35.92 kB / 0.6991 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5019, allocations: 4 kB / 0.6991 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.5019, allocations: 24.11 kB / 0.6991 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.5022, allocations: 10.03 kB / 0.6991 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.5028, allocations: 269.7 kB / 0.6994 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.579e-05/0.5029, allocations: 67.28 kB / 0.6994 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.569e-05/0.503, allocations: 24.12 kB / 0.6995 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.503, allocations: 19.38 kB / 0.6995 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.503, allocations: 0 / 0.6995 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.5344, allocations: 5.544 MB / 0.7049 GB, free: 15.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.38, allocations: 17.95 kB / 0.7049 GB, free: 15.51 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.329581014346331]