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.001601/0.001601, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001885/0.001885, allocations: 209 kB / 24.48 MB, free: 3.938 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.488/1.488, 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.224/0.224, allocations: 44.92 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: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") [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.002166/0.002166, allocations: 79.88 kB / 0.4942 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3291, allocations: 65.47 MB / 0.5582 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1729/0.502, allocations: 132.8 MB / 0.6878 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.5042, allocations: 1.196 MB / 0.689 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.5042, allocations: 4 kB / 0.689 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.5046, allocations: 39.83 kB / 0.689 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.5077, allocations: 1.041 MB / 0.6901 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.963e-06/0.5078, allocations: 0 / 0.6901 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.5079, allocations: 51.72 kB / 0.6901 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.508, allocations: 11.92 kB / 0.6901 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.508, allocations: 15.98 kB / 0.6901 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.5081, allocations: 27.84 kB / 0.6902 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.5081, allocations: 0 / 0.6902 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.5112, allocations: 1.579 MB / 0.6917 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.5113, allocations: 11.98 kB / 0.6917 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.5113, allocations: 11.94 kB / 0.6917 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.5132, allocations: 0.8806 MB / 0.6926 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5132, allocations: 0 / 0.6926 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5132, allocations: 0 / 0.6926 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.5132, allocations: 3.984 kB / 0.6926 GB, free: 13.34 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.0008099/0.5141, allocations: 432.6 kB / 0.693 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5141, allocations: 8.031 kB / 0.693 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.5141, allocations: 0.9375 kB / 0.693 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.5142, allocations: 117.7 kB / 0.6931 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5143, allocations: 3.938 kB / 0.6931 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.5143, allocations: 4 kB / 0.6931 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.5144, allocations: 77.61 kB / 0.6932 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.5144, allocations: 0 / 0.6932 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5145, allocations: 0 / 0.6932 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.5145, allocations: 7.984 kB / 0.6932 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.5146, allocations: 55.97 kB / 0.6933 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.515, allocations: 248.3 kB / 0.6935 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.174e-05/0.5151, allocations: 30.56 kB / 0.6935 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.5151, allocations: 12.86 kB / 0.6935 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5153, allocations: 28.08 kB / 0.6936 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.5153, allocations: 34.56 kB / 0.6936 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5153, allocations: 0 / 0.6936 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002019/0.5155, allocations: 69.53 kB / 0.6937 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.5156, allocations: 51.41 kB / 0.6937 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.5157, allocations: 97.86 kB / 0.6938 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5157, allocations: 25.7 kB / 0.6938 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5158, allocations: 99.97 kB / 0.6939 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.5158, allocations: 11.91 kB / 0.6939 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.5159, allocations: 21.72 kB / 0.694 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.5161, allocations: 318.8 kB / 0.6943 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.5161, allocations: 12 kB / 0.6943 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/0.5161, allocations: 35.42 kB / 0.6943 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.5162, allocations: 43.38 kB / 0.6943 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5162, allocations: 3.984 kB / 0.6944 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001229/0.5164, allocations: 73.52 kB / 0.6944 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.5164, allocations: 11.94 kB / 0.6944 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.5164, allocations: 4.094 kB / 0.6944 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.5164, allocations: 0 / 0.6944 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.5165, allocations: 20.09 kB / 0.6945 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5165, allocations: 3.938 kB / 0.6945 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.5165, allocations: 7.938 kB / 0.6945 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.5166, allocations: 4 kB / 0.6945 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 0.0001/0.5167, allocations: 113.8 kB / 0.6946 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.5167, allocations: 3.938 kB / 0.6946 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.5169, allocations: 81.34 kB / 0.6947 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5169, allocations: 0 / 0.6947 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.5169, allocations: 0 / 0.6947 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.5169, allocations: 0 / 0.6947 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.517, allocations: 117.3 kB / 0.6948 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.517, allocations: 0 / 0.6948 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.5171, allocations: 4 kB / 0.6948 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5171, allocations: 0 / 0.6948 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5171, allocations: 7.938 kB / 0.6948 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.5171, allocations: 7.969 kB / 0.6948 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5171, allocations: 4 kB / 0.6948 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.5172, allocations: 147.5 kB / 0.6949 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.5172, allocations: 0 / 0.6949 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.5172, allocations: 8.453 kB / 0.6949 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.5173, allocations: 4 kB / 0.6949 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.5173, allocations: 3.984 kB / 0.695 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.5173, allocations: 4 kB / 0.695 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.995e-05/0.5174, allocations: 83.27 kB / 0.695 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5174, allocations: 0 / 0.695 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005166/0.5179, allocations: 147.5 kB / 0.6952 GB, free: 10.43 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.0007342/0.5186, allocations: 318.5 kB / 0.6955 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.5187, allocations: 27.92 kB / 0.6955 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5187, allocations: 0 / 0.6955 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.5188, allocations: 8 kB / 0.6955 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.519, allocations: 8 kB / 0.6955 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.5194, allocations: 173.7 kB / 0.6957 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.189e-05/0.5195, allocations: 71.53 kB / 0.6958 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.5195, allocations: 15.42 kB / 0.6958 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.5195, allocations: 0 / 0.6958 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of Templates: time 0.005774/0.5253, allocations: 2.959 MB / 0.6987 GB, free: 6.793 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] 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: 8.340228439774364]