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.001343/0.001343, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001507/0.001507, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2248/0.2248, allocations: 44.93 MB / 358.8 MB, free: 6.039 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.002046/0.002046, allocations: 67.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3176, allocations: 65.48 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1674/0.485, allocations: 132.8 MB / 0.6866 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.4871, allocations: 1.195 MB / 0.6878 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.4871, allocations: 0 / 0.6878 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.4875, allocations: 39.83 kB / 0.6878 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.4907, allocations: 1.044 MB / 0.6888 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.471e-06/0.4907, allocations: 3.938 kB / 0.6888 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.4908, allocations: 51.72 kB / 0.6889 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.4908, allocations: 3.984 kB / 0.6889 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.4909, allocations: 15.98 kB / 0.6889 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.491, allocations: 27.84 kB / 0.6889 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.491, allocations: 0 / 0.6889 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.494, allocations: 1.579 MB / 0.6905 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.494, allocations: 15.92 kB / 0.6905 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.494, allocations: 11.94 kB / 0.6905 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.4958, allocations: 0.8806 MB / 0.6914 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4958, allocations: 0 / 0.6914 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4958, allocations: 0 / 0.6914 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4958, 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.0008453/0.4967, allocations: 430.7 kB / 0.6918 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4967, allocations: 8.031 kB / 0.6918 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.4967, allocations: 38.73 kB / 0.6918 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.4968, allocations: 4.938 kB / 0.6918 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.4969, allocations: 117.4 kB / 0.6919 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4969, allocations: 7.984 kB / 0.6919 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4969, allocations: 4 kB / 0.6919 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.4971, allocations: 73.61 kB / 0.692 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4971, allocations: 0 / 0.692 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.4971, allocations: 4 kB / 0.692 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.4971, allocations: 4 kB / 0.692 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.498e-05/0.4972, allocations: 51.97 kB / 0.6921 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.4976, allocations: 271.8 kB / 0.6923 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.4977, allocations: 42.55 kB / 0.6924 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.4977, allocations: 8.859 kB / 0.6924 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.4979, allocations: 32 kB / 0.6924 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4979, allocations: 38.55 kB / 0.6924 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.4979, allocations: 4 kB / 0.6924 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001843/0.4981, allocations: 53.62 kB / 0.6925 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.4982, allocations: 51.41 kB / 0.6925 GB, free: 12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.4983, allocations: 101.9 kB / 0.6926 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.4983, allocations: 25.7 kB / 0.6927 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.4983, allocations: 96.08 kB / 0.6928 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.4983, allocations: 23.78 kB / 0.6928 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.4984, allocations: 25.7 kB / 0.6928 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4985, allocations: 314.8 kB / 0.6931 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.4986, allocations: 8 kB / 0.6931 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.4986, allocations: 35.42 kB / 0.6931 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.4987, allocations: 47.36 kB / 0.6932 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4987, allocations: 0 / 0.6932 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001331/0.4988, allocations: 81.55 kB / 0.6933 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4988, allocations: 8 kB / 0.6933 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4988, allocations: 0 / 0.6933 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4989, allocations: 4 kB / 0.6933 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.4989, allocations: 15.98 kB / 0.6933 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4989, allocations: 4 kB / 0.6933 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.499, allocations: 0 / 0.6933 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.499, 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.663e-05/0.4991, allocations: 113.8 kB / 0.6934 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.4991, allocations: 7.875 kB / 0.6934 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.4993, allocations: 81.39 kB / 0.6935 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4993, allocations: 0 / 0.6935 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.4993, allocations: 4 kB / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4993, allocations: 0 / 0.6935 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.4995, allocations: 128.8 kB / 0.6936 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.4995, allocations: 7.938 kB / 0.6936 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.4995, allocations: 7.984 kB / 0.6936 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4995, allocations: 0 / 0.6936 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.4995, allocations: 8.469 kB / 0.6936 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4995, allocations: 4 kB / 0.6936 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4995, allocations: 0 / 0.6936 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.4997, allocations: 147.5 kB / 0.6938 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.4997, allocations: 11.88 kB / 0.6938 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.4997, allocations: 7.984 kB / 0.6938 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.4997, allocations: 0 / 0.6938 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.4998, allocations: 0 / 0.6938 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4998, allocations: 4 kB / 0.6938 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.898e-05/0.4998, allocations: 75.28 kB / 0.6939 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4998, allocations: 0 / 0.6939 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000515/0.5003, allocations: 155.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.00113/0.5015, allocations: 0.8992 MB / 0.6949 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.5016, allocations: 23.98 kB / 0.6949 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5016, allocations: 0 / 0.6949 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.269e-05/0.5016, allocations: 11.94 kB / 0.6949 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5018, allocations: 10.95 kB / 0.695 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.5025, allocations: 245.4 kB / 0.6952 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.5025, allocations: 67.28 kB / 0.6953 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.344e-05/0.5026, allocations: 16.19 kB / 0.6953 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.5027, allocations: 19.42 kB / 0.6953 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.5027, allocations: 3.938 kB / 0.6953 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.5338, allocations: 5.137 MB / 0.7003 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.87, allocations: 0 / 0.7003 GB, free: 3.938 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: 14.74383439309895]