Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001703/0.001703, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001859/0.001859, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.91 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1729/0.4869, allocations: 132.8 MB / 0.6915 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.4889, allocations: 1.297 MB / 0.6928 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.4889, allocations: 4 kB / 0.6928 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.4892, allocations: 43.75 kB / 0.6928 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.4921, allocations: 1.091 MB / 0.6939 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.207e-06/0.4921, allocations: 0 / 0.6939 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.4923, allocations: 63.66 kB / 0.6939 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.4924, allocations: 4 kB / 0.6939 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.4924, allocations: 23.91 kB / 0.694 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.4925, allocations: 35.84 kB / 0.694 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.4925, allocations: 4 kB / 0.694 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.4954, allocations: 1.657 MB / 0.6956 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.4954, allocations: 15.98 kB / 0.6956 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.4954, allocations: 19.88 kB / 0.6956 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.4968, allocations: 0.8845 MB / 0.6965 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4968, allocations: 0 / 0.6965 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4968, allocations: 0 / 0.6965 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.4968, allocations: 0 / 0.6965 GB, free: 9.746 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.0007333/0.4976, allocations: 448.4 kB / 0.6969 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4976, allocations: 12.02 kB / 0.6969 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.4976, allocations: 8.891 kB / 0.697 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.4978, allocations: 113.7 kB / 0.6971 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.4978, allocations: 4 kB / 0.6971 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.4978, allocations: 7.984 kB / 0.6971 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.498, allocations: 81.67 kB / 0.6972 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.498, allocations: 0 / 0.6972 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.498, allocations: 0 / 0.6972 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.498, allocations: 11.98 kB / 0.6972 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.4981, allocations: 67.91 kB / 0.6972 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.4986, allocations: 260.3 kB / 0.6975 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.4986, allocations: 42.61 kB / 0.6975 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.4987, allocations: 16.97 kB / 0.6975 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.4988, allocations: 31.98 kB / 0.6976 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4988, allocations: 34.5 kB / 0.6976 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.4988, allocations: 0 / 0.6976 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002664/0.4991, allocations: 69.61 kB / 0.6977 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.4991, allocations: 55.41 kB / 0.6977 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.678e-05/0.4992, allocations: 102.1 kB / 0.6978 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4993, allocations: 29.7 kB / 0.6978 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.4993, allocations: 96.03 kB / 0.6979 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.4993, allocations: 19.8 kB / 0.698 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.4994, allocations: 33.69 kB / 0.698 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.4996, allocations: 310.8 kB / 0.6983 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.4996, allocations: 19.98 kB / 0.6983 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.4997, allocations: 47.34 kB / 0.6983 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.365e-05/0.4998, allocations: 47.44 kB / 0.6984 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4998, allocations: 0 / 0.6984 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001613/0.4999, allocations: 81.55 kB / 0.6985 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4999, allocations: 8 kB / 0.6985 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4999, allocations: 3.938 kB / 0.6985 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5, allocations: 8.094 kB / 0.6985 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.5, allocations: 11.98 kB / 0.6985 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5, allocations: 4 kB / 0.6985 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.5001, allocations: 3.953 kB / 0.6985 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.5001, allocations: 4 kB / 0.6985 GB, free: 7.496 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 9.338e-05/0.5002, allocations: 121.7 kB / 0.6986 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.5002, allocations: 4 kB / 0.6986 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.5004, allocations: 81.3 kB / 0.6987 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5004, allocations: 4 kB / 0.6987 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5004, allocations: 0 / 0.6987 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.5004, allocations: 7.938 kB / 0.6987 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.5004, allocations: 0 / 0.6987 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.5005, allocations: 0 / 0.6987 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.5005, allocations: 4 kB / 0.6987 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001389/0.5006, allocations: 141.3 kB / 0.6989 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002084/0.5009, allocations: 242.8 kB / 0.6991 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.404e-05/0.5009, allocations: 15.98 kB / 0.6991 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000105/0.501, allocations: 83.28 kB / 0.6992 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of Backend: time 3.31e-07/0.501, allocations: 0 / 0.6992 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.5026, allocations: 0.5047 MB / 0.6997 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0006387/0.5032, allocations: 0.6187 MB / 0.7003 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of Templates: time 0.01233/0.5155, allocations: 6.919 MB / 0.707 GB, free: 14.68 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 5.432377839002584]